|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.groups.RDBMEntityGroupStore
Store for EntityGroupImpl
.
Field Summary |
Fields inherited from interface org.jasig.portal.groups.IGroupConstants |
CHANNEL_CATEGORIES, CONTAINS, ENDS_WITH, EVERYONE, IS, NODE_SEPARATOR, PORTAL_ADMINISTRATORS, STARTS_WITH |
Constructor Summary | |
RDBMEntityGroupStore()
RDBMEntityGroupStore constructor. |
Method Summary | |
boolean |
contains(IEntityGroup group,
IGroupMember member)
Answers if IGroupMember member is a member of group . |
boolean |
containsGroupNamed(IEntityGroup containingGroup,
java.lang.String memberName)
|
void |
delete(IEntityGroup group)
If this entity exists, delete it. |
IEntityGroup |
find(java.lang.String groupID)
Find and return an instance of the group. |
java.util.Iterator |
findContainingGroups(IEntity ent)
Find the groups that this entity belongs to. |
java.util.Iterator |
findContainingGroups(IEntityGroup group)
Find the groups that this group belongs to. |
java.util.Iterator |
findContainingGroups(IGroupMember gm)
Find the groups that this group member belongs to. |
java.util.Iterator |
findEntitiesForGroup(IEntityGroup group)
Find the IEntities that are members of the IEntityGroup . |
java.util.Iterator |
findGroupsByCreator(java.lang.String creatorID)
Find the groups with this creatorID. |
ILockableEntityGroup |
findLockable(java.lang.String groupID)
Find and return an instance of the group. |
java.lang.String[] |
findMemberGroupKeys(IEntityGroup group)
Find the keys of groups that are members of group. |
java.util.Iterator |
findMemberGroups(IEntityGroup group)
Find the IUserGroups that are members of the group. |
IGroupService |
getGroupService()
|
IEntity |
newEntity(java.lang.Class type,
java.lang.String key)
|
IEntityGroup |
newInstance(java.lang.Class type)
|
EntityIdentifier[] |
searchForGroups(java.lang.String query,
int method,
java.lang.Class leaftype)
Find EntityIdentifiers for groups whose name matches the query string according to the specified method and matches the provided leaf type |
void |
setGroupService(IGroupService newGroupService)
|
static RDBMEntityGroupStore |
singleton()
|
void |
update(IEntityGroup group)
Commit this entity AND ITS MEMBERSHIPS to the underlying store. |
void |
updateMembers(IEntityGroup eg)
Insert and delete group membership rows inside a transaction. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RDBMEntityGroupStore()
Method Detail |
public boolean contains(IEntityGroup group, IGroupMember member) throws GroupsException
IGroupMember
member is a member of group
.
contains
in interface IEntityGroupStore
group
- org.jasig.portal.groups.IEntityGroupmember
- org.jasig.portal.groups.IGroupMember
GroupsException
public boolean containsGroupNamed(IEntityGroup containingGroup, java.lang.String memberName) throws GroupsException
GroupsException
public void delete(IEntityGroup group) throws GroupsException
delete
in interface IEntityGroupStore
group
- org.jasig.portal.groups.IEntityGroup
GroupsException
public IEntityGroup find(java.lang.String groupID) throws GroupsException
find
in interface IEntityGroupStore
groupID
- the group ID
GroupsException
public java.util.Iterator findContainingGroups(IEntity ent) throws GroupsException
ent
- the entity in question
GroupsException
public java.util.Iterator findContainingGroups(IEntityGroup group) throws GroupsException
group
- org.jasig.portal.groups.IEntityGroup
GroupsException
public java.util.Iterator findContainingGroups(IGroupMember gm) throws GroupsException
findContainingGroups
in interface IEntityGroupStore
gm
- the group member in question
GroupsException
public java.util.Iterator findEntitiesForGroup(IEntityGroup group) throws GroupsException
IEntities
that are members of the IEntityGroup
.
findEntitiesForGroup
in interface IEntityGroupStore
group
- the entity group in question
GroupsException
public java.util.Iterator findGroupsByCreator(java.lang.String creatorID) throws GroupsException
creatorID
-
GroupsException
public ILockableEntityGroup findLockable(java.lang.String groupID) throws GroupsException
findLockable
in interface IEntityGroupStore
groupID
- the group ID
GroupsException
public java.lang.String[] findMemberGroupKeys(IEntityGroup group) throws GroupsException
findMemberGroupKeys
in interface IEntityGroupStore
group
- the org.jasig.portal.groups.IEntityGroup
GroupsException
public java.util.Iterator findMemberGroups(IEntityGroup group) throws GroupsException
findMemberGroups
in interface IEntityGroupStore
group
- org.jasig.portal.groups.IEntityGroup
GroupsException
public IGroupService getGroupService()
public IEntity newEntity(java.lang.Class type, java.lang.String key) throws GroupsException
GroupsException
public IEntityGroup newInstance(java.lang.Class type) throws GroupsException
newInstance
in interface IEntityGroupStore
GroupsException
public EntityIdentifier[] searchForGroups(java.lang.String query, int method, java.lang.Class leaftype) throws GroupsException
IEntityGroupStore
searchForGroups
in interface IEntityGroupStore
GroupsException
public void setGroupService(IGroupService newGroupService)
newGroupService
- org.jasig.portal.groups.IGroupServicepublic static RDBMEntityGroupStore singleton() throws GroupsException
GroupsException
public void update(IEntityGroup group) throws GroupsException
update
in interface IEntityGroupStore
group
- org.jasig.portal.groups.IEntityGroup
GroupsException
public void updateMembers(IEntityGroup eg) throws GroupsException
updateMembers
in interface IEntityGroupStore
eg
- org.jasig.portal.groups.IEntityGroup
GroupsException
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |