Java Doc for AssessmentFacadeQueries.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) 


org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries

AssessmentFacadeQueries
public class AssessmentFacadeQueries extends HibernateDaoSupport implements AssessmentFacadeQueriesAPI(Code)


Field Summary
final public static  StringLASTMODIFIEDDATE
    
final public static  StringTITLE
    

Constructor Summary
public  AssessmentFacadeQueries()
    

Method Summary
public  LongaddAssessment(Long assessmentTemplateId)
    
public  SectionFacadeaddSection(Long assessmentId)
    
public  LongaddTemplate()
    
public  booleanassessmentTitleIsUnique(Long assessmentBaseId, String title, Boolean isTemplate)
    
public  voidcheckForQuestionPoolItem(AssessmentData assessment, HashMap qpItemHash)
    
public  voidcheckForQuestionPoolItem(SectionData section, HashMap qpItemHash)
    
public  AssessmentDatacloneAssessmentFromTemplate(AssessmentTemplateData t)
    
public  voidcopyAllAssessments(String fromContext, String toContext)
    
public  AssessmentFacadecreateAssessment(String title, String description, Long typeId, Long templateId)
    
public  AssessmentAttachmentIfccreateAssessmentAttachment(AssessmentIfc assessment, String resourceId, String filename, String protocol)
    
public  AssessmentFacadecreateAssessmentWithoutDefaultSection(String title, String description, Long typeId, Long templateId)
     This method is the same as createAssessment() except that no default section will be created with the assessment.
public  AttachmentDatacreateEmailAttachment(String resourceId, String filename, String protocol)
    
public  ItemAttachmentIfccreateItemAttachment(ItemDataIfc item, String resourceId, String filename, String protocol)
    
public  SectionAttachmentIfccreateSectionAttachment(SectionDataIfc section, String resourceId, String filename, String protocol)
    
public  voiddeleteAllMetaData(AssessmentBaseIfc t)
    
public  voiddeleteAllSecuredIP(AssessmentIfc assessment)
    
public  voiddeleteTemplate(Long templateId)
    
public  ArrayListgetAllActiveAssessmentTemplates()
    
public  ArrayListgetAllActiveAssessments(String orderBy)
    
public  ListgetAllActiveAssessmentsByAgent(String siteAgentId)
    
public  ArrayListgetAllAssessmentTemplates()
    
public  ArrayListgetAllAssessments(String orderBy)
    
public  ArrayListgetAllAssessments(int pageSize, int pageNumber, String orderBy)
    
public  AssessmentFacadegetAssessment(Long assessmentId)
    
public  ListgetAssessmentByTemplate(Long templateId)
    
public  StringgetAssessmentCreatedBy(String assessmentId)
    
public  IdImplgetAssessmentId(String id)
    
public  IdImplgetAssessmentId(Long id)
    
public  IdImplgetAssessmentId(long id)
    
public  StringgetAssessmentSiteId(String assessmentId)
    
public  AssessmentTemplateFacadegetAssessmentTemplate(Long assessmentTemplateId)
    
public  IdImplgetAssessmentTemplateId(String id)
    
public  IdImplgetAssessmentTemplateId(Long id)
    
public  IdImplgetAssessmentTemplateId(long id)
    
public  ArrayListgetBasicInfoOfAllActiveAssessmentTemplates(String orderBy)
    
public  ArrayListgetBasicInfoOfAllActiveAssessments(String orderBy, boolean ascending)
    
public  ArrayListgetBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId, boolean ascending)
    
public  ArrayListgetBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId)
    
public  AssessmentFacadegetBasicInfoOfAnAssessment(Long assessmentId)
    
public  ListgetDefaultMetaDataSet()
    
public  IdImplgetId(String id)
    
public  IdImplgetId(Long id)
    
public  IdImplgetId(long id)
    
public  intgetQuestionSize(Long assessmentId)
    
public  StringgetRelativePath(String url, String protocol)
    
public  SectionFacadegetSection(Long sectionId)
    
public  ArrayListgetSettingsOfAllActiveAssessments(String orderBy)
    
public  ArrayListgetTitleOfAllActiveAssessmentTemplates()
     a list of AssessmentTemplateFacade.
public  AssessmentBaseDataload(Long id)
    
public  AssessmentDataloadAssessment(Long assessmentId)
    
public  SectionDataloadSection(Long sectionId)
    
public  AssessmentTemplateDataloadTemplate(Long assessmentTemplateId)
    
public static  voidmain(String[] args)
    
public  voidmoveAllItems(Long sourceSectionId, Long destSectionId)
    
public  SetprepareAnswerFeedbackSet(Answer newAnswer, Set answerFeedbackSet)
    
public  SetprepareAnswerSet(ItemText newItemText, Set answerSet)
    
public  AssessmentDataprepareAssessment(AssessmentData a, String protocol)
    
public  AssessmentAccessControlprepareAssessmentAccessControl(AssessmentData p, AssessmentAccessControl a)
    
public  SetprepareAssessmentAttachmentSet(AssessmentData newAssessment, Set assessmentAttachmentSet, String protocol)
    
public  AssessmentFeedbackprepareAssessmentFeedback(AssessmentData p, AssessmentFeedback a)
    
public  SetprepareAssessmentMetaDataSet(AssessmentData p, Set metaDataSet)
    
public  EvaluationModelprepareEvaluationModel(AssessmentData p, EvaluationModel e)
    
public  SetprepareItemAttachmentSet(ItemData newItem, Set itemAttachmentSet, String protocol)
    
public  SetprepareItemFeedbackSet(ItemData newItem, Set itemFeedbackSet)
    
public  SetprepareItemMetaDataSet(ItemData newItem, Set itemMetaDataSet)
    
public  SetprepareItemSet(SectionData newSection, Set itemSet, String protocol)
    
public  SetprepareItemTextSet(ItemData newItem, Set itemTextSet)
    
public  SetprepareSectionAttachmentSet(SectionData newSection, Set sectionAttachmentSet, String protocol)
    
public  SetprepareSectionMetaDataSet(SectionData newSection, Set metaDataSet)
    
public  SetprepareSectionSet(AssessmentData newAssessment, Set sectionSet, String protocol)
    
public  SetprepareSecuredIPSet(AssessmentData p, Set ipSet)
    
public static  voidprint(AssessmentBaseData a)
    
public static  voidprintFacade(AssessmentTemplateFacade a)
    
public  voidremoveAllItems(Long sourceSectionId)
    
public  voidremoveAssessment(Long assessmentId)
    
public  voidremoveAssessmentAttachment(Long assessmentAttachmentId)
    
public  voidremoveItemAttachment(Long itemAttachmentId)
    
public  voidremoveSection(Long sectionId)
    
public  voidremoveSectionAttachment(Long sectionAttachmentId)
    
public  voidremoveTemplate(Long assessmentId)
    
public  voidsaveOrUpdate(AssessmentFacade assessment)
    
public  voidsaveOrUpdate(AssessmentTemplateData template)
    
public  voidsaveOrUpdateAttachments(List list)
    
public  voidsaveOrUpdateSection(SectionFacade section)
    
public  voidupdateAssessmentLastModifiedInfo(AssessmentFacade assessmentFacade)
    

Field Detail
LASTMODIFIEDDATE
final public static String LASTMODIFIEDDATE(Code)



TITLE
final public static String TITLE(Code)




Constructor Detail
AssessmentFacadeQueries
public AssessmentFacadeQueries()(Code)




Method Detail
addAssessment
public Long addAssessment(Long assessmentTemplateId)(Code)



addSection
public SectionFacade addSection(Long assessmentId)(Code)



addTemplate
public Long addTemplate()(Code)



assessmentTitleIsUnique
public boolean assessmentTitleIsUnique(Long assessmentBaseId, String title, Boolean isTemplate)(Code)



checkForQuestionPoolItem
public void checkForQuestionPoolItem(AssessmentData assessment, HashMap qpItemHash)(Code)



checkForQuestionPoolItem
public void checkForQuestionPoolItem(SectionData section, HashMap qpItemHash)(Code)



cloneAssessmentFromTemplate
public AssessmentData cloneAssessmentFromTemplate(AssessmentTemplateData t)(Code)



copyAllAssessments
public void copyAllAssessments(String fromContext, String toContext)(Code)



createAssessment
public AssessmentFacade createAssessment(String title, String description, Long typeId, Long templateId) throws Exception(Code)



createAssessmentAttachment
public AssessmentAttachmentIfc createAssessmentAttachment(AssessmentIfc assessment, String resourceId, String filename, String protocol)(Code)



createAssessmentWithoutDefaultSection
public AssessmentFacade createAssessmentWithoutDefaultSection(String title, String description, Long typeId, Long templateId) throws Exception(Code)
This method is the same as createAssessment() except that no default section will be created with the assessment.



createEmailAttachment
public AttachmentData createEmailAttachment(String resourceId, String filename, String protocol)(Code)



createItemAttachment
public ItemAttachmentIfc createItemAttachment(ItemDataIfc item, String resourceId, String filename, String protocol)(Code)



createSectionAttachment
public SectionAttachmentIfc createSectionAttachment(SectionDataIfc section, String resourceId, String filename, String protocol)(Code)



deleteAllMetaData
public void deleteAllMetaData(AssessmentBaseIfc t)(Code)



deleteAllSecuredIP
public void deleteAllSecuredIP(AssessmentIfc assessment)(Code)



deleteTemplate
public void deleteTemplate(Long templateId)(Code)



getAllActiveAssessmentTemplates
public ArrayList getAllActiveAssessmentTemplates()(Code)



getAllActiveAssessments
public ArrayList getAllActiveAssessments(String orderBy)(Code)



getAllActiveAssessmentsByAgent
public List getAllActiveAssessmentsByAgent(String siteAgentId)(Code)



getAllAssessmentTemplates
public ArrayList getAllAssessmentTemplates()(Code)



getAllAssessments
public ArrayList getAllAssessments(String orderBy)(Code)



getAllAssessments
public ArrayList getAllAssessments(int pageSize, int pageNumber, String orderBy)(Code)



getAssessment
public AssessmentFacade getAssessment(Long assessmentId)(Code)



getAssessmentByTemplate
public List getAssessmentByTemplate(Long templateId)(Code)



getAssessmentCreatedBy
public String getAssessmentCreatedBy(String assessmentId)(Code)



getAssessmentId
public IdImpl getAssessmentId(String id)(Code)



getAssessmentId
public IdImpl getAssessmentId(Long id)(Code)



getAssessmentId
public IdImpl getAssessmentId(long id)(Code)



getAssessmentSiteId
public String getAssessmentSiteId(String assessmentId)(Code)



getAssessmentTemplate
public AssessmentTemplateFacade getAssessmentTemplate(Long assessmentTemplateId)(Code)



getAssessmentTemplateId
public IdImpl getAssessmentTemplateId(String id)(Code)



getAssessmentTemplateId
public IdImpl getAssessmentTemplateId(Long id)(Code)



getAssessmentTemplateId
public IdImpl getAssessmentTemplateId(long id)(Code)



getBasicInfoOfAllActiveAssessmentTemplates
public ArrayList getBasicInfoOfAllActiveAssessmentTemplates(String orderBy)(Code)



getBasicInfoOfAllActiveAssessments
public ArrayList getBasicInfoOfAllActiveAssessments(String orderBy, boolean ascending)(Code)



getBasicInfoOfAllActiveAssessmentsByAgent
public ArrayList getBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId, boolean ascending)(Code)



getBasicInfoOfAllActiveAssessmentsByAgent
public ArrayList getBasicInfoOfAllActiveAssessmentsByAgent(String orderBy, String siteAgentId)(Code)



getBasicInfoOfAnAssessment
public AssessmentFacade getBasicInfoOfAnAssessment(Long assessmentId)(Code)



getDefaultMetaDataSet
public List getDefaultMetaDataSet()(Code)



getId
public IdImpl getId(String id)(Code)



getId
public IdImpl getId(Long id)(Code)



getId
public IdImpl getId(long id)(Code)



getQuestionSize
public int getQuestionSize(Long assessmentId)(Code)



getRelativePath
public String getRelativePath(String url, String protocol)(Code)



getSection
public SectionFacade getSection(Long sectionId)(Code)



getSettingsOfAllActiveAssessments
public ArrayList getSettingsOfAllActiveAssessments(String orderBy)(Code)



getTitleOfAllActiveAssessmentTemplates
public ArrayList getTitleOfAllActiveAssessmentTemplates()(Code)
a list of AssessmentTemplateFacade. However, it is IMPORTANT tonote that it is not a full object, it contains merelyassessmentBaseId (which is the templateId) & title. This methodsis used when a list of template titles is required for displayingpurposes. In Sakai2.0, template are scoped by creator, i.e. userscan only see their own template plus the "Default Template"



load
public AssessmentBaseData load(Long id)(Code)



loadAssessment
public AssessmentData loadAssessment(Long assessmentId)(Code)



loadSection
public SectionData loadSection(Long sectionId)(Code)



loadTemplate
public AssessmentTemplateData loadTemplate(Long assessmentTemplateId)(Code)



main
public static void main(String[] args) throws DataFacadeException(Code)



moveAllItems
public void moveAllItems(Long sourceSectionId, Long destSectionId)(Code)
This method move a set of questions form one section to another
Parameters:
  sourceSectionId -
Parameters:
  destSectionId -



prepareAnswerFeedbackSet
public Set prepareAnswerFeedbackSet(Answer newAnswer, Set answerFeedbackSet)(Code)



prepareAnswerSet
public Set prepareAnswerSet(ItemText newItemText, Set answerSet)(Code)



prepareAssessment
public AssessmentData prepareAssessment(AssessmentData a, String protocol)(Code)



prepareAssessmentAccessControl
public AssessmentAccessControl prepareAssessmentAccessControl(AssessmentData p, AssessmentAccessControl a)(Code)



prepareAssessmentAttachmentSet
public Set prepareAssessmentAttachmentSet(AssessmentData newAssessment, Set assessmentAttachmentSet, String protocol)(Code)



prepareAssessmentFeedback
public AssessmentFeedback prepareAssessmentFeedback(AssessmentData p, AssessmentFeedback a)(Code)



prepareAssessmentMetaDataSet
public Set prepareAssessmentMetaDataSet(AssessmentData p, Set metaDataSet)(Code)



prepareEvaluationModel
public EvaluationModel prepareEvaluationModel(AssessmentData p, EvaluationModel e)(Code)



prepareItemAttachmentSet
public Set prepareItemAttachmentSet(ItemData newItem, Set itemAttachmentSet, String protocol)(Code)



prepareItemFeedbackSet
public Set prepareItemFeedbackSet(ItemData newItem, Set itemFeedbackSet)(Code)



prepareItemMetaDataSet
public Set prepareItemMetaDataSet(ItemData newItem, Set itemMetaDataSet)(Code)



prepareItemSet
public Set prepareItemSet(SectionData newSection, Set itemSet, String protocol)(Code)



prepareItemTextSet
public Set prepareItemTextSet(ItemData newItem, Set itemTextSet)(Code)



prepareSectionAttachmentSet
public Set prepareSectionAttachmentSet(SectionData newSection, Set sectionAttachmentSet, String protocol)(Code)



prepareSectionMetaDataSet
public Set prepareSectionMetaDataSet(SectionData newSection, Set metaDataSet)(Code)



prepareSectionSet
public Set prepareSectionSet(AssessmentData newAssessment, Set sectionSet, String protocol)(Code)



prepareSecuredIPSet
public Set prepareSecuredIPSet(AssessmentData p, Set ipSet)(Code)



print
public static void print(AssessmentBaseData a)(Code)



printFacade
public static void printFacade(AssessmentTemplateFacade a)(Code)



removeAllItems
public void removeAllItems(Long sourceSectionId)(Code)
This method remove a set of questions form one section that is random draw
Parameters:
  sourceSectionId -



removeAssessment
public void removeAssessment(Long assessmentId)(Code)



removeAssessmentAttachment
public void removeAssessmentAttachment(Long assessmentAttachmentId)(Code)



removeItemAttachment
public void removeItemAttachment(Long itemAttachmentId)(Code)



removeSection
public void removeSection(Long sectionId)(Code)



removeSectionAttachment
public void removeSectionAttachment(Long sectionAttachmentId)(Code)



removeTemplate
public void removeTemplate(Long assessmentId)(Code)



saveOrUpdate
public void saveOrUpdate(AssessmentFacade assessment)(Code)



saveOrUpdate
public void saveOrUpdate(AssessmentTemplateData template)(Code)



saveOrUpdateAttachments
public void saveOrUpdateAttachments(List list)(Code)



saveOrUpdateSection
public void saveOrUpdateSection(SectionFacade section)(Code)



updateAssessmentLastModifiedInfo
public void updateAssessmentLastModifiedInfo(AssessmentFacade assessmentFacade)(Code)



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