Class 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.
    Depreciated since 4.0. AbstractHomeFolderProvider2 should now be used.
    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
    • Constructor Detail

      • AbstractHomeFolderProvider

        public AbstractHomeFolderProvider()
        Deprecated.
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Deprecated.
        Register with the homeFolderManagewr
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • setHomeFolderManager

        public void setHomeFolderManager​(PortableHomeFolderManager homeFolderManager)
        Deprecated.
        Set the home folder manager.
        Parameters:
        homeFolderManager - PortableHomeFolderManager
      • setBeanName

        public void setBeanName​(String name)
        Deprecated.
        The provider name is taken from the bean name
        Specified by:
        setBeanName in interface org.springframework.beans.factory.BeanNameAware
      • getPath

        protected String getPath()
        Deprecated.
        Get the path
      • setPath

        public void setPath​(String path)
        Deprecated.
        Set the path
      • getStoreRef

        protected StoreRef getStoreRef()
        Deprecated.
        Get the store ref
      • setStoreRef

        public void setStoreRef​(StoreRef storeRef)
        Deprecated.
        Set the store ref
      • setStoreUrl

        public void setStoreUrl​(String storeUrl)
        Deprecated.
        Set the store from the string url.
      • getServiceRegistry

        protected ServiceRegistry getServiceRegistry()
        Deprecated.
        Get the service registry.
      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)
        Deprecated.
        Set the service registry.
      • setTenantService

        public void setTenantService​(TenantService tenantService)
        Deprecated.
        Set the tenant service
      • setOnCreatePermissionsManager

        public void setOnCreatePermissionsManager​(PermissionsManager onCreatePermissionsManager)
        Deprecated.
        Set the permission manager
      • getOnCreatePermissionsManager

        public PermissionsManager getOnCreatePermissionsManager()
        Deprecated.
        Gets the PermissionsManager used on creating the home folder
      • setOnReferencePermissionsManager

        public void setOnReferencePermissionsManager​(PermissionsManager onReferencePermissionsManager)
        Deprecated.
      • getOnReferencePermissionsManager

        public PermissionsManager getOnReferencePermissionsManager()
        Deprecated.
        Gets the PermissionsManager used on referencing the home folder
      • setOwnerOnCreate

        public void setOwnerOnCreate​(String ownerOnCreate)
        Deprecated.
        Set the authority to use as the owner of all home folder nodes.
      • getOwnerOnCreate

        public String getOwnerOnCreate()
        Deprecated.
        Get the authority to use as the owner of all home folder nodes.
      • getPathNodeRef

        protected NodeRef getPathNodeRef()
        Deprecated.
        Cache path to node resolution
      • resolvePath

        protected NodeRef resolvePath​(String pathToResolve)
        Deprecated.
        Utility method to resolve paths to nodes.
      • getHomeFolder

        protected abstract HomeSpaceNodeRef getHomeFolder​(NodeRef person)
        Deprecated.
        Abstract implementation to find/create the appropriate home space.