|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.groupsmanager.SearchResultsGroupImpl
@Deprecated public class SearchResultsGroupImpl
SearchResultsGroupImp summary description sentence goes here.
| Field Summary | |
|---|---|
protected String |
creator
Deprecated. |
protected String |
description
Deprecated. |
protected EntityIdentifier |
ei
Deprecated. |
protected Class |
leafType
Deprecated. |
protected ArrayList |
members
Deprecated. |
protected String |
name
Deprecated. |
| Constructor Summary | |
|---|---|
SearchResultsGroupImpl(Class leafType)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addMember(IGroupMember gm)
Deprecated. Adds IGroupMember gm to this group, but does not commit it to the
data store. |
boolean |
contains(IGroupMember gm)
Deprecated. Answers if IGroupMember gm is a member of this. |
boolean |
deepContains(IGroupMember gm)
Deprecated. Answers if IGroupMember gm is a recursive member of this. |
void |
delete()
Deprecated. Deletes the IEntityGroup from the data store. |
boolean |
equals(Object o)
Deprecated. Answers if Object o is an IGroupMember that refers to the same underlying
entity(ies) as this. |
Iterator |
getAllContainingGroups()
Deprecated. Returns an Iterator over the Set of this
IGroupMember's recursively-retrieved parent groups. |
Iterator |
getAllEntities()
Deprecated. Returns an Iterator over the Set of this
IGroupMember's recursively-retrieved members that are
IEntities. |
Iterator |
getAllMembers()
Deprecated. Returns an Iterator over the Set of recursively-retrieved
IGroupMembers that are members of this. |
Iterator |
getContainingGroups()
Deprecated. Returns an Iterator over this IGroupMember's parent groups. |
String |
getCreatorID()
Deprecated. Returns the name of the group creator. |
String |
getDescription()
Deprecated. Returns the group description, which may be null. |
Iterator |
getEntities()
Deprecated. Returns an Iterator over this IGroupMember's
members that are IEntities. |
EntityIdentifier |
getEntityIdentifier()
Deprecated. |
Class |
getEntityType()
Deprecated. Returns the underlying entity type. |
String |
getKey()
Deprecated. Returns the key of the underlying entity. |
Class |
getLeafType()
Deprecated. |
String |
getLocalKey()
Deprecated. Returns the key from the group service of origin. |
IEntityGroup |
getMemberGroupNamed(String name)
Deprecated. Returns the named IEntityGroup from our members Collection. |
Iterator |
getMembers()
Deprecated. Returns an Iterator over the IGroupMembers in our
member Collection. |
String |
getName()
Deprecated. Returns the group name. |
Name |
getServiceName()
Deprecated. Returns the Name of the group service of origin. |
Class |
getType()
Deprecated. Returns the type of the underlying entity. |
EntityIdentifier |
getUnderlyingEntityIdentifier()
Deprecated. Returns EntityIdentifier for this IGroupMember's
underlying entity. |
boolean |
hasMembers()
Deprecated. Answers if this IGroupMember has any members. |
boolean |
isDeepMemberOf(IGroupMember gm)
Deprecated. Answers if this is a recursive member of IGroupMember gm. |
boolean |
isEditable()
Deprecated. Answers if this IEntityGroup can be changed or deleted. |
boolean |
isEntity()
Deprecated. |
boolean |
isGroup()
Deprecated. |
boolean |
isMemberOf(IGroupMember gm)
Deprecated. Answers if this is a member of IGroupMember gm. |
void |
removeMember(IGroupMember gm)
Deprecated. Removes the IGroupMember from this group, but does not remove the
membership from the data store. |
void |
setCreatorID(String userID)
Deprecated. |
void |
setDescription(String name)
Deprecated. |
void |
setLocalGroupService(IIndividualGroupService groupService)
Deprecated. Sets the group service of origin. |
void |
setName(String name)
Deprecated. Sets the group name which must be unique within any of its containing groups. |
void |
update()
Deprecated. Commit the IEntityGroup AND ITS MEMBERSHIPS to the data store. |
void |
updateMembers()
Deprecated. Commit this IEntityGroup's memberships to the data store. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jasig.portal.groups.IGroupMember |
|---|
hashCode |
| Field Detail |
|---|
protected ArrayList members
protected String name
protected String description
protected String creator
protected EntityIdentifier ei
protected Class leafType
| Constructor Detail |
|---|
public SearchResultsGroupImpl(Class leafType)
| Method Detail |
|---|
public void addMember(IGroupMember gm)
throws GroupsException
IEntityGroupIGroupMember gm to this group, but does not commit it to the
data store. Use updateMembers() to commit memberships to the data store.
addMember in interface IEntityGroupgm - org.jasig.portal.groups.IGroupMember
GroupsException - is thrown if the member is a group and
this group already has a group with the same name or if the addition
of the group creates a circular reference.
public Iterator getMembers()
throws GroupsException
IGroupMemberIterator over the IGroupMembers in our
member Collection.
getMembers in interface IGroupMemberGroupsExceptionpublic String getCreatorID()
IEntityGroup
getCreatorID in interface IEntityGrouppublic String getDescription()
IEntityGroup
getDescription in interface IEntityGrouppublic String getLocalKey()
IEntityGroup
getLocalKey in interface IEntityGrouppublic String getName()
IEntityGroup
getName in interface IEntityGrouppublic Name getServiceName()
IEntityGroup
getServiceName in interface IEntityGrouppublic void removeMember(IGroupMember gm)
IEntityGroupIGroupMember from this group, but does not remove the
membership from the data store.
removeMember in interface IEntityGroupgm - org.jasig.portal.groups.IGroupMemberpublic void setCreatorID(String userID)
setCreatorID in interface IEntityGroupuserID - String (required)public void setDescription(String name)
setDescription in interface IEntityGroupname - String (may be null)
public void setName(String name)
throws GroupsException
IEntityGroup
setName in interface IEntityGroupname - String
GroupsException
public void setLocalGroupService(IIndividualGroupService groupService)
throws GroupsException
IEntityGroup
setLocalGroupService in interface IEntityGroupGroupsException
public boolean contains(IGroupMember gm)
throws GroupsException
IGroupMemberIGroupMember gm is a member of this.
contains in interface IGroupMembergm - org.jasig.portal.groups.IGroupMember
GroupsException
public boolean deepContains(IGroupMember gm)
throws GroupsException
IGroupMemberIGroupMember gm is a recursive member of this.
deepContains in interface IGroupMembergm - org.jasig.portal.groups.IGroupMember
GroupsExceptionpublic boolean equals(Object o)
IGroupMemberIGroupMember that refers to the same underlying
entity(ies) as this.
equals in interface IGroupMemberequals in class Object
public Iterator getAllContainingGroups()
throws GroupsException
IGroupMemberIterator over the Set of this
IGroupMember's recursively-retrieved parent groups.
getAllContainingGroups in interface IGroupMemberGroupsException
public Iterator getAllEntities()
throws GroupsException
IGroupMemberIterator over the Set of this
IGroupMember's recursively-retrieved members that are
IEntities.
getAllEntities in interface IGroupMemberGroupsException
public Iterator getAllMembers()
throws GroupsException
IGroupMemberIterator over the Set of recursively-retrieved
IGroupMembers that are members of this.
getAllMembers in interface IGroupMemberGroupsException
public Iterator getContainingGroups()
throws GroupsException
IGroupMemberIterator over this IGroupMember's parent groups.
getContainingGroups in interface IGroupMemberGroupsException
public Iterator getEntities()
throws GroupsException
IGroupMemberIterator over this IGroupMember's
members that are IEntities.
getEntities in interface IGroupMemberGroupsExceptionpublic Class getEntityType()
IGroupMemberIEntityGroup, this is
analagous to Class as applied to an Array; it is an
attribute of the group object. For an IEntity, it is the entity
type of the group the entity belongs to, which may be any Class
the underlying entity can be legally cast to. Thus, an IEntity
with an underlying entity of type Manager could have an entity
type of Employee as long as Employee was a
superclass of Manager.
getEntityType in interface IGroupMemberpublic String getKey()
IGroupMember
getKey in interface IGroupMemberpublic Class getLeafType()
getLeafType in interface IGroupMemberIGroupMember.getEntityType()
public IEntityGroup getMemberGroupNamed(String name)
throws GroupsException
IGroupMemberIEntityGroup from our members Collection.
getMemberGroupNamed in interface IGroupMembername - java.lang.String
GroupsExceptionpublic Class getType()
IGroupMemberIEntityGroup. For an entity, it will be the type of the
underlying EntityIdentifier.
getType in interface IGroupMemberpublic EntityIdentifier getUnderlyingEntityIdentifier()
IGroupMemberEntityIdentifier for this IGroupMember's
underlying entity. In the case of an IEntityGroup, it will
be the EntityIdentifier for this. In the case
of an IEntity, it will be the EntityIdentifier
that identifies the underlying IPerson, ChannelDefinition, etc.
getUnderlyingEntityIdentifier in interface IGroupMember
public boolean isDeepMemberOf(IGroupMember gm)
throws GroupsException
IGroupMemberthis is a recursive member of IGroupMember gm.
isDeepMemberOf in interface IGroupMembergm - org.jasig.portal.groups.IGroupMember
GroupsException
public boolean isMemberOf(IGroupMember gm)
throws GroupsException
IGroupMemberthis is a member of IGroupMember gm.
isMemberOf in interface IGroupMembergm - org.jasig.portal.groups.IGroupMember
GroupsExceptionpublic EntityIdentifier getEntityIdentifier()
getEntityIdentifier in interface IBasicEntity
public void update()
throws GroupsException
IEntityGroupIEntityGroup AND ITS MEMBERSHIPS to the data store.
update in interface IEntityGroupGroupsException - if the update cannot be performed.
public void updateMembers()
throws GroupsException
IEntityGroupIEntityGroup's memberships to the data store.
updateMembers in interface IEntityGroupGroupsException - if the update cannot be performed.
public boolean isEditable()
throws GroupsException
IEntityGroupIEntityGroup can be changed or deleted.
isEditable in interface IEntityGroupGroupsException
public void delete()
throws GroupsException
IEntityGroupIEntityGroup from the data store.
delete in interface IEntityGroupGroupsException - if the delete cannot be performed.
public boolean hasMembers()
throws GroupsException
IGroupMemberIGroupMember has any members.
hasMembers in interface IGroupMemberGroupsExceptionpublic boolean isEntity()
isEntity in interface IGroupMemberpublic boolean isGroup()
isGroup in interface IGroupMember
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||