Class NodeBrowserPost

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.admin.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:
  • Constructor Details

    • NodeBrowserPost

      public NodeBrowserPost()
  • Method Details

    • setTransactionService

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

      protected TransactionService getTransactionService()
    • setNodeService

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

      protected NodeService getNodeService()
    • setSearchService

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

      protected SearchService getSearchService()
    • 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
    • getPermissionService

      protected PermissionService getPermissionService()
    • setOwnableService

      public void setOwnableService(OwnableService ownableService)
    • getOwnableService

      protected OwnableService getOwnableService()
    • setLockService

      public void setLockService(LockService lockService)
    • getLockService

      protected LockService getLockService()
    • setCheckOutCheckInService

      public void setCheckOutCheckInService(CheckOutCheckInService cociService)
    • getCheckOutCheckInService

      protected CheckOutCheckInService getCheckOutCheckInService()
    • 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
    • getAspects

      public List<NodeBrowserPost.Aspect> getAspects(NodeRef nodeRef)
      Gets the current node aspects
      Returns:
      node aspects
    • getParents

      public List<NodeBrowserPost.ChildAssociation> getParents(NodeRef nodeRef)
      Gets the current node parents
      Returns:
      node parents
    • getProperties

      public List<NodeBrowserPost.Property> getProperties(NodeRef nodeRef)
      Gets the current node properties
      Returns:
      properties
    • getInheritPermissions

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

      public List<NodeBrowserPost.Permission> getPermissions(NodeRef nodeRef)
      Gets the current node permissions
      Returns:
      the permissions
    • getStorePermissionMasks

      public List<NodeBrowserPost.Permission> getStorePermissionMasks(NodeRef nodeRef)
      Gets the current node permissions
      Returns:
      the permissions
    • getChildren

      public List<NodeBrowserPost.ChildAssociation> getChildren(NodeRef nodeRef)
      Gets the current node children
      Returns:
      node children
    • getAssocs

      public List<NodeBrowserPost.PeerAssociation> getAssocs(NodeRef nodeRef)
      Gets the current node associations
      Returns:
      associations
    • getSourceAssocs

      public List<NodeBrowserPost.PeerAssociation> getSourceAssocs(NodeRef nodeRef)
      Gets the current source associations
      Returns:
      associations
    • 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