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

PublishedAssessmentFacadeQueries
public class PublishedAssessmentFacadeQueries extends HibernateDaoSupport implements PublishedAssessmentFacadeQueriesAPI(Code)

Inner Class :class SecComparator implements Comparator
Inner Class :class ItemComparator implements Comparator

Field Summary
final public static  StringDUE
    
final public static  StringDUEDATE
    
final public static  StringGRADE
    
final public static  StringPUB_DUEDATE
    
final public static  StringPUB_RELEASETO
    
final public static  StringPUB_STARTDATE
    
final public static  StringRAW
    
final public static  StringRELEASETO
    
final public static  StringRETRACTDATE
    
final public static  StringSTARTDATE
    
final public static  StringSUBMITTED
    
final public static  StringTIME
    
final public static  StringTITLE
    

Constructor Summary
public  PublishedAssessmentFacadeQueries()
    

Method Summary
public  voidcreateAuthorization(PublishedAssessmentData p)
    
public  voiddelete(PublishedAssessmentIfc assessment)
    
public  HashMapgetAllAssessmentsReleasedToAuthenticatedUsers()
     this return a HashMap containing (Long publishedAssessmentId, PublishedAssessmentFacade publishedAssessment) Note that the publishedAssessment is a partial object used for display only.
public  ArrayListgetAllPublishedAssessments(String sortString)
    
public  ArrayListgetAllPublishedAssessments(String sortString, Integer status)
    
public  ArrayListgetAllPublishedAssessments(int pageSize, int pageNumber, String sortString, Integer status)
    
public  ArrayListgetAllTakeableAssessments(String orderBy, boolean ascending, Integer status)
    
public  IdImplgetAssessmentId(String id)
    
public  IdImplgetAssessmentId(Long id)
    
public  IdImplgetAssessmentId(long id)
    
public  IdImplgetAssessmentTemplateId(String id)
    
public  IdImplgetAssessmentTemplateId(Long id)
    
public  IdImplgetAssessmentTemplateId(long id)
    
public  ArrayListgetBasicInfoOfAllActivePublishedAssessments(String sortString, String siteAgentId, boolean ascending)
    
public  ArrayListgetBasicInfoOfAllInActivePublishedAssessments(String sortString, String siteAgentId, boolean ascending)
    
public  ArrayListgetBasicInfoOfAllPublishedAssessments(String orderBy, boolean ascending, Integer status, String siteId)
    
public  ArrayListgetBasicInfoOfLastOrHighestSubmittedAssessmentsByScoringOption(String agentId, String siteId)
     return an array list of the AssessmentGradingFacade that a user has submitted for grade.
public  ArrayListgetBasicInfoOfLastSubmittedAssessments(String agentId, String orderBy, boolean ascending)
     return an array list of the last AssessmentGradingFacade per assessment that a user has submitted for grade.
public  PublishedAssessmentDatagetBasicInfoOfPublishedAssessment(Long publishedId)
    
public  HashMapgetFeedbackHash()
    
public  PublishedItemDatagetFirstPublishedItem(Long publishedAssessmentId)
    
public  IdImplgetId(String id)
    
public  IdImplgetId(Long id)
    
public  IdImplgetId(long id)
    
public  LonggetItemType(Long publishedItemId)
    
public  IntegergetNumberOfSubmissions(String publishedAssessmentId, String agentId)
    
public  ListgetNumberOfSubmissionsOfAllAssessmentsByAgent(String agentId)
    
public  ListgetNumberOfSubmissionsOfAllAssessmentsByAgent(String agentId, String siteId)
    
public  PublishedAssessmentFacadegetPublishedAssessment(Long assessmentId)
    
public  LonggetPublishedAssessmentId(Long assessmentId)
    
public  PublishedAssessmentFacadegetPublishedAssessmentIdByAlias(String alias)
    
public  PublishedAssessmentFacadegetPublishedAssessmentIdByMetaLabel(String label, String entry)
    
