org.sakaiproject.entitybroker.mocks
Class ActionsDefineableEntityProviderMock
java.lang.Object
org.sakaiproject.entitybroker.mocks.EntityProviderMock
org.sakaiproject.entitybroker.mocks.CRUDableEntityProviderMock
org.sakaiproject.entitybroker.mocks.ActionsDefineableEntityProviderMock
- All Implemented Interfaces:
- ActionsDefineable, ActionsExecutable, Createable, CRUDable, Deleteable, Resolvable, Sampleable, Saveable, Updateable, CoreEntityProvider, EntityProvider
public class ActionsDefineableEntityProviderMock
- extends CRUDableEntityProviderMock
- implements CoreEntityProvider, ActionsDefineable
Stub class to make it possible to test the ActionsExecutable capabilities, will perform like the
actual class so it can be reliably used for testing
Will perform all CRUDable operations as well as allowing for internal data output processing
Returns MyEntity objects
Allows for testing Resolvable and CollectionResolvable as well, returns 2 MyEntity objects
if no search restrictions, 1 if "stuff" property is set, none if other properties are set
- Author:
- Aaron Zeckoski (aaron@caret.cam.ac.uk)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionsDefineableEntityProviderMock
public ActionsDefineableEntityProviderMock(String prefix,
String[] ids)
defineActions
public CustomAction[] defineActions()
- Specified by:
defineActions in interface ActionsDefineable
clearAll
public void clearAll()
doubleUp
public Object doubleUp(EntityView view)
xxxChange
public void xxxChange(EntityReference ref)
Copyright © 2007-2013 Sakai Project. All Rights Reserved.