public class DirectoryGroupIndexService extends Object implements SubService
Modifier and Type | Field and Description |
---|---|
protected AccessControlListIndexService |
m_AclIndexService
The AccessControlListIndexService that encloses this instance
|
protected S_LibraryService |
m_Service
The parent library service
|
static String |
MAP_TABLE_NAME
The name of the group index table.
|
static String |
PARAM_TABLE_NAME
The name of the group index parameter table.
|
protected static int |
PARAMETER_KEY_LOCKENTRY
The parameter key used to provide a resource-level lock
for this index.
|
Modifier | Constructor and Description |
---|---|
protected |
DirectoryGroupIndexService(S_LibraryService service,
AccessControlListIndexService aclIndexServ)
Construct a DirectoryGroupIndexService.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addToGroupNow(S_LibrarySession sess,
long parentid,
long childid)
Register a member added to a group.
|
protected void |
breakCycle(S_LibrarySession sess,
Long leftId,
Long rightId)
Breaks the cycle if there is a cycle in the membership hierarchy.
|
void |
dispose()
Terminate this subservice.
|
protected void |
registerNewDirectoryObjectNow(S_LibrarySession sess,
long id)
Register a new DirectoryObject.
|
protected void |
removeFromGroupNow(S_LibrarySession sess,
long parentid,
long childid)
Register a member being removed from a group.
|
protected void |
unregisterFreedDirectoryObjectNow(S_LibrarySession sess,
long id)
Unregister a freed DirectoryObject.
|
public static final String MAP_TABLE_NAME
public static final String PARAM_TABLE_NAME
protected static final int PARAMETER_KEY_LOCKENTRY
protected S_LibraryService m_Service
protected AccessControlListIndexService m_AclIndexService
protected DirectoryGroupIndexService(S_LibraryService service, AccessControlListIndexService aclIndexServ) throws IfsException
service
- the S_LibraryService that owns this instanceaclIndexServ
- the AccessControlListIndexService that
controls this instanceIfsException
- if operation failspublic void dispose() throws IfsException
This method is required by the SubService interface; it currently does nothing.
dispose
in interface SubService
IfsException
- if the operation failsprotected void registerNewDirectoryObjectNow(S_LibrarySession sess, long id) throws IfsException
sess
- the sessionid
- the DirectoryObject IDIfsException
- if the operation failsprotected void unregisterFreedDirectoryObjectNow(S_LibrarySession sess, long id) throws IfsException
sess
- the sessionid
- the DirectoryObject IDIfsException
- if the operation failsprotected void addToGroupNow(S_LibrarySession sess, long parentid, long childid) throws IfsException
sess
- the sessionparentid
- the group IDchildid
- the member IDIfsException
- if the operation failsprotected void removeFromGroupNow(S_LibrarySession sess, long parentid, long childid) throws IfsException
sess
- the sessionparentid
- the group IDchildid
- the member IDIfsException
- if the operation failsprotected void breakCycle(S_LibrarySession sess, Long leftId, Long rightId) throws IfsException
sess
- the session contextleftId
- the parent IDrightId
- the child IDIfsException
- if the operation failsCopyright © 2023. All rights reserved.