uPortal 2.4.1
API Documentation

org.jasig.portal.groups
Interface ILockableEntityGroup

All Superinterfaces:
IBasicEntity, IEntityGroup, IGroupMember
All Known Implementing Classes:
LockableEntityGroupImpl

public interface ILockableEntityGroup
extends IEntityGroup

Defines an IEntityGroup that can be locked for update.

Version:
$Revision: 1.2 $
Author:
Dan Ellentuck

Method Summary
 IEntityLock getLock()
           
 void setLock(IEntityLock lock)
           
 void updateAndRenewLock()
          Updates the group and its members and renews the lock.
 void updateMembersAndRenewLock()
          Updates the members and renews the lock.
 
Methods inherited from interface org.jasig.portal.groups.IEntityGroup
addMember, delete, getCreatorID, getDescription, getLocalKey, getName, getServiceName, isEditable, removeMember, setCreatorID, setDescription, setLocalGroupService, setName, update, updateMembers
 
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
 

Method Detail

getLock

public IEntityLock getLock()
Returns:
org.jasig.portal.concurrency.IEntityLock

setLock

public void setLock(IEntityLock lock)
Parameters:
lock - org.jasig.portal.concurrency.IEntityLock

updateAndRenewLock

public void updateAndRenewLock()
                        throws GroupsException
Updates the group and its members and renews the lock.

Throws:
GroupsException

updateMembersAndRenewLock

public void updateMembersAndRenewLock()
                               throws GroupsException
Updates the members and renews the lock.

Throws:
GroupsException

uPortal 2.4.1
API Documentation