|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.shared.impl.assessment.ItemServiceImpl
public class ItemServiceImpl
AssessmentServiceImpl implements a shared interface to get/set item information.
| Constructor Summary | |
|---|---|
ItemServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addItemMetaData(Long itemId,
String label,
String value,
String agentId)
Add metadata for an item, used for modify param: itemid, label, value, agentId |
void |
deleteItem(Long itemId,
String agentId)
Delete a item. |
void |
deleteItemContent(Long itemId,
String agentId)
Delete itemtextset for an item, used for modify |
void |
deleteItemMetaData(Long itemId,
String label,
String agentId)
Delete metadata for an item, used for modify. |
ItemDataIfc |
getItem(Long itemId,
String agentId)
Get a particular item. |
ItemDataIfc |
getItem(String itemId)
Get item. |
Map |
getItemsByKeyword(String keyword)
Search for items. |
ItemDataIfc |
saveItem(ItemDataIfc item)
Save item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemServiceImpl()
| Method Detail |
|---|
public ItemDataIfc getItem(Long itemId,
String agentId)
getItem in interface ItemServiceAPIitemId - the item idagentId - the agent id
public void deleteItem(Long itemId,
String agentId)
deleteItem in interface ItemServiceAPIitemId - the item idagentId - the agent id
public void deleteItemContent(Long itemId,
String agentId)
deleteItemContent in interface ItemServiceAPIitemId - the item idagentId - the agent id
public void deleteItemMetaData(Long itemId,
String label,
String agentId)
deleteItemMetaData in interface ItemServiceAPIitemId - the item idlabel - the metadata labelagentId - the agent id
public void addItemMetaData(Long itemId,
String label,
String value,
String agentId)
addItemMetaData in interface ItemServiceAPIitemId - the item idlabel - the metadata labelvalue - the value for the labelagentId - the agent idpublic ItemDataIfc saveItem(ItemDataIfc item)
saveItem in interface ItemServiceAPIitem - interface
public ItemDataIfc getItem(String itemId)
getItem in interface ItemServiceAPIitemId - the item id
public Map getItemsByKeyword(String keyword)
getItemsByKeyword in interface ItemServiceAPIkeyword - the keyword to search by.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||