|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QuestionPoolFacadeQueriesAPI
| Method Summary | |
|---|---|
Long |
add()
|
void |
addItemsToSection(Collection ids,
long sectionId)
DOCUMENTATION PENDING |
void |
addItemToPool(QuestionPoolItemData qpi)
add a question to a pool |
void |
addQuestionPoolAccess(Tree tree,
String user,
Long questionPoolId,
Long accessTypeId)
Shared Pools with other user |
Long |
copyItemFacade(ItemDataIfc itemData)
|
ItemFacade |
copyItemFacade2(ItemDataIfc itemData)
|
void |
copyPool(Tree tree,
String agentId,
Long sourceId,
Long destId,
String prependString1,
String prependString2)
Copy a pool to a new location. |
void |
deletePool(Long poolId,
String agent,
Tree tree)
Delete pool and questions attached to it plus any subpool under it |
List<AgentFacade> |
getAgentsWithAccess(Long questionPoolId)
|
List |
getAllItemFacades(Long questionPoolId)
|
List |
getAllItemFacadesOrderByItemText(Long questionPoolId,
String orderBy,
String ascending)
|
List |
getAllItemFacadesOrderByItemType(Long questionPoolId,
String orderBy,
String ascending)
|
List |
getAllItems(Long questionPoolId)
|
List |
getAllPools()
Get a list of all the pools in the site. |
QuestionPoolIteratorFacade |
getAllPools(String agentId)
Get all the pools that the agent has access to. |
QuestionPoolIteratorFacade |
getAllPoolsWithAccess(String agentId)
|
ArrayList |
getBasicInfoOfAllPools(String agentId)
|
Integer |
getCountItemFacades(Long questionPoolId)
|
ItemFacade |
getItem(String id)
This method returns an ItemFacade that we can use to construct our ItemImpl |
QuestionPoolFacade |
getPool(Long poolId,
String agent)
Get a pool based on poolId. |
QuestionPoolFacade |
getPoolById(Long questionPoolId)
|
List |
getPoolIdsByAgent(String agentId)
Return a list of questionPoolId (java.lang.Long) |
List |
getPoolIdsByItem(String itemId)
Return a list of questionPoolId (java.lang.Long) |
QuestionPoolAccessData |
getQuestionPoolAccessData(Long poolId,
String agentId)
|
IdImpl |
getQuestionPoolId(long id)
|
IdImpl |
getQuestionPoolId(Long id)
|
IdImpl |
getQuestionPoolId(String id)
|
HashMap |
getQuestionPoolItemMap()
|
List |
getSubPools(Long poolId)
Get all the children pools of a pool. |
int |
getSubPoolSize(Long poolId)
|
boolean |
hasSubPools(Long poolId)
DOCUMENTATION PENDING |
boolean |
isDescendantOf(QuestionPoolFacade destPool,
QuestionPoolFacade sourcePool)
Is destination a descendant of the source? |
void |
moveItemToPool(String itemId,
Long sourceId,
Long destId)
DOCUMENTATION PENDING |
void |
movePool(String agentId,
Long sourcePoolId,
Long destPoolId)
Move pool under another pool. |
boolean |
poolIsUnique(Long questionPoolId,
String title,
Long parentPoolId,
String agentId)
|
void |
removeItemFromPool(String itemId,
Long poolId)
DOCUMENTATION PENDING |
void |
removeQuestionPoolAccess(Tree tree,
String user,
Long questionPoolId,
Long accessTypeId)
|
QuestionPoolFacade |
savePool(QuestionPoolFacade pool)
DOCUMENTATION PENDING |
void |
setPoolAccessType(QuestionPoolData qpp,
String agentId)
|
| Method Detail |
|---|
IdImpl getQuestionPoolId(String id)
IdImpl getQuestionPoolId(Long id)
IdImpl getQuestionPoolId(long id)
List getAllPools()
QuestionPoolIteratorFacade getAllPools(String agentId)
QuestionPoolIteratorFacade getAllPoolsWithAccess(String agentId)
ArrayList getBasicInfoOfAllPools(String agentId)
boolean poolIsUnique(Long questionPoolId,
String title,
Long parentPoolId,
String agentId)
List getAllItems(Long questionPoolId)
List getAllItemFacadesOrderByItemText(Long questionPoolId,
String orderBy,
String ascending)
List getAllItemFacadesOrderByItemType(Long questionPoolId,
String orderBy,
String ascending)
List getAllItemFacades(Long questionPoolId)
ItemFacade getItem(String id)
QuestionPoolFacade getPool(Long poolId,
String agent)
poolid - DOCUMENTATION PENDINGagent - DOCUMENTATION PENDING
void setPoolAccessType(QuestionPoolData qpp,
String agentId)
QuestionPoolAccessData getQuestionPoolAccessData(Long poolId,
String agentId)
void addItemsToSection(Collection ids,
long sectionId)
ids - DOCUMENTATION PENDINGsectionId - DOCUMENTATION PENDINGvoid addItemToPool(QuestionPoolItemData qpi)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDING
void deletePool(Long poolId,
String agent,
Tree tree)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDING
void movePool(String agentId,
Long sourcePoolId,
Long destPoolId)
boolean isDescendantOf(QuestionPoolFacade destPool,
QuestionPoolFacade sourcePool)
void removeItemFromPool(String itemId,
Long poolId)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDING
void moveItemToPool(String itemId,
Long sourceId,
Long destId)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDINGQuestionPoolFacade savePool(QuestionPoolFacade pool)
pool - DOCUMENTATION PENDINGList getSubPools(Long poolId)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDINGint getSubPoolSize(Long poolId)
boolean hasSubPools(Long poolId)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDINGList getPoolIdsByAgent(String agentId)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDINGList getPoolIdsByItem(String itemId)
itemId - DOCUMENTATION PENDINGpoolId - DOCUMENTATION PENDING
void copyPool(Tree tree,
String agentId,
Long sourceId,
Long destId,
String prependString1,
String prependString2)
Long add()
QuestionPoolFacade getPoolById(Long questionPoolId)
HashMap getQuestionPoolItemMap()
Long copyItemFacade(ItemDataIfc itemData)
ItemFacade copyItemFacade2(ItemDataIfc itemData)
Integer getCountItemFacades(Long questionPoolId)
void addQuestionPoolAccess(Tree tree,
String user,
Long questionPoolId,
Long accessTypeId)
void removeQuestionPoolAccess(Tree tree,
String user,
Long questionPoolId,
Long accessTypeId)
List<AgentFacade> getAgentsWithAccess(Long questionPoolId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||