|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILockableGroupService
Extends IGroupService with methods for finding and maintaining
ILockableEntityGroups
.
Method Summary | |
---|---|
void |
deleteGroup(ILockableEntityGroup group)
Removes the ILockableEntityGroup from the store. |
ILockableEntityGroup |
findGroupWithLock(java.lang.String key,
java.lang.String owner)
Returns a pre-existing ILockableEntityGroup or null if the
group is not found. |
ILockableEntityGroup |
findGroupWithLock(java.lang.String key,
java.lang.String owner,
int durationSecs)
Returns a pre-existing ILockableEntityGroup or null if the
group is not found. |
void |
updateGroup(ILockableEntityGroup group)
Commits the updated ILockableEntityGroup to the store. |
void |
updateGroup(ILockableEntityGroup group,
boolean renewLock)
Commits the updated ILockableEntityGroup to the store and
renews the lock. |
void |
updateGroupMembers(ILockableEntityGroup group)
Commits the updated ILockableEntityGroup to the store. |
void |
updateGroupMembers(ILockableEntityGroup group,
boolean renewLock)
Commits the updated ILockableEntityGroup to the store and
renews the lock. |
Methods inherited from interface org.jasig.portal.groups.IGroupService |
---|
deleteGroup, findContainingGroups, findGroup, findMemberGroups, getEntity, getGroupMember, getGroupMember, getGroupStore, newGroup, searchForEntities, searchForEntities, searchForGroups, searchForGroups, updateGroup, updateGroupMembers |
Method Detail |
---|
void deleteGroup(ILockableEntityGroup group) throws GroupsException
ILockableEntityGroup
from the store.
GroupsException
ILockableEntityGroup findGroupWithLock(java.lang.String key, java.lang.String owner) throws GroupsException
ILockableEntityGroup
or null if the
group is not found.
key
- String - the group key.owner
- String - the lock owner.
GroupsException
ILockableEntityGroup findGroupWithLock(java.lang.String key, java.lang.String owner, int durationSecs) throws GroupsException
ILockableEntityGroup
or null if the
group is not found.
key
- String - the group key.owner
- String - the lock owner.durationSecs
- int - the duration of the lock in seconds.
GroupsException
void updateGroup(ILockableEntityGroup group) throws GroupsException
ILockableEntityGroup
to the store.
GroupsException
void updateGroupMembers(ILockableEntityGroup group) throws GroupsException
ILockableEntityGroup
to the store.
GroupsException
void updateGroup(ILockableEntityGroup group, boolean renewLock) throws GroupsException
ILockableEntityGroup
to the store and
renews the lock.
GroupsException
void updateGroupMembers(ILockableEntityGroup group, boolean renewLock) throws GroupsException
ILockableEntityGroup
to the store and
renews the lock.
GroupsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |