public interface BrowseNestable extends Browseable
EntityProvider interfaceBROWSE_DESC_KEY, BROWSE_TITLE_KEY| Modifier and Type | Method and Description |
|---|---|
List<EntityData> |
getChildrenEntities(EntityReference parentRef,
Search search,
String userReference,
String associatedReference,
Map<String,Object> params)
Returns the list of entities being browsed which are nested under a parent entity with a given reference
Example: Parent entity is /blog/123, there are 3 entries in this blog, the search limits the return to 2 entities This method should return the first 2 blog entries in the blog with reference /blog/123 |
String |
getParentprefix()
Defines the parent entity type for this one
|
getEntityPrefixString getParentprefix()
List<EntityData> getChildrenEntities(EntityReference parentRef, Search search, String userReference, String associatedReference, Map<String,Object> params)
parentRef - the reference object for the parent entitysearch - (optional) 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–2022 Sakai Project. All rights reserved.