public class AccessControlListProxyService extends Object implements SubService
Modifier and Type | Field and Description |
---|---|
static String |
ACLPROXY_TABLENAME |
protected AccessControlListIndexService |
m_AclIndexService
The AccessControlListIndexService that encloses this instance.
|
protected S_LibraryService |
m_Service
The S_LibraryService to which this instance belongs.
|
Modifier | Constructor and Description |
---|---|
protected |
AccessControlListProxyService(S_LibraryService service,
AccessControlListIndexService aclIndexServ)
Construct an AccessControlListProxyService.
|
Modifier and Type | Method and Description |
---|---|
protected void |
deleteAllSecuredPublicObject(S_LibrarySession sess,
Long securing)
Delete all ACL Proxy entries for a specified Securing object
|
protected void |
deleteSecuredPublicObject(S_LibrarySession sess,
Long securing,
Long secured)
Delete an ACL Proxy entry
|
void |
dispose()
Terminate this subservice.
|
protected S_PublicObject[] |
getSecuredPublicObjects(S_LibrarySession sess,
Long id)
Get the Secured PublicObjects.
|
protected S_PublicObject[] |
getSecuredPublicObjectsLite(S_LibrarySession sess,
Long id)
Gets all the objects secured by the given public objects.
|
protected void |
insertSecuredPublicObject(S_LibrarySession sess,
Long securing,
Long secured,
Long securedClass)
Add an ACL Proxy entry.
|
protected void |
updateSecurityForPublicObjectsSecuredByUs(S_LibrarySession sess,
Long securingId,
PropagatingSecuritySettings psec)
Updates the security settings of the secured public object
upon a change in the security of the securing public object.
|
public static final String ACLPROXY_TABLENAME
protected S_LibraryService m_Service
protected AccessControlListIndexService m_AclIndexService
protected AccessControlListProxyService(S_LibraryService service, AccessControlListIndexService aclIndexServ) throws IfsException
service
- the S_LibraryService that owns this instanceaclIndexServ
- the AccessControlListIndexService that
controls this instanceIfsException
- if operation fails.public 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 S_PublicObject[] getSecuredPublicObjects(S_LibrarySession sess, Long id) throws IfsException
sess
- requesting sessionid
- ACL idIfsException
- if operation fails.protected S_PublicObject[] getSecuredPublicObjectsLite(S_LibrarySession sess, Long id) throws IfsException
sess
- session contextid
- id of the securing objectIfsException
- if the operation failsprotected void insertSecuredPublicObject(S_LibrarySession sess, Long securing, Long secured, Long securedClass) throws IfsException
sess
- requesting sessionsecuring
- the Securing PublicObject idsecured
- the Secured PublicObject idsecuredClass
- the class id of the secured poIfsException
- if operation fails.protected void deleteSecuredPublicObject(S_LibrarySession sess, Long securing, Long secured) throws IfsException
sess
- requesting sessionsecuring
- the Securing PublicObject idsecured
- the Secured PublicObject idIfsException
- if operation fails.protected void deleteAllSecuredPublicObject(S_LibrarySession sess, Long securing) throws IfsException
sess
- requesting sessionsecuring
- the Securing PublicObject idIfsException
- if operation fails.protected void updateSecurityForPublicObjectsSecuredByUs(S_LibrarySession sess, Long securingId, PropagatingSecuritySettings psec) throws IfsException
sess
- requesting sessionsecuringId
- the securing PublicObject idpsec
- the security settings to propagateIfsException
- if operation fails.Copyright © 2023. All rights reserved.