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

All known Subclasses:   org.sakaiproject.tool.assessment.facade.QuestionPoolFacadeQueries,
QuestionPoolFacadeQueriesAPI
public interface QuestionPoolFacadeQueriesAPI (Code)




Method Summary
public  Longadd()
    
public  voidaddItemToPool(QuestionPoolItemData qpi)
    
public  voidaddItemsToSection(Collection ids, long sectionId)
    
public  LongcopyItemFacade(ItemDataIfc itemData)
    
public  voidcopyPool(Tree tree, String agentId, Long sourceId, Long destId, String prependString1, String prependString2)
     Copy a pool to a new location.
public  voiddeletePool(Long poolId, String agent, Tree tree)
    
public  ListgetAllItemFacades(Long questionPoolId)
    
public  ListgetAllItemFacadesOrderByItemText(Long questionPoolId, String orderBy, String ascending)
    
public  ListgetAllItemFacadesOrderByItemType(Long questionPoolId, String orderBy, String ascending)
    
public  ListgetAllItems(Long questionPoolId)
    
public  ListgetAllPools()
     Get a list of all the pools in the site.
public  QuestionPoolIteratorFacadegetAllPools(String agentId)
     Get all the pools that the agent has access to.
public  ArrayListgetBasicInfoOfAllPools(String agentId)
    
public  ItemFacadegetItem(String id)
    
public  QuestionPoolFacadegetPool(Long poolId, String agent)
     Get a pool based on poolId.
public  QuestionPoolFacadegetPoolById(Long questionPoolId)
    
public  ListgetPoolIdsByAgent(String agentId)
    
public  ListgetPoolIdsByItem(String itemId)
    
public  QuestionPoolAccessDatagetQuestionPoolAccessData(Long poolId, String agentId)
    
public  IdImplgetQuestionPoolId(String id)
    
public  IdImplgetQuestionPoolId(Long id)
    
public  IdImplgetQuestionPoolId(long id)
    
public  HashMapgetQuestionPoolItemMap()
    
public  intgetSubPoolSize(Long poolId)
    
public  ListgetSubPools(Long poolId)
     Get all the children pools of a pool.
public  booleanhasSubPools(Long poolId)
    
public  booleanisDescendantOf(QuestionPoolFacade destPool, QuestionPoolFacade sourcePool)
    
public  voidmoveItemToPool(String itemId, Long sourceId, Long destId)
    
public  voidmovePool(String agentId, Long sourcePoolId, Long destPoolId)
     Move pool under another pool.
public  booleanpoolIsUnique(Long questionPoolId, String title, Long parentPoolId, String agentId)
    
public  voidremoveItemFromPool(String itemId, Long poolId)
    
public  QuestionPoolFacadesavePool(QuestionPoolFacade pool)
    
public  voidsetPoolAccessType(QuestionPoolData qpp, String agentId)
    



Method Detail
add
public Long add()(Code)



addItemToPool
public void addItemToPool(QuestionPoolItemData qpi)(Code)
add a question to a pool
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



addItemsToSection
public void addItemsToSection(Collection ids, long sectionId)(Code)
DOCUMENTATION PENDING
Parameters:
  ids - DOCUMENTATION PENDING
Parameters:
  sectionId - DOCUMENTATION PENDING



copyItemFacade
public Long copyItemFacade(ItemDataIfc itemData)(Code)



copyPool
public void copyPool(Tree tree, String agentId, Long sourceId, Long destId, String prependString1, String prependString2)(Code)
Copy a pool to a new location.



deletePool
public void deletePool(Long poolId, String agent, Tree tree)(Code)
Delete pool and questions attached to it plus any subpool under it
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



getAllItemFacades
public List getAllItemFacades(Long questionPoolId)(Code)



getAllItemFacadesOrderByItemText
public List getAllItemFacadesOrderByItemText(Long questionPoolId, String orderBy, String ascending)(Code)



getAllItemFacadesOrderByItemType
public List getAllItemFacadesOrderByItemType(Long questionPoolId, String orderBy, String ascending)(Code)