public  StringgetPublishedAssessmentOwner(String publishedAssessmentId)
    
public  StringgetPublishedAssessmentSiteId(String publishedAssessmentId)
    
public  ListgetPublishedItemIds(Long publishedAssessmentId)
    
public  HashSetgetPublishedItemSet(Long publishedAssessmentId, Long sectionId)
    
public  StringgetRelativePath(String url, String protocol)
    
public  HashSetgetSectionSetForAssessment(PublishedAssessmentIfc assessment)
     return a set of PublishedSectionData IMPORTANT: 1.
public  HashSetgetSectionSetForAssessment(Long publishedAssessmentId)
    
public  PublishedAssessmentFacadegetSettingsOfPublishedAssessment(Long assessmentId)
    
public  IntegergetTotalSubmission(String agentId, Long publishedAssessmentId)
    
public  HashMapgetTotalSubmissionPerAssessment(String agentId)
    
public  HashMapgetTotalSubmissionPerAssessment(String agentId, String siteId)
    
public  booleanhasRandomPart(Long publishedAssessmentId)
    
public  booleanisRandomDrawPart(Long publishedAssessmentId, Long sectionId)
    
public  AssessmentDataloadAssessment(Long assessmentId)
    
public  PublishedAssessmentDataloadPublishedAssessment(Long assessmentId)
    
public  PublishedItemDataloadPublishedItem(Long itemId)
    
public  PublishedItemTextloadPublishedItemText(Long itemTextId)
    
public  PublishedAccessControlpreparePublishedAccessControl(PublishedAssessmentData p, AssessmentAccessControl a)
    
public  SetpreparePublishedAnswerFeedbackSet(PublishedAnswer publishedAnswer, Set answerFeedbackSet)
    
public  SetpreparePublishedAnswerSet(PublishedItemText publishedItemText, Set answerSet)
    
public  PublishedAssessmentDatapreparePublishedAssessment(AssessmentData a)
    
public  SetpreparePublishedAssessmentAttachmentSet(PublishedAssessmentData publishedAssessment, Set assessmentAttachmentSet, String protocol)
    
public  PublishedEvaluationModelpreparePublishedEvaluationModel(PublishedAssessmentData p, EvaluationModel e)
    
public  PublishedFeedbackpreparePublishedFeedback(PublishedAssessmentData p, AssessmentFeedback a)
    
public  SetpreparePublishedItemAttachmentSet(PublishedItemData publishedItem, Set itemAttachmentSet, String protocol)
    
public  SetpreparePublishedItemFeedbackSet(PublishedItemData publishedItem, Set itemFeedbackSet)
    
public  SetpreparePublishedItemMetaDataSet(PublishedItemData publishedItem, Set itemMetaDataSet)
    
public  SetpreparePublishedItemSet(PublishedSectionData publishedSection, Set itemSet, String protocol)
    
public  SetpreparePublishedItemTextSet(PublishedItemData publishedItem, Set itemTextSet)
    
public  SetpreparePublishedMetaDataSet(PublishedAssessmentData p, Set metaDataSet)
    
public  SetpreparePublishedSectionAttachmentSet(PublishedSectionData publishedSection, Set sectionAttachmentSet, String protocol)
    
public  SetpreparePublishedSectionMetaDataSet(PublishedSectionData publishedSection, Set metaDataSet)
    
public  SetpreparePublishedSectionSet(PublishedAssessmentData publishedAssessment, Set sectionSet, String protocol)
    
public  SetpreparePublishedSecuredIPSet(PublishedAssessmentData p, Set ipSet)
    
public  PublishedAssessmentFacadepublishAssessment(AssessmentFacade assessment)
    
public  PublishedAssessmentFacadepublishPreviewAssessment(AssessmentFacade assessment)
    
public  booleanpublishedAssessmentTitleIsUnique(Long assessmentBaseId, String title)
    
