|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGroupListHelper
Helper methods for retrieving portal entities.
| Method Summary | |
|---|---|
JsonEntityBean |
getEntity(String entityType,
String entityId,
boolean populateChildren)
Retrieve an individual entity matching the specified type and id. |
List<JsonEntityBean> |
getEntityBeans(List<String> params)
Get a list of JsonEntityBeans for a supplied list of string identifiers, where an identifier consists of a colon-separated pairing of entity type and entity ID. |
String |
getEntityType(IGroupMember entity)
Return the string representation of the type of a specified entity object. |
String |
lookupEntityName(JsonEntityBean entityBean)
Find the name of a specified entity. |
Set<JsonEntityBean> |
search(String entityType,
String searchTerm)
Search for entities of a specified entity type using a search string. |
| Method Detail |
|---|
Set<JsonEntityBean> search(String entityType,
String searchTerm)
entityType - entity type to search forsearchTerm - search string
String getEntityType(IGroupMember entity)
entity - Entity whose type needs to be determined
String lookupEntityName(JsonEntityBean entityBean)
entityBean - JsonEntityBean representation of an entity
null if none is found
JsonEntityBean getEntity(String entityType,
String entityId,
boolean populateChildren)
true populate the entity bean
with the entity's children before returning it. This argument will be
ignored entirely if the entity is not of a group type, since non-group
entities may not have children.
entityType - type of the entity to be returnedentityId - ID of the entity to be returnedpopulateChildren - true to populate the bean with children
nullList<JsonEntityBean> getEntityBeans(List<String> params)
params - List of string identifiers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||