|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.layout.dlm.remoting.GroupListHelperImpl
public class GroupListHelperImpl
| Constructor Summary | |
|---|---|
GroupListHelperImpl()
|
|
| 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 entity)
Convenience method that looks up the name of the given group member. |
Set<JsonEntityBean> |
search(String entityType,
String searchTerm)
Search for entities of a specified entity type using a search string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupListHelperImpl()
| Method Detail |
|---|
public Set<JsonEntityBean> search(String entityType,
String searchTerm)
IGroupListHelper
search in interface IGroupListHelperentityType - entity type to search forsearchTerm - search string
public JsonEntityBean getEntity(String entityType,
String entityId,
boolean populateChildren)
IGroupListHelpertrue 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.
getEntity in interface IGroupListHelperentityType - type of the entity to be returnedentityId - ID of the entity to be returnedpopulateChildren - true to populate the bean with children
nullpublic String getEntityType(IGroupMember entity)
IGroupListHelper
getEntityType in interface IGroupListHelperentity - Entity whose type needs to be determined
public List<JsonEntityBean> getEntityBeans(List<String> params)
IGroupListHelper
getEntityBeans in interface IGroupListHelperparams - List of string identifiers
public String lookupEntityName(JsonEntityBean entity)
Convenience method that looks up the name of the given group member. Used for person types.
lookupEntityName in interface IGroupListHelpergroupMember - Entity to look up
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||