AbstractHomeFolderProvider2
should now be used.public abstract class AbstractHomeFolderProvider extends Object implements HomeFolderProvider, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean
Modifier and Type | Class and Description |
---|---|
class |
AbstractHomeFolderProvider.V2Adaptor
Deprecated.
Adaptor to the HomeFolderProvider2 interface.
|
Policy.Arg
QNAME
Constructor and Description |
---|
AbstractHomeFolderProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
Register with the homeFolderManagewr
|
protected abstract HomeSpaceNodeRef |
getHomeFolder(org.alfresco.service.cmr.repository.NodeRef person)
Deprecated.
Abstract implementation to find/create the appropriate home space.
|
protected PortableHomeFolderManager |
getHomeFolderManager()
Deprecated.
Get the home folder manager.
|
String |
getName()
Deprecated.
Get the provider name
|
PermissionsManager |
getOnCreatePermissionsManager()
Deprecated.
Gets the PermissionsManager used on creating the home folder
|
PermissionsManager |
getOnReferencePermissionsManager()
Deprecated.
Gets the PermissionsManager used on referencing the home folder
|
String |
getOwnerOnCreate()
Deprecated.
Get the authority to use as the owner of all home folder nodes.
|
protected String |
getPath()
Deprecated.
Get the path
|
protected org.alfresco.service.cmr.repository.NodeRef |
getPathNodeRef()
Deprecated.
Cache path to node resolution
|
protected ServiceRegistry |
getServiceRegistry()
Deprecated.
Get the service registry.
|
protected org.alfresco.service.cmr.repository.StoreRef |
getStoreRef()
Deprecated.
Get the store ref
|
protected AbstractHomeFolderProvider.V2Adaptor |
getV2Adaptor()
Deprecated.
Get adaptor for this instance to be a HomeFolderProvider2
|
void |
onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
Deprecated.
The implementation of the policy binding.
|
protected org.alfresco.service.cmr.repository.NodeRef |
resolvePath(String pathToResolve)
Deprecated.
Utility method to resolve paths to nodes.
|
void |
setBeanName(String name)
Deprecated.
The provider name is taken from the bean name
|
void |
setHomeFolderManager(PortableHomeFolderManager homeFolderManager)
Deprecated.
Set the home folder manager.
|
void |
setOnCreatePermissionsManager(PermissionsManager onCreatePermissionsManager)
Deprecated.
Set the permission manager
|
void |
setOnReferencePermissionsManager(PermissionsManager onReferencePermissionsManager)
Deprecated.
|
void |
setOwnerOnCreate(String ownerOnCreate)
Deprecated.
Set the authority to use as the owner of all home folder nodes.
|
void |
setPath(String path)
Deprecated.
Set the path
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Deprecated.
Set the service registry.
|
void |
setStoreRef(org.alfresco.service.cmr.repository.StoreRef storeRef)
Deprecated.
Set the store ref
|
void |
setStoreUrl(String storeUrl)
Deprecated.
Set the store from the string url.
|
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
Deprecated.
Set the tenant service
|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected PortableHomeFolderManager getHomeFolderManager()
public void setHomeFolderManager(PortableHomeFolderManager homeFolderManager)
homeFolderManager
- PortableHomeFolderManagerpublic String getName()
getName
in interface HomeFolderProvider
public void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
protected String getPath()
public void setPath(String path)
protected org.alfresco.service.cmr.repository.StoreRef getStoreRef()
public void setStoreRef(org.alfresco.service.cmr.repository.StoreRef storeRef)
public void setStoreUrl(String storeUrl)
protected ServiceRegistry getServiceRegistry()
public void setServiceRegistry(ServiceRegistry serviceRegistry)
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public void setOnCreatePermissionsManager(PermissionsManager onCreatePermissionsManager)
public PermissionsManager getOnCreatePermissionsManager()
public void setOnReferencePermissionsManager(PermissionsManager onReferencePermissionsManager)
public PermissionsManager getOnReferencePermissionsManager()
public void setOwnerOnCreate(String ownerOnCreate)
public String getOwnerOnCreate()
protected org.alfresco.service.cmr.repository.NodeRef getPathNodeRef()
protected org.alfresco.service.cmr.repository.NodeRef resolvePath(String pathToResolve)
public void onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
onCreateNode
in interface NodeServicePolicies.OnCreateNodePolicy
childAssocRef
- the created child association referenceprotected abstract HomeSpaceNodeRef getHomeFolder(org.alfresco.service.cmr.repository.NodeRef person)
protected AbstractHomeFolderProvider.V2Adaptor getV2Adaptor()
Copyright © 2005–2017 Alfresco Software. All rights reserved.