Class NodeBrowserPost

  • All Implemented Interfaces:
    Serializable, org.springframework.extensions.webscripts.WebScript

    public class NodeBrowserPost
    extends org.springframework.extensions.webscripts.DeclarativeWebScript
    implements Serializable
    Admin Console NodeBrowser WebScript POST controller.

    Implements a low-level node browser client for the Admin Console tool.

    Since:
    5.1
    Author:
    Kevin Roast
    See Also:
    Serialized Form
    • Constructor Detail

      • NodeBrowserPost

        public NodeBrowserPost()
    • Method Detail

      • setTransactionService

        public void setTransactionService​(TransactionService transactionService)
        Parameters:
        transactionService - transaction service
      • setNodeService

        public void setNodeService​(NodeService nodeService)
        Parameters:
        nodeService - node service
      • getNodeService

        protected NodeService getNodeService()
      • setSearchService

        public void setSearchService​(SearchService searchService)
        Parameters:
        searchService - search service
      • setDictionaryService

        public void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
        Parameters:
        dictionaryService - dictionary service
      • getDictionaryService

        protected org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
      • setNamespaceService

        public void setNamespaceService​(org.alfresco.service.namespace.NamespaceService namespaceService)
        Parameters:
        namespaceService - namespace service
      • getNamespaceService

        protected org.alfresco.service.namespace.NamespaceService getNamespaceService()
      • setPermissionService

        public void setPermissionService​(PermissionService permissionService)
        Parameters:
        permissionService - permission service
      • setOwnableService

        public void setOwnableService​(OwnableService ownableService)
      • setLockService

        public void setLockService​(LockService lockService)
      • getLockService

        protected LockService getLockService()
      • getStores

        public List<StoreRef> getStores()
        Gets the list of repository stores
        Returns:
        stores
      • getNodeType

        public org.alfresco.service.namespace.QName getNodeType​(NodeRef nodeRef)
        Gets the current node type
        Returns:
        node type
      • getPrimaryPath

        public String getPrimaryPath​(NodeRef nodeRef)
        Gets the current node primary path
        Returns:
        primary path
      • getPrimaryPrefixedPath

        public String getPrimaryPrefixedPath​(NodeRef nodeRef)
        Gets the current node primary path
        Returns:
        primary path
      • getPrimaryParent

        public NodeRef getPrimaryParent​(NodeRef nodeRef)
        Gets the current node primary parent reference
        Returns:
        primary parent ref
      • getInheritPermissions

        public boolean getInheritPermissions​(NodeRef nodeRef)
        Gets whether the current node inherits its permissions from a parent node
        Returns:
        true => inherits permissions
      • executeImpl

        protected Map<String,​Object> executeImpl​(org.springframework.extensions.webscripts.WebScriptRequest req,
                                                       org.springframework.extensions.webscripts.Status status,
                                                       org.springframework.extensions.webscripts.Cache cache)
        Overrides:
        executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript