org.outerj.daisy.repository.clientimpl.acl
Class RemoteAclStrategy
java.lang.Object
org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
org.outerj.daisy.repository.clientimpl.acl.RemoteAclStrategy
- All Implemented Interfaces:
- org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- public class RemoteAclStrategy
- extends AbstractRemoteStrategy
- implements org.outerj.daisy.repository.commonimpl.acl.AclStrategy
Fields inherited from interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy |
LIVE_ACL_ID, STAGING_ACL_ID |
Method Summary |
void |
copyLiveToStaging(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
void |
copyStagingToLive(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.VariantKey[] |
filterDocuments(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
org.outerj.daisy.repository.VariantKey[] variantKeys)
|
long[] |
filterDocumentTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
long[] documentTypeIds,
long collectionId)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfo(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
|
org.outerj.daisy.repository.acl.AclResultInfo |
getAclInfo(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
|
org.outerj.daisy.repository.commonimpl.acl.AclImpl |
loadAcl(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
void |
storeAcl(org.outerj.daisy.repository.commonimpl.acl.AclImpl acl)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteAclStrategy
public RemoteAclStrategy(RemoteRepositoryManager.Context context)
loadAcl
public org.outerj.daisy.repository.commonimpl.acl.AclImpl loadAcl(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
loadAcl
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
storeAcl
public void storeAcl(org.outerj.daisy.repository.commonimpl.acl.AclImpl acl)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
storeAcl
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
copyStagingToLive
public void copyStagingToLive(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
copyStagingToLive
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
copyLiveToStaging
public void copyLiveToStaging(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
copyLiveToStaging
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfo
public org.outerj.daisy.repository.acl.AclResultInfo getAclInfo(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
org.outerj.daisy.repository.Document document)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAclInfo
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getAclInfo
public org.outerj.daisy.repository.acl.AclResultInfo getAclInfo(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
long id,
long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAclInfo
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
filterDocumentTypes
public long[] filterDocumentTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
long[] documentTypeIds,
long collectionId)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
filterDocumentTypes
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
filterDocuments
public org.outerj.daisy.repository.VariantKey[] filterDocuments(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user,
org.outerj.daisy.repository.VariantKey[] variantKeys)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
filterDocuments
in interface org.outerj.daisy.repository.commonimpl.acl.AclStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2005 . All Rights Reserved.