public interface BrowseSearchable extends Browseable
CollectionResolvable should show all entities, however, for the browse list
we will explicitly filter by users and/or locations and may not show all entities,
entities which do not implement this or BrowseableCollection will not appear in lists of entities which are being browsedEntityProvider interfaceBrowseableCollection (the convention interface)BROWSE_DESC_KEY, BROWSE_TITLE_KEY| Modifier and Type | Method and Description |
|---|---|
List<EntityData> |
browseEntities(Search search,
String userReference,
String associatedReference,
Map<String,Object> params)
Returns the list of entities which are being browsed based on the given parameters
See Browseable for the i18n keys |
getEntityPrefixList<EntityData> browseEntities(Search search, String userReference, String associatedReference, Map<String,Object> params)
Browseable for the i18n keys search - a search object which can define the order to return entities,
search filters, and total number of entities returned, may be empty but will not be null,
implementors are encouraged to support ordering and limiting of the number of returned results at leastuserReference - (optional) the unique entity reference for a user which is browsing the results,
this may be null to indicate that only items which are visible to all users should be shownassociatedReference - (optional) a globally unique reference to an entity, this is the entity that the
returned browseable data must be associated with (e.g. limited by reference to a location/site/group or other associated entity),
this may be null to indicate there is no association limitparams - (optional) incoming set of parameters which may be used to send data specific to this request, may be nullSecurityException - if the data cannot be accessed by the current user or is not publicly accessibleIllegalArgumentException - if the reference is invalid or the search is invalidIllegalStateException - if any other error occursCopyright © 2003–2021 Sakai Project. All rights reserved.