Class AbstractHomeFolderProvider
java.lang.Object
org.alfresco.repo.security.person.AbstractHomeFolderProvider
- All Implemented Interfaces:
NodeServicePolicies.OnCreateNodePolicy,ClassPolicy,Policy,HomeFolderProvider,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
ExistingPathBasedHomeFolderProvider
public abstract class AbstractHomeFolderProvider
extends Object
implements HomeFolderProvider, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
Deprecated.
Common support for creating home folders This is hooked into node creation events from Person type objects via the
homeFolderManager. Provider must all be wired up to the homeFolderManager.
- Author:
- Andy Hind
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDeprecated.Adaptor to the HomeFolderProvider2 interface.Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg -
Field Summary
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy
QNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Register with the homeFolderManagewrprotected abstract HomeSpaceNodeRefgetHomeFolder(NodeRef person) Deprecated.Abstract implementation to find/create the appropriate home space.protected PortableHomeFolderManagerDeprecated.Get the home folder manager.getName()Deprecated.Get the provider nameDeprecated.Gets the PermissionsManager used on creating the home folderDeprecated.Gets the PermissionsManager used on referencing the home folderDeprecated.Get the authority to use as the owner of all home folder nodes.protected StringgetPath()Deprecated.Get the pathprotected NodeRefDeprecated.Cache path to node resolutionprotected ServiceRegistryDeprecated.Get the service registry.protected StoreRefDeprecated.Get the store refprotected AbstractHomeFolderProvider.V2AdaptorDeprecated.Get adaptor for this instance to be a HomeFolderProvider2voidonCreateNode(ChildAssociationRef childAssocRef) Deprecated.The implementation of the policy binding.protected NodeRefresolvePath(String pathToResolve) Deprecated.Utility method to resolve paths to nodes.voidsetBeanName(String name) Deprecated.The provider name is taken from the bean namevoidsetHomeFolderManager(PortableHomeFolderManager homeFolderManager) Deprecated.Set the home folder manager.voidsetOnCreatePermissionsManager(PermissionsManager onCreatePermissionsManager) Deprecated.Set the permission managervoidsetOnReferencePermissionsManager(PermissionsManager onReferencePermissionsManager) Deprecated.voidsetOwnerOnCreate(String ownerOnCreate) Deprecated.Set the authority to use as the owner of all home folder nodes.voidDeprecated.Set the pathvoidsetServiceRegistry(ServiceRegistry serviceRegistry) Deprecated.Set the service registry.voidsetStoreRef(StoreRef storeRef) Deprecated.Set the store refvoidsetStoreUrl(String storeUrl) Deprecated.Set the store from the string url.voidsetTenantService(TenantService tenantService) Deprecated.Set the tenant service
-
Constructor Details
-
AbstractHomeFolderProvider
public AbstractHomeFolderProvider()Deprecated.
-
-
Method Details
-
afterPropertiesSet
Deprecated.Register with the homeFolderManagewr- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getHomeFolderManager
Deprecated.Get the home folder manager. -
setHomeFolderManager
Deprecated.Set the home folder manager.- Parameters:
homeFolderManager- PortableHomeFolderManager
-
getName
Deprecated.Get the provider name- Specified by:
getNamein interfaceHomeFolderProvider- Returns:
- String
-
setBeanName
Deprecated.The provider name is taken from the bean name- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware
-
getPath
Deprecated.Get the path -
setPath
Deprecated.Set the path -
getStoreRef
Deprecated.Get the store ref -
setStoreRef
Deprecated.Set the store ref -
setStoreUrl
Deprecated.Set the store from the string url. -
getServiceRegistry
Deprecated.Get the service registry. -
setServiceRegistry
Deprecated.Set the service registry. -
setTenantService
Deprecated.Set the tenant service -
setOnCreatePermissionsManager
Deprecated.Set the permission manager -
getOnCreatePermissionsManager
Deprecated.Gets the PermissionsManager used on creating the home folder -
setOnReferencePermissionsManager
Deprecated. -
getOnReferencePermissionsManager
Deprecated.Gets the PermissionsManager used on referencing the home folder -
setOwnerOnCreate
Deprecated.Set the authority to use as the owner of all home folder nodes. -
getOwnerOnCreate
Deprecated.Get the authority to use as the owner of all home folder nodes. -
getPathNodeRef
Deprecated.Cache path to node resolution -
resolvePath
Deprecated.Utility method to resolve paths to nodes. -
onCreateNode
Deprecated.The implementation of the policy binding. Run as the system user for auditing.- Specified by:
onCreateNodein interfaceNodeServicePolicies.OnCreateNodePolicy- Parameters:
childAssocRef- the created child association reference
-
getHomeFolder
Deprecated.Abstract implementation to find/create the appropriate home space. -
getV2Adaptor
Deprecated.Get adaptor for this instance to be a HomeFolderProvider2
-
AbstractHomeFolderProvider2should now be used.