|
||||||||||
| 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
public class LockableEntityGroupImpl
Extends EntityGroupImpl to make it lockable for writing.
| Field Summary | |
|---|---|
protected IEntityLock |
lock
|
| Fields inherited from class org.jasig.portal.groups.EntityGroupImpl |
|---|
localGroupService |
| Constructor Summary | |
|---|---|
LockableEntityGroupImpl(String groupKey,
Class groupType)
LockableEntityGroupImpl constructor. |
|
| Method Summary | |
|---|---|
void |
delete()
Delegates to the factory. |
IEntityLock |
getLock()
|
protected ILockableGroupService |
getLockableGroupService()
|
void |
setLock(IEntityLock newLock)
|
String |
toString()
Returns a String that represents the value of this object. |
void |
update()
Delegate to the factory. |
void |
updateAndRenewLock()
Updates the group and its members and renews the lock. |
void |
updateMembers()
Delegate to the factory. |
void |
updateMembersAndRenewLock()
Updates the members and renews the lock. |
| Methods inherited from class org.jasig.portal.groups.GroupMemberImpl |
|---|
addGroup, castAndCopyHashSet, getAllContainingGroups, getCacheKey, getCompositeGroupService, getContainingGroups, getKey, getUnderlyingEntityIdentifier, isDeepMemberOf, isEntity, isKnownEntityType, isMemberOf, primGetAllContainingGroups, removeGroup, setGroupKeysInitialized |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, 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 |
| Field Detail |
|---|
protected IEntityLock lock
| Constructor Detail |
|---|
public LockableEntityGroupImpl(String groupKey,
Class groupType)
throws GroupsException
groupKey - java.lang.StringgroupType - java.lang.Class
GroupsException| Method Detail |
|---|
public void delete()
throws GroupsException
delete in interface IEntityGroupdelete in class EntityGroupImplGroupsException - if the delete cannot be performed.public IEntityLock getLock()
getLock in interface ILockableEntityGroup
protected ILockableGroupService getLockableGroupService()
throws GroupsException
GroupsExceptionpublic void setLock(IEntityLock newLock)
setLock in interface ILockableEntityGroupnewLock - org.jasig.portal.concurrency.IEntityLockpublic String toString()
EntityGroupImpl
toString in class EntityGroupImpl
public void update()
throws GroupsException
EntityGroupImpl
update in interface IEntityGroupupdate in class EntityGroupImplGroupsException - if the update cannot be performed.
public void updateAndRenewLock()
throws GroupsException
ILockableEntityGroup
updateAndRenewLock in interface ILockableEntityGroupGroupsException
public void updateMembers()
throws GroupsException
EntityGroupImpl
updateMembers in interface IEntityGroupupdateMembers in class EntityGroupImplGroupsException - if the update cannot be performed.
public void updateMembersAndRenewLock()
throws GroupsException
ILockableEntityGroup
updateMembersAndRenewLock in interface ILockableEntityGroupGroupsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||