public  voidremoveAssessment(Long assessmentId)
    
public  voidsaveOrUpdate(PublishedAssessmentIfc assessment)
    
public  voidsaveOrUpdateMetaData(PublishedMetaData meta)
    

Field Detail
DUE
final public static String DUE(Code)



DUEDATE
final public static String DUEDATE(Code)



GRADE
final public static String GRADE(Code)



PUB_DUEDATE
final public static String PUB_DUEDATE(Code)



PUB_RELEASETO
final public static String PUB_RELEASETO(Code)



PUB_STARTDATE
final public static String PUB_STARTDATE(Code)



RAW
final public static String RAW(Code)



RELEASETO
final public static String RELEASETO(Code)



RETRACTDATE
final public static String RETRACTDATE(Code)



STARTDATE
final public static String STARTDATE(Code)



SUBMITTED
final public static String SUBMITTED(Code)



TIME
final public static String TIME(Code)



TITLE
final public static String TITLE(Code)




Constructor Detail
PublishedAssessmentFacadeQueries
public PublishedAssessmentFacadeQueries()(Code)




Method Detail
createAuthorization
public void createAuthorization(PublishedAssessmentData p)(Code)



delete
public void delete(PublishedAssessmentIfc assessment)(Code)



getAllAssessmentsReleasedToAuthenticatedUsers
public HashMap getAllAssessmentsReleasedToAuthenticatedUsers()(Code)
this return a HashMap containing (Long publishedAssessmentId, PublishedAssessmentFacade publishedAssessment) Note that the publishedAssessment is a partial object used for display only. do not use it for persisting. It only contains title, releaseTo, startDate, dueDate & retractDate



getAllPublishedAssessments
public ArrayList getAllPublishedAssessments(String sortString)(Code)



getAllPublishedAssessments
public ArrayList getAllPublishedAssessments(String sortString, Integer status)(Code)



getAllPublishedAssessments
public ArrayList getAllPublishedAssessments(int pageSize, int pageNumber, String sortString, Integer status)(Code)



getAllTakeableAssessments
public ArrayList getAllTakeableAssessments(String orderBy, boolean ascending, Integer status)(Code)



getAssessmentId
public IdImpl getAssessmentId(String id)(Code)



getAssessmentId
public IdImpl getAssessmentId(Long id)(Code)



getAssessmentId
public IdImpl getAssessmentId(long id)(Code)



getAssessmentTemplateId
public IdImpl getAssessmentTemplateId(String id)(Code)



getAssessmentTemplateId
public IdImpl getAssessmentTemplateId(Long id)(Code)



getAssessmentTemplateId
public IdImpl getAssessmentTemplateId(long id)(Code)



getBasicInfoOfAllActivePublishedAssessments
public ArrayList getBasicInfoOfAllActivePublishedAssessments(String sortString, String siteAgentId, boolean ascending)(Code)



getBasicInfoOfAllInActivePublishedAssessments
public ArrayList getBasicInfoOfAllInActivePublishedAssessments(String sortString, String siteAgentId, boolean ascending)(Code)
According to Marc inactive means either the dueDate or the retractDate has passed for 1.5 release (IM on 12/17/04)
Parameters:
  sortString -



getBasicInfoOfAllPublishedAssessments
public ArrayList getBasicInfoOfAllPublishedAssessments(String orderBy, boolean ascending, Integer status, String siteId)(Code)



getBasicInfoOfLastOrHighestSubmittedAssessmentsByScoringOption
public ArrayList getBasicInfoOfLastOrHighestSubmittedAssessmentsByScoringOption(String agentId, String siteId)(Code)
return an array list of the AssessmentGradingFacade that a user has submitted for grade. one per published assessment. If an assessment allows multiple submissions and its grading option is to send highest, then return only the submission with highest finalScore. If an assessment allows multiple submissions and its grading option is to send last, then return only the last submission.
Parameters:
  agentId -
