| java.lang.Object org.jasig.portal.groups.ReferenceComponentGroupService org.jasig.portal.groups.ReferenceCompositeGroupService
All known Subclasses: org.jasig.portal.groups.ReferenceIndividualGroupService,
Method Summary | |
protected void | cacheAdd(IGroupMember gm) | protected void | cacheRemove(IGroupMember gm) | protected void | cacheUpdate(IGroupMember gm) | public Iterator | findContainingGroups(IGroupMember gm) Returns groups that contain the IGroupMember . | public IEntityGroup | findGroup(String key) Returns a pre-existing IEntityGroup or null if the
IGroupMember does not exist. | public ILockableEntityGroup | findGroupWithLock(String key, String lockOwner) Returns a pre-existing IEntityGroup or null if the
IGroupMember does not exist. | protected IIndividualGroupService | getComponentService(Name serviceName) | protected IIndividualGroupService | getComponentService(CompositeEntityIdentifier entId) | protected IIndividualGroupService | getDefaultService() Returns the IIndividualGroupService designated as the default service
in the configuration document. | public IEntity | getEntity(String key, Class type) Returns an IEntity representing a portal entity. | public IEntity | getEntity(String key, Class type, String svcName) Returns an IEntity representing a portal entity. | protected IEntity | getEntityFromCache(String key) Returns a cached IEntity or null if it has not been cached. | public IGroupMember | getGroupMember(String key, Class type) Returns an IGroupMember representing either a group or a
portal entity. | public IGroupMember | getGroupMember(EntityIdentifier underlyingEntityIdentifier) Returns an IGroupMember representing either a group or a
portal entity, based on the EntityIdentifier , which refers
to the UNDERLYING entity for the IGroupMember . | protected void | initializeComponentServices() Assembles the group services composite. | protected CompositeEntityIdentifier | newCompositeEntityIdentifier(String key) Returns a CompositeEntityIdentifier for the group identified
by key . | public IEntityGroup | newGroup(Class type, Name serviceName) Returns a new IEntityGroup from the named service. | protected IEntityGroup | primFindGroup(String key) Returns a pre-existing IEntityGroup or null if the
IGroupMember does not exist. | public EntityIdentifier[] | searchForEntities(String query, int method, Class type) | public EntityIdentifier[] | searchForEntities(String query, int method, Class type, IEntityGroup ancestor) | public EntityIdentifier[] | searchForGroups(String query, int method, Class leaftype) | public EntityIdentifier[] | searchForGroups(String query, int method, Class leaftype, IEntityGroup ancestor) | protected void | setComponentServices(java.util.Map newComponentServices) Insert the method's description here. |
ReferenceCompositeGroupService | public ReferenceCompositeGroupService() throws GroupsException(Code) | | ReferenceCompositeGroupService constructor comment.
|
findContainingGroups | public Iterator findContainingGroups(IGroupMember gm) throws GroupsException(Code) | | Returns groups that contain the IGroupMember . Delegates to the
component services, but only after checking that they might actually contain
a membership for this member.
Parameters: gm - IGroupMember |
getDefaultService | protected IIndividualGroupService getDefaultService()(Code) | | Returns the IIndividualGroupService designated as the default service
in the configuration document.
|
getGroupMember | public IGroupMember getGroupMember(String key, Class type) throws GroupsException(Code) | | Returns an IGroupMember representing either a group or a
portal entity. If the parm type is the group type,
the IGroupMember is an IEntityGroup else it is
an IEntity .
|
getGroupMember | public IGroupMember getGroupMember(EntityIdentifier underlyingEntityIdentifier) throws GroupsException(Code) | | Returns an IGroupMember representing either a group or a
portal entity, based on the EntityIdentifier , which refers
to the UNDERLYING entity for the IGroupMember .
|
initializeComponentServices | protected void initializeComponentServices() throws GroupsException(Code) | | Assembles the group services composite. Once the leaf services have been
retrieved, they are held in a (one-dimensional) Map. The composite
identity of a service is preserved in its Map key, a javax.naming.Name.
Each node of the Name is the name of a component service, starting with
the service closest to the composite service and ending with the name of
the leaf service. The key is built up layer by layer.
exception: GroupsException - |
searchForEntities | public EntityIdentifier[] searchForEntities(String query, int method, Class type) throws GroupsException(Code) | | Find EntityIdentifiers for entities whose name matches the query string
according to the specified method and is of the specified type
|
searchForEntities | public EntityIdentifier[] searchForEntities(String query, int method, Class type, IEntityGroup ancestor) throws GroupsException(Code) | | Find EntityIdentifiers for entities whose name matches the query string
according to the specified method, is of the specified type and
descends from the specified group
|
searchForGroups | public EntityIdentifier[] searchForGroups(String query, int method, Class leaftype) throws GroupsException(Code) | | Find EntityIdentifiers for groups whose name matches the query string
according to the specified method and matches the provided leaf type
|
searchForGroups | public EntityIdentifier[] searchForGroups(String query, int method, Class leaftype, IEntityGroup ancestor) throws GroupsException(Code) | | Find EntityIdentifiers for groups whose name matches the query string
according to the specified method, has the provided leaf type and
descends from the specified group
|
setComponentServices | protected void setComponentServices(java.util.Map newComponentServices)(Code) | | Insert the method's description here.
Creation date: (10/31/2002 10:58:53 AM)
Parameters: newComponentServices - java.util.Map |
|
|