org.outerj.daisy.repository.commonimpl.acl
Class CommonAccessManager
java.lang.Object
org.outerj.daisy.repository.commonimpl.acl.CommonAccessManager
- public class CommonAccessManager
- extends java.lang.Object
Provides support for classes providing
AccessManager
functionality.
Most methods in this class correspond to the methods in
AccessManager
, but take
an additonal User argument. So check the javadoc over there for explanations of
these methods.
Method Summary |
void |
copyLiveToStaging(AuthenticatedUser user)
|
void |
copyStagingToLive(AuthenticatedUser user)
|
org.outerj.daisy.repository.VariantKey[] |
filterDocuments(AuthenticatedUser user,
org.outerj.daisy.repository.VariantKey[] variantKeys)
|
long[] |
filterDocumentTypes(AuthenticatedUser user,
long[] documentTypeIds,
long collectionId)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfoOnLive(AuthenticatedUser user,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfoOnLive(AuthenticatedUser user,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfoOnStaging(AuthenticatedUser user,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfoOnStaging(AuthenticatedUser user,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
|
org.outerj.daisy.repository.acl.Acl |
getLiveAcl(AuthenticatedUser user)
|
org.outerj.daisy.repository.acl.Acl |
getStagingAcl(AuthenticatedUser user)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonAccessManager
public CommonAccessManager(AclStrategy aclStrategy)
getLiveAcl
public org.outerj.daisy.repository.acl.Acl getLiveAcl(AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getStagingAcl
public org.outerj.daisy.repository.acl.Acl getStagingAcl(AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
copyStagingToLive
public void copyStagingToLive(AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
copyLiveToStaging
public void copyLiveToStaging(AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfoOnLive
public org.outerj.daisy.repository.acl.AclResultInfo getAclInfoOnLive(AuthenticatedUser user,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfoOnStaging
public org.outerj.daisy.repository.acl.AclResultInfo getAclInfoOnStaging(AuthenticatedUser user,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfoOnLive
public org.outerj.daisy.repository.acl.AclResultInfo getAclInfoOnLive(AuthenticatedUser user,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfoOnStaging
public org.outerj.daisy.repository.acl.AclResultInfo getAclInfoOnStaging(AuthenticatedUser user,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
filterDocumentTypes
public long[] filterDocumentTypes(AuthenticatedUser user,
long[] documentTypeIds,
long collectionId)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
filterDocuments
public org.outerj.daisy.repository.VariantKey[] filterDocuments(AuthenticatedUser user,
org.outerj.daisy.repository.VariantKey[] variantKeys)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2005 . All Rights Reserved.