public class ActionsExecutionEntityProviderMock extends CRUDableEntityProviderMock implements CoreEntityProvider, 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 setmyEntitiesprefixACTION_METHOD_SUFFIX| Constructor and Description |
|---|
ActionsExecutionEntityProviderMock(String prefix,
String[] ids) |
| Modifier and Type | Method and Description |
|---|---|
CustomAction[] |
defineActions() |
Object |
executeActions(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, waitentityExistsgetEntityPrefixpublic CustomAction[] defineActions()
defineActions in interface ActionsDefineablepublic Object executeActions(EntityView entityView, String action, Map<String,Object> actionParams, OutputStream outputStream)
executeActions in interface ActionsExecutionControllableCopyright © 2003–2021 Sakai Project. All rights reserved.