Java Doc for SectionFacade.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » facade » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.tool.assessment.facade 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.tool.assessment.facade.SectionFacade

SectionFacade
public class SectionFacade implements Serializable,SectionDataIfc,Comparable(Code)



Constructor Summary
public  SectionFacade()
     SectionFacade is the class that is exposed to developer It contains some of the useful methods specified in org.osid.assessment.Section and it implements org.sakaiproject.tool.assessment.ifc.
public  SectionFacade(SectionDataIfc data)
     This is a very important constructor.

Method Summary
public  voidaddItem(ItemFacade itemFacade)
    
public  voidaddItem(ItemDataIfc itemDataIfc)
    
public  voidaddSectionMetaData(String label, String entry)
    
public  intcompareTo(Object o)
    
public  AssessmentIfcgetAssessment()
    
public  LonggetAssessmentId()
    
public  StringgetCreatedBy()
     Get createdBy for SectionFacade.
public  DategetCreatedDate()
     Get the creation date of SectionFacade.
public  SectionDataIfcgetData()
     Get the data for this SectionFacade.
public  StringgetDescription()
    
public  IntegergetDuration()
    
 org.osid.shared.IdgetId()
     Get the Id for this SectionFacade.
public  ArrayListgetItemArray()
    
public  ArrayListgetItemArraySorted()
    
public  ArrayListgetItemArraySortedForGrading()
    
public  ArrayListgetItemArraySortedWithRandom(long seed)
    
public  SetgetItemFacadeSet()
    
public  SetgetItemSet()
    
public  StringgetLastModifiedBy()
    
public  DategetLastModifiedDate()
    
public  ListgetSectionAttachmentList()
    
public  SetgetSectionAttachmentSet()
    
public  LonggetSectionId()
    
public  StringgetSectionMetaDataByLabel(String label)
    
public  HashMapgetSectionMetaDataMap(Set metaDataSet)
    
public  SetgetSectionMetaDataSet()
    
 TypegetSectionType()
     Get the Type for this SectionFacade.
public  TypeFacadegetSectionTypeFacade()
    
public  IntegergetSequence()
    
public  IntegergetStatus()
     Get status of SectionFacade.
public  StringgetTitle()
    
public  TypeIfcgetType()
    
public  LonggetTypeId()
    
public  voidsetAssessment(AssessmentIfc assessment)
    
public  voidsetAssessmentId(Long assessmentId)
    
public  voidsetCreatedBy(String createdBy)
     Set createdBy for SectionFacade.
public  voidsetCreatedDate(Date createdDate)
    
public  voidsetData(SectionDataIfc data)
    
public  voidsetDescription(String description)
    
public  voidsetDuration(Integer duration)
    
public  voidsetItemSet(Set itemSet)
    
public  voidsetLastModifiedBy(String lastModifiedBy)
    
public  voidsetLastModifiedDate(Date lastModifiedDate)
    
public  voidsetSectionAttachmentSet(Set sectionAttachmentSet)
    
public  voidsetSectionId(Long sectionId)
    
public  voidsetSectionMetaDataSet(Set metaDataSet)
    
public  voidsetSequence(Integer sequence)
    
public  voidsetStatus(Integer status)
     Set status for SectionFacade.
public  voidsetTitle(String title)
     Set instruction for SectionFacade e.g.
public  voidsetTypeId(Long typeId)
     Set TypeId for SectionType.
public  voidupdateData(SectionDataIfc data)
    


Constructor Detail
SectionFacade
public SectionFacade()(Code)
SectionFacade is the class that is exposed to developer It contains some of the useful methods specified in org.osid.assessment.Section and it implements org.sakaiproject.tool.assessment.ifc. When new methods is added to osid api, this code is still workable. If signature in any of the osid methods that we mirrored changes, we only need to modify those particular methods. - daisyf



SectionFacade
public SectionFacade(SectionDataIfc data)(Code)
This is a very important constructor. Please make sure that you have set all the properties (declared above as private) of SectionFacade using the "data" supplied. "data" is a org.osid.assessment.Section properties and I use it to store info about an section.
Parameters:
  data -




Method Detail
addItem
public void addItem(ItemFacade itemFacade)(Code)



addItem
public void addItem(ItemDataIfc itemDataIfc)(Code)



addSectionMetaData
public void addSectionMetaData(String label, String entry)(Code)
Add a Meta Data to SectionFacade
Parameters:
  label -
Parameters:
  entry -



compareTo
public int compareTo(Object o)(Code)



getAssessment
public AssessmentIfc getAssessment() throws DataFacadeException(Code)



getAssessmentId
public Long getAssessmentId() throws DataFacadeException(Code)



getCreatedBy
public String getCreatedBy() throws DataFacadeException(Code)
Get createdBy for SectionFacade. This represents the agentId of the person who created the record
throws:
  DataFacadeException -



getCreatedDate
public Date getCreatedDate() throws DataFacadeException(Code)
Get the creation date of SectionFacade.
throws:
  DataFacadeException -



getData
public SectionDataIfc getData()(Code)
Get the data for this SectionFacade. SectionDataIfc



getDescription
public String getDescription() throws DataFacadeException(Code)



getDuration
public Integer getDuration() throws DataFacadeException(Code)



getId
org.osid.shared.Id getId()(Code)
Get the Id for this SectionFacade. org.osid.shared.Id



getItemArray
public ArrayList getItemArray()(Code)



getItemArraySorted
public ArrayList getItemArraySorted()(Code)



getItemArraySortedForGrading
public ArrayList getItemArraySortedForGrading()(Code)



getItemArraySortedWithRandom
public ArrayList getItemArraySortedWithRandom(long seed)(Code)



getItemFacadeSet
public Set getItemFacadeSet() throws DataFacadeException(Code)
Get section text set (question text set) from SectionFacade.data
throws:
  DataFacadeException -



getItemSet
public Set getItemSet() throws DataFacadeException(Code)



getLastModifiedBy
public String getLastModifiedBy() throws DataFacadeException(Code)
Get the agentId of the person who last modified SectionFacade
throws:
  DataFacadeException -



getLastModifiedDate
public Date getLastModifiedDate() throws DataFacadeException(Code)
Get the date when SectionFacade where last modified By
throws:
  DataFacadeException -



getSectionAttachmentList
public List getSectionAttachmentList()(Code)



getSectionAttachmentSet
public Set getSectionAttachmentSet() throws DataFacadeException(Code)



getSectionId
public Long getSectionId() throws DataFacadeException(Code)



getSectionMetaDataByLabel
public String getSectionMetaDataByLabel(String label)(Code)



getSectionMetaDataMap
public HashMap getSectionMetaDataMap(Set metaDataSet)(Code)



getSectionMetaDataSet
public Set getSectionMetaDataSet() throws DataFacadeException(Code)



getSectionType
Type getSectionType()(Code)
Get the Type for this SectionFacade. org.osid.shared.Type



getSectionTypeFacade
public TypeFacade getSectionTypeFacade()(Code)



getSequence
public Integer getSequence() throws DataFacadeException(Code)



getStatus
public Integer getStatus() throws DataFacadeException(Code)
Get status of SectionFacade. 1 = active, 0 = inactive
throws:
  DataFacadeException -



getTitle
public String getTitle() throws DataFacadeException(Code)



getType
public TypeIfc getType()(Code)



getTypeId
public Long getTypeId() throws DataFacadeException(Code)



setAssessment
public void setAssessment(AssessmentIfc assessment)(Code)



setAssessmentId
public void setAssessmentId(Long assessmentId)(Code)
Set sectionId for SectionFacade
Parameters:
  sectionId -



setCreatedBy
public void setCreatedBy(String createdBy)(Code)
Set createdBy for SectionFacade. This represents the agentId of the person who created the record
Parameters:
  createdBy -



setCreatedDate
public void setCreatedDate(Date createdDate)(Code)
Set the creation date of SectionFacade
Parameters:
  createdDate -



setData
public void setData(SectionDataIfc data)(Code)
Set data for SectionFacade
Parameters:
  data -



setDescription
public void setDescription(String description)(Code)
Set description for SectionFacade
Parameters:
  description -



setDuration
public void setDuration(Integer duration)(Code)
Set duration for SectionFacade
Parameters:
  duration -



setItemSet
public void setItemSet(Set itemSet)(Code)
Set section text (question text) in SectionFacade.data
Parameters:
  sectionTextSet -



setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)(Code)
set the agentId of the person who last modified sectionFacade
Parameters:
  lastModifiedBy -



setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)(Code)
Set the last modified date
Parameters:
  lastModifiedBy -



setSectionAttachmentSet
public void setSectionAttachmentSet(Set sectionAttachmentSet)(Code)



setSectionId
public void setSectionId(Long sectionId)(Code)
Set sectionId for SectionFacade
Parameters:
  sectionId -



setSectionMetaDataSet
public void setSectionMetaDataSet(Set metaDataSet)(Code)
Set section metadata in SectionFacade.data
Parameters:
  metaDataSet -



setSequence
public void setSequence(Integer sequence)(Code)



setStatus
public void setStatus(Integer status)(Code)
Set status for SectionFacade. 1 = active, 0 = inactive
Parameters:
  status -



setTitle
public void setTitle(String title)(Code)
Set instruction for SectionFacade e.g. "Match the following sentences", "In the score between 1-5, specify your preference"
Parameters:
  instruction -



setTypeId
public void setTypeId(Long typeId)(Code)
Set TypeId for SectionType. This property is used to indicate question type. e.g. 1 = Multiple Choice, 2 = Multiple Correct. Please check out ddl/02_TypeData.sql and table "type".
Parameters:
  typeId -



updateData
public void updateData(SectionDataIfc data)(Code)
Call setDate() to update data in SectionFacade
Parameters:
  data -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.