Parameters:
  siteId -



getBasicInfoOfLastSubmittedAssessments
public ArrayList getBasicInfoOfLastSubmittedAssessments(String agentId, String orderBy, boolean ascending)(Code)
return an array list of the last AssessmentGradingFacade per assessment that a user has submitted for grade.
Parameters:
  agentId -
Parameters:
  orderBy -
Parameters:
  ascending -



getBasicInfoOfPublishedAssessment
public PublishedAssessmentData getBasicInfoOfPublishedAssessment(Long publishedId)(Code)



getFeedbackHash
public HashMap getFeedbackHash()(Code)



getFirstPublishedItem
public PublishedItemData getFirstPublishedItem(Long publishedAssessmentId)(Code)



getId
public IdImpl getId(String id)(Code)



getId
public IdImpl getId(Long id)(Code)



getId
public IdImpl getId(long id)(Code)



getItemType
public Long getItemType(Long publishedItemId)(Code)



getNumberOfSubmissions
public Integer getNumberOfSubmissions(String publishedAssessmentId, String agentId)(Code)



getNumberOfSubmissionsOfAllAssessmentsByAgent
public List getNumberOfSubmissionsOfAllAssessmentsByAgent(String agentId)(Code)



getNumberOfSubmissionsOfAllAssessmentsByAgent
public List getNumberOfSubmissionsOfAllAssessmentsByAgent(String agentId, String siteId)(Code)



getPublishedAssessment
public PublishedAssessmentFacade getPublishedAssessment(Long assessmentId)(Code)



getPublishedAssessmentId
public Long getPublishedAssessmentId(Long assessmentId)(Code)



getPublishedAssessmentIdByAlias
public PublishedAssessmentFacade getPublishedAssessmentIdByAlias(String alias)(Code)



getPublishedAssessmentIdByMetaLabel
public PublishedAssessmentFacade getPublishedAssessmentIdByMetaLabel(String label, String entry)(Code)



getPublishedAssessmentOwner
public String getPublishedAssessmentOwner(String publishedAssessmentId)(Code)



getPublishedAssessmentSiteId
public String getPublishedAssessmentSiteId(String publishedAssessmentId)(Code)



getPublishedItemIds
public List getPublishedItemIds(Long publishedAssessmentId)(Code)



getPublishedItemSet
public HashSet getPublishedItemSet(Long publishedAssessmentId, Long sectionId)(Code)



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



getSectionSetForAssessment
public HashSet getSectionSetForAssessment(PublishedAssessmentIfc assessment)(Code)
return a set of PublishedSectionData IMPORTANT: 1. we have declared SectionData as lazy loading, so we need to initialize it using getHibernateTemplate().initialize(java.lang.Object). Unfortunately, we are using Spring 1.0.2 which does not support this Hibernate feature. I tried upgrading Spring to 1.1.3. Then it failed to load all the OR maps correctly. So for now, I am just going to initialize it myself. I will take a look at it again next year. - daisyf (12/13/04)



getSectionSetForAssessment
public HashSet getSectionSetForAssessment(Long publishedAssessmentId)(Code)



getSettingsOfPublishedAssessment
public PublishedAssessmentFacade getSettingsOfPublishedAssessment(Long assessmentId)(Code)



getTotalSubmission
public Integer getTotalSubmission(String agentId, Long publishedAssessmentId)(Code)



getTotalSubmissionPerAssessment
public HashMap getTotalSubmissionPerAssessment(String agentId)(Code)
total submitted for grade returns HashMap (Long publishedAssessmentId, Integer totalSubmittedForGrade);



getTotalSubmissionPerAssessment
public HashMap getTotalSubmissionPerAssessment(String agentId, String siteId)(Code)



hasRandomPart
public boolean hasRandomPart(Long publishedAssessmentId)(Code)



