|
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.GroupMemberImpl
org.jasig.portal.groups.EntityGroupImpl
org.jasig.portal.groups.LockableEntityGroupImpl
Extends EntityGroupImpl
to make it lockable for writing.
Constructor Summary | |
LockableEntityGroupImpl(java.lang.String groupKey,
java.lang.Class groupType)
LockableEntityGroupImpl constructor. |
Method Summary | |
void |
delete()
Delegates to the factory. |
IEntityLock |
getLock()
|
void |
setLock(IEntityLock newLock)
|
java.lang.String |
toString()
Returns a String that represents the value of this object. |
void |
update()
Commit the IEntityGroup AND ITS MEMBERSHIPS to the data store. |
void |
updateAndRenewLock()
Updates the group and its members and renews the lock. |
void |
updateMembers()
Commit this IEntityGroup's memberships to the data store. |
void |
updateMembersAndRenewLock()
Updates the members and renews the lock. |
Methods inherited from class org.jasig.portal.groups.EntityGroupImpl |
addMember, contains, deepContains, equals, getAddedMembers, getAllEntities, getAllMembers, getCreatorID, getDescription, getEntities, getEntityIdentifier, getEntityKey, getEntityType, getGroupID, getLeafType, getLocalKey, getMemberGroupNamed, getMembers, getName, getRemovedMembers, getServiceName, getType, hasAdds, hasDeletes, hashCode, hasMembers, isDirty, isEditable, isGroup, primSetName, removeMember, setCreatorID, setDescription, setLocalGroupService, setName, setServiceName |
Methods inherited from class org.jasig.portal.groups.GroupMemberImpl |
addGroup, getAllContainingGroups, getContainingGroups, getKey, getUnderlyingEntityIdentifier, isDeepMemberOf, isEntity, isMemberOf, removeGroup |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jasig.portal.groups.IEntityGroup |
addMember, getCreatorID, getDescription, getLocalKey, getName, getServiceName, isEditable, removeMember, setCreatorID, setDescription, setLocalGroupService, setName |
Methods inherited from interface org.jasig.portal.groups.IGroupMember |
contains, deepContains, equals, getAllContainingGroups, getAllEntities, getAllMembers, getContainingGroups, getEntities, getEntityType, getKey, getLeafType, getMemberGroupNamed, getMembers, getType, getUnderlyingEntityIdentifier, hashCode, hasMembers, isDeepMemberOf, isEntity, isGroup, isMemberOf |
Methods inherited from interface org.jasig.portal.IBasicEntity |
getEntityIdentifier |
Constructor Detail |
public LockableEntityGroupImpl(java.lang.String groupKey, java.lang.Class groupType) throws GroupsException
groupKey
- java.lang.StringgroupType
- java.lang.Class
GroupsException
Method Detail |
public void delete() throws GroupsException
delete
in interface IEntityGroup
delete
in class EntityGroupImpl
GroupsException
public IEntityLock getLock()
getLock
in interface ILockableEntityGroup
public void setLock(IEntityLock newLock)
setLock
in interface ILockableEntityGroup
newLock
- org.jasig.portal.concurrency.IEntityLockpublic java.lang.String toString()
EntityGroupImpl
toString
in class EntityGroupImpl
public void update() throws GroupsException
IEntityGroup
IEntityGroup
AND ITS MEMBERSHIPS to the data store.
update
in interface IEntityGroup
update
in class EntityGroupImpl
GroupsException
public void updateAndRenewLock() throws GroupsException
ILockableEntityGroup
updateAndRenewLock
in interface ILockableEntityGroup
GroupsException
public void updateMembers() throws GroupsException
IEntityGroup
IEntityGroup's
memberships to the data store.
updateMembers
in interface IEntityGroup
updateMembers
in class EntityGroupImpl
GroupsException
public void updateMembersAndRenewLock() throws GroupsException
ILockableEntityGroup
updateMembersAndRenewLock
in interface ILockableEntityGroup
GroupsException
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |