|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QuestionPoolServiceAPI
The QuestionPoolServiceAPI declares a shared interface to control question pool information.
| Method Summary | |
|---|---|
void |
addItemToPool(String itemId,
Long poolId)
Save a question to a pool. |
void |
copyPool(Tree tree,
String agentId,
Long sourceId,
Long destId,
String prependString1,
String prependString2)
Copy a subpool to a pool. |
void |
deletePool(Long poolId,
String agentId,
Tree tree)
Delete a pool |
List |
getAllItems(Long poolId)
Get all scores for a published assessment from the back end. |
List |
getAllItemsSorted(Long poolId,
String orderBy,
String ascending)
Get all items sorted by orderby |
List |
getAllPools(String agentId)
Get all pools from the back end. |
List |
getBasicInfoOfAllPools(String agentId)
Get basic info for pools(just id and title) for displaying in pulldown . |
QuestionPoolDataIfc |
getPool(Long poolId,
String agentId)
Get a particular pool from the backend, with all questions. |
List |
getPoolIdsByAgent(String agentId)
Get pool id's by agent. |
List |
getPoolIdsByItem(String itemId)
Get a list of pools that have a specific Agent |
Map |
getQuestionPoolItemMap()
|
List |
getSubPools(Long poolId)
Get a list of pools that have a specific parent |
int |
getSubPoolSize(Long poolId)
Get the size of a subpool. |
boolean |
hasItem(String itemId,
Long poolId)
|
boolean |
hasSubPools(Long poolId)
Checks to see if a pool has subpools |
boolean |
isDescendantOf(Long poolA,
Long poolB,
String agentId)
Is a pool a descendant of the other? |
void |
moveItemToPool(String itemId,
Long sourceId,
Long destId)
Move a question to a pool. |
void |
movePool(String agentId,
Long sourceId,
Long destId)
Move a subpool to a pool. |
void |
removeQuestionFromPool(String questionId,
Long poolId)
removes a Question from the question pool. |
QuestionPoolDataIfc |
savePool(QuestionPoolDataIfc pool)
Save a question pool. |
| Method Detail |
|---|
List getAllPools(String agentId)
List getBasicInfoOfAllPools(String agentId)
QuestionPoolDataIfc getPool(Long poolId,
String agentId)
List getPoolIdsByItem(String itemId)
boolean hasItem(String itemId,
Long poolId)
List getPoolIdsByAgent(String agentId)
List getSubPools(Long poolId)
int getSubPoolSize(Long poolId)
boolean hasSubPools(Long poolId)
List getAllItemsSorted(Long poolId,
String orderBy,
String ascending)
List getAllItems(Long poolId)
void addItemToPool(String itemId,
Long poolId)
void moveItemToPool(String itemId,
Long sourceId,
Long destId)
boolean isDescendantOf(Long poolA,
Long poolB,
String agentId)
void movePool(String agentId,
Long sourceId,
Long destId)
void deletePool(Long poolId,
String agentId,
Tree tree)
void removeQuestionFromPool(String questionId,
Long poolId)
void copyPool(Tree tree,
String agentId,
Long sourceId,
Long destId,
String prependString1,
String prependString2)
QuestionPoolDataIfc savePool(QuestionPoolDataIfc pool)
Map getQuestionPoolItemMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||