org.outerj.daisy.repository.commonimpl.acl
Interface AclStrategy
public interface AclStrategy
Allows to customise the behaviour of the abstract implementation classes of the
repository ACL API.
For (important) general information about this and other strategy interfaces, see also
DocumentStrategy
.
Method Summary |
void |
copyLiveToStaging(AuthenticatedUser user)
|
void |
copyStagingToLive(AuthenticatedUser user)
|
org.outerj.daisy.repository.VariantKey[] |
filterDocuments(AuthenticatedUser user,
org.outerj.daisy.repository.VariantKey[] variantKeys,
org.outerj.daisy.repository.acl.AclPermission permission)
|
long[] |
filterDocumentTypes(AuthenticatedUser user,
long[] documentTypeIds,
long collectionId)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfo(AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfo(AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
|
AclImpl |
loadAcl(long id,
AuthenticatedUser user)
|
void |
storeAcl(AclImpl acl)
|
LIVE_ACL_ID
static final long LIVE_ACL_ID
- See Also:
- Constant Field Values
STAGING_ACL_ID
static final long STAGING_ACL_ID
- See Also:
- Constant Field Values
loadAcl
AclImpl loadAcl(long id,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
storeAcl
void storeAcl(AclImpl acl)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
copyStagingToLive
void copyStagingToLive(AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
copyLiveToStaging
void copyLiveToStaging(AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfo
org.outerj.daisy.repository.acl.AclResultInfo getAclInfo(AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfo
org.outerj.daisy.repository.acl.AclResultInfo getAclInfo(AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
filterDocumentTypes
long[] filterDocumentTypes(AuthenticatedUser user,
long[] documentTypeIds,
long collectionId)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
filterDocuments
org.outerj.daisy.repository.VariantKey[] filterDocuments(AuthenticatedUser user,
org.outerj.daisy.repository.VariantKey[] variantKeys,
org.outerj.daisy.repository.acl.AclPermission permission)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2012 . All Rights Reserved.