public class BrowseSearchableEntityProviderMock extends CRUDableEntityProviderMock implements CoreEntityProvider, BrowseSearchable
BrowseSearchable capability, 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 setmyEntitiesprefixBROWSE_DESC_KEY, BROWSE_TITLE_KEY| Constructor and Description |
|---|
BrowseSearchableEntityProviderMock(String prefix,
String[] ids) |
| Modifier and Type | Method and Description |
|---|---|
List<EntityData> |
browseEntities(Search search,
String userReference,
String associatedReference,
Map<String,Object> params) |
createEntity, deleteEntity, entityExists, getEntities, getEntity, getSampleEntity, updateEntitygetEntityPrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitentityExistsgetEntityPrefixpublic List<EntityData> browseEntities(Search search, String userReference, String associatedReference, Map<String,Object> params)
browseEntities in interface BrowseSearchableCopyright © 2003–2021 Sakai Project. All rights reserved.