Package fr.becpg.repo.security.impl
Class BeCPGOwnableServiceImpl
java.lang.Object
org.alfresco.repo.ownable.impl.OwnableServiceImpl
fr.becpg.repo.security.impl.BeCPGOwnableServiceImpl
- All Implemented Interfaces:
org.alfresco.repo.node.NodeServicePolicies.OnAddAspectPolicy,org.alfresco.repo.node.NodeServicePolicies.OnDeleteNodePolicy,org.alfresco.repo.node.NodeServicePolicies.OnRemoveAspectPolicy,org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy,org.alfresco.repo.policy.ClassPolicy,org.alfresco.repo.policy.Policy,org.alfresco.service.cmr.security.OwnableService,org.springframework.beans.factory.InitializingBean
public class BeCPGOwnableServiceImpl
extends org.alfresco.repo.ownable.impl.OwnableServiceImpl
BeCPGOwnableServiceImpl class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
org.alfresco.repo.policy.Policy.Arg -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate EntityDictionaryServiceprivate org.alfresco.repo.cache.SimpleCache<org.alfresco.service.cmr.repository.NodeRef,String> private org.alfresco.service.cmr.repository.NodeServiceprivate org.alfresco.service.cmr.rendition.RenditionServiceprivate org.alfresco.repo.tenant.TenantServiceFields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnAddAspectPolicy
QNAMEFields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnDeleteNodePolicy
QNAMEFields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnRemoveAspectPolicy
QNAMEFields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy
ARG_0, ARG_1, ARG_2, QNAMEFields inherited from interface org.alfresco.service.cmr.security.OwnableService
NO_OWNERFields inherited from interface org.alfresco.repo.policy.Policy
NAMESPACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOwner(org.alfresco.service.cmr.repository.NodeRef nodeRef) private voidlocalCacheOwner(org.alfresco.service.cmr.repository.NodeRef nodeRef, String userName) private booleanlocalIsRendition(org.alfresco.service.cmr.repository.NodeRef node) voidsetDisableOwner(boolean disableOwner) Setter for the fielddisableOwner.voidsetEntityDictionaryService(EntityDictionaryService entityDictionaryService) Setter for the fieldentityDictionaryService.voidsetNodeOwnerCache(org.alfresco.repo.cache.SimpleCache<org.alfresco.service.cmr.repository.NodeRef, String> ownerCache) voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) voidsetRenditionService(org.alfresco.service.cmr.rendition.RenditionService renditionService) voidsetStoresToIgnorePolicies(Set<String> storesToIgnorePolicies) voidsetTenantService(org.alfresco.repo.tenant.TenantService tenantService) Methods inherited from class org.alfresco.repo.ownable.impl.OwnableServiceImpl
afterPropertiesSet, hasOwner, init, onAddAspect, onCopyNode, onDeleteNode, onRemoveAspect, onUpdateProperties, setAuthenticationService, setOwner, setPolicyComponent, takeOwnership
-
Field Details
-
disableOwner
private boolean disableOwner -
entityDictionaryService
-
nodeService
private org.alfresco.service.cmr.repository.NodeService nodeService -
nodeOwnerCache
private org.alfresco.repo.cache.SimpleCache<org.alfresco.service.cmr.repository.NodeRef,String> nodeOwnerCache -
tenantService
private org.alfresco.repo.tenant.TenantService tenantService -
storesToIgnorePolicies
-
renditionService
private org.alfresco.service.cmr.rendition.RenditionService renditionService -
URI_TO_EXCLUDES
-
-
Constructor Details
-
BeCPGOwnableServiceImpl
public BeCPGOwnableServiceImpl()Constructor for BeCPGOwnableServiceImpl.
-
-
Method Details
-
setDisableOwner
public void setDisableOwner(boolean disableOwner) Setter for the field
disableOwner.- Parameters:
disableOwner- a boolean.
-
setEntityDictionaryService
Setter for the field
entityDictionaryService.- Parameters:
entityDictionaryService- aEntityDictionaryServiceobject.
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) - Overrides:
setNodeServicein classorg.alfresco.repo.ownable.impl.OwnableServiceImpl
-
setTenantService
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService) - Overrides:
setTenantServicein classorg.alfresco.repo.ownable.impl.OwnableServiceImpl
-
setStoresToIgnorePolicies
- Overrides:
setStoresToIgnorePoliciesin classorg.alfresco.repo.ownable.impl.OwnableServiceImpl
-
setNodeOwnerCache
public void setNodeOwnerCache(org.alfresco.repo.cache.SimpleCache<org.alfresco.service.cmr.repository.NodeRef, String> ownerCache) - Overrides:
setNodeOwnerCachein classorg.alfresco.repo.ownable.impl.OwnableServiceImpl
-
setRenditionService
public void setRenditionService(org.alfresco.service.cmr.rendition.RenditionService renditionService) - Overrides:
setRenditionServicein classorg.alfresco.repo.ownable.impl.OwnableServiceImpl
-
getOwner
- Specified by:
getOwnerin interfaceorg.alfresco.service.cmr.security.OwnableService- Overrides:
getOwnerin classorg.alfresco.repo.ownable.impl.OwnableServiceImpl
-
localCacheOwner
-
localIsRendition
private boolean localIsRendition(org.alfresco.service.cmr.repository.NodeRef node)
-