public class ActionsExecutionEntityProviderMock extends CRUDableEntityProviderMock implements org.sakaiproject.entitybroker.entityprovider.CoreEntityProvider, org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutionControllable
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 |
|---|
ActionsExecutionEntityProviderMock(String prefix,
String[] ids) |
| Modifier and Type | Method and Description |
|---|---|
org.sakaiproject.entitybroker.entityprovider.extension.CustomAction[] |
defineActions() |
Object |
executeActions(org.sakaiproject.entitybroker.EntityView entityView,
String action,
Map<String,Object> actionParams,
OutputStream outputStream) |
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 Object executeActions(org.sakaiproject.entitybroker.EntityView entityView, String action, Map<String,Object> actionParams, OutputStream outputStream)
executeActions in interface org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutionControllableCopyright © 2007-2016 Sakai Project. All Rights Reserved.