getAllItems
public List getAllItems(Long questionPoolId)(Code)



getAllPools
public List getAllPools()(Code)
Get a list of all the pools in the site. Note that questions in each pool will not be populated. We must keep this list updated.



getAllPools
public QuestionPoolIteratorFacade getAllPools(String agentId)(Code)
Get all the pools that the agent has access to. The easiest way seems to be #1. get all the existing pool #2. get all the QuestionPoolAccessData record of the agent #3. go through the existing pools and check it against the QuestionPoolAccessData (qpa) record to see if the agent is granted access to it. qpa record (if exists) always trumps the default access right set up for a pool e.g. if the defaultAccessType for a pool is ACCESS_DENIED but the qpa record say ADMIN, then access=ADMIN e.g. if the defaultAccessType for a pool is ADMIN but the qpa record say ACCESS_DENIED, then access=ACCESS_DENIED e.g. if no qpa record exists, then access rule will follow the defaultAccessType set by the pool



getBasicInfoOfAllPools
public ArrayList getBasicInfoOfAllPools(String agentId)(Code)



getItem
public ItemFacade getItem(String id)(Code)
This method returns an ItemFacade that we can use to construct our ItemImpl



getPool
public QuestionPoolFacade getPool(Long poolId, String agent)(Code)
Get a pool based on poolId. I am not sure why agent is not used though is being parsed.
Parameters:
  poolid - DOCUMENTATION PENDING
Parameters:
  agent - DOCUMENTATION PENDING DOCUMENTATION PENDING



getPoolById
public QuestionPoolFacade getPoolById(Long questionPoolId)(Code)



getPoolIdsByAgent
public List getPoolIdsByAgent(String agentId)(Code)
Return a list of questionPoolId (java.lang.Long)
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



getPoolIdsByItem
public List getPoolIdsByItem(String itemId)(Code)
Return a list of questionPoolId (java.lang.Long)
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



getQuestionPoolAccessData
public QuestionPoolAccessData getQuestionPoolAccessData(Long poolId, String agentId)(Code)



getQuestionPoolId
public IdImpl getQuestionPoolId(String id)(Code)



getQuestionPoolId
public IdImpl getQuestionPoolId(Long id)(Code)



getQuestionPoolId
public IdImpl getQuestionPoolId(long id)(Code)



getQuestionPoolItemMap
public HashMap getQuestionPoolItemMap()(Code)



getSubPoolSize
public int getSubPoolSize(Long poolId)(Code)



getSubPools
public List getSubPools(Long poolId)(Code)
Get all the children pools of a pool. Return a list of QuestionPoolData should return QuestionPool instead - need fixing, daisyf
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



hasSubPools
public boolean hasSubPools(Long poolId)(Code)
DOCUMENTATION PENDING
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



isDescendantOf
public boolean isDescendantOf(QuestionPoolFacade destPool, QuestionPoolFacade sourcePool)(Code)
Is destination a descendant of the source?



moveItemToPool
public void moveItemToPool(String itemId, Long sourceId, Long destId)(Code)
DOCUMENTATION PENDING
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



movePool
public void movePool(String agentId, Long sourcePoolId, Long destPoolId)(Code)
Move pool under another pool. The dest pool must not be the descendant of the source nor can they be the same pool .



poolIsUnique
public boolean poolIsUnique(Long questionPoolId, String title, Long parentPoolId, String agentId)(Code)



removeItemFromPool
public void removeItemFromPool(String itemId, Long poolId)(Code)
DOCUMENTATION PENDING
Parameters:
  itemId - DOCUMENTATION PENDING
Parameters:
  poolId - DOCUMENTATION PENDING



savePool
public QuestionPoolFacade savePool(QuestionPoolFacade pool)(Code)
DOCUMENTATION PENDING
Parameters:
  pool - DOCUMENTATION PENDING



setPoolAccessType
public void setPoolAccessType(QuestionPoolData qpp, String agentId)(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.