public class ActionsDefineableEntityProviderMock extends CRUDableEntityProviderMock implements org.sakaiproject.entitybroker.entityprovider.CoreEntityProvider, org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsDefineable
ActionsExecutable capabilities, will perform like the
actual class so it can be reliably used for testingCRUDable operations as well as allowing for internal data output processingMyEntity objectsResolvable and CollectionResolvable as well, returns 2 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are setmyEntitiesprefix| Constructor and Description |
|---|
ActionsDefineableEntityProviderMock(String prefix,
String[] ids) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAll() |
org.sakaiproject.entitybroker.entityprovider.extension.CustomAction[] |
defineActions() |
Object |
doubleUp(org.sakaiproject.entitybroker.EntityView view) |
void |
xxxChange(org.sakaiproject.entitybroker.EntityReference ref) |
createEntity, deleteEntity, entityExists, getEntities, getEntity, getSampleEntity, updateEntitygetEntityPrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic org.sakaiproject.entitybroker.entityprovider.extension.CustomAction[] defineActions()
defineActions in interface org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsDefineablepublic void clearAll()
public Object doubleUp(org.sakaiproject.entitybroker.EntityView view)
public void xxxChange(org.sakaiproject.entitybroker.EntityReference ref)
Copyright © 2007-2016 Sakai Project. All Rights Reserved.