isRandomDrawPart
public boolean isRandomDrawPart(Long publishedAssessmentId, Long sectionId)(Code)



loadAssessment
public AssessmentData loadAssessment(Long assessmentId)(Code)



loadPublishedAssessment
public PublishedAssessmentData loadPublishedAssessment(Long assessmentId)(Code)



loadPublishedItem
public PublishedItemData loadPublishedItem(Long itemId)(Code)



loadPublishedItemText
public PublishedItemText loadPublishedItemText(Long itemTextId)(Code)



preparePublishedAccessControl
public PublishedAccessControl preparePublishedAccessControl(PublishedAssessmentData p, AssessmentAccessControl a)(Code)



preparePublishedAnswerFeedbackSet
public Set preparePublishedAnswerFeedbackSet(PublishedAnswer publishedAnswer, Set answerFeedbackSet)(Code)



preparePublishedAnswerSet
public Set preparePublishedAnswerSet(PublishedItemText publishedItemText, Set answerSet)(Code)



preparePublishedAssessment
public PublishedAssessmentData preparePublishedAssessment(AssessmentData a)(Code)



preparePublishedAssessmentAttachmentSet
public Set preparePublishedAssessmentAttachmentSet(PublishedAssessmentData publishedAssessment, Set assessmentAttachmentSet, String protocol)(Code)



preparePublishedEvaluationModel
public PublishedEvaluationModel preparePublishedEvaluationModel(PublishedAssessmentData p, EvaluationModel e)(Code)



preparePublishedFeedback
public PublishedFeedback preparePublishedFeedback(PublishedAssessmentData p, AssessmentFeedback a)(Code)



preparePublishedItemAttachmentSet
public Set preparePublishedItemAttachmentSet(PublishedItemData publishedItem, Set itemAttachmentSet, String protocol)(Code)



preparePublishedItemFeedbackSet
public Set preparePublishedItemFeedbackSet(PublishedItemData publishedItem, Set itemFeedbackSet)(Code)



preparePublishedItemMetaDataSet
public Set preparePublishedItemMetaDataSet(PublishedItemData publishedItem, Set itemMetaDataSet)(Code)



preparePublishedItemSet
public Set preparePublishedItemSet(PublishedSectionData publishedSection, Set itemSet, String protocol)(Code)



preparePublishedItemTextSet
public Set preparePublishedItemTextSet(PublishedItemData publishedItem, Set itemTextSet)(Code)



preparePublishedMetaDataSet
public Set preparePublishedMetaDataSet(PublishedAssessmentData p, Set metaDataSet)(Code)



preparePublishedSectionAttachmentSet
public Set preparePublishedSectionAttachmentSet(PublishedSectionData publishedSection, Set sectionAttachmentSet, String protocol)(Code)



preparePublishedSectionMetaDataSet
public Set preparePublishedSectionMetaDataSet(PublishedSectionData publishedSection, Set metaDataSet)(Code)



preparePublishedSectionSet
public Set preparePublishedSectionSet(PublishedAssessmentData publishedAssessment, Set sectionSet, String protocol)(Code)



preparePublishedSecuredIPSet
public Set preparePublishedSecuredIPSet(PublishedAssessmentData p, Set ipSet)(Code)



publishAssessment
public PublishedAssessmentFacade publishAssessment(AssessmentFacade assessment) throws Exception(Code)



publishPreviewAssessment
public PublishedAssessmentFacade publishPreviewAssessment(AssessmentFacade assessment)(Code)



publishedAssessmentTitleIsUnique
public boolean publishedAssessmentTitleIsUnique(Long assessmentBaseId, String title)(Code)



removeAssessment
public void removeAssessment(Long assessmentId)(Code)



saveOrUpdate
public void saveOrUpdate(PublishedAssessmentIfc assessment) throws Exception(Code)



saveOrUpdateMetaData
public void saveOrUpdateMetaData(PublishedMetaData meta)(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.