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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassAspect wrapper classclassAssociation wrapper classclassChild assoc wrapper classclassWrapper to resolve Assoc Type and QName to short form with resolved prefixclassNode wrapper classstatic classPermission representing the fact that "Read Permissions" has not been grantedstatic classclassPeer assoc wrapper classstatic classPermission beanclassProperty wrapper classclassQname wrapper classNested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) getAspects(NodeRef nodeRef) Gets the current node aspectsGets the current node associationsprotected CheckOutCheckInServicegetChildren(NodeRef nodeRef) Gets the current node childrenprotected org.alfresco.service.cmr.dictionary.DictionaryServicebooleangetInheritPermissions(NodeRef nodeRef) Gets whether the current node inherits its permissions from a parent nodeprotected LockServiceprotected org.alfresco.service.namespace.NamespaceServiceprotected NodeServiceorg.alfresco.service.namespace.QNamegetNodeType(NodeRef nodeRef) Gets the current node typeprotected OwnableServicegetParents(NodeRef nodeRef) Gets the current node parentsgetPermissions(NodeRef nodeRef) Gets the current node permissionsprotected PermissionServicegetPrimaryParent(NodeRef nodeRef) Gets the current node primary parent referencegetPrimaryPath(NodeRef nodeRef) Gets the current node primary pathgetPrimaryPrefixedPath(NodeRef nodeRef) Gets the current node primary pathgetProperties(NodeRef nodeRef) Gets the current node propertiesprotected SearchServicegetSourceAssocs(NodeRef nodeRef) Gets the current source associationsgetStorePermissionMasks(NodeRef nodeRef) Gets the current node permissionsGets the list of repository storesprotected TransactionServicevoidsetCheckOutCheckInService(CheckOutCheckInService cociService) voidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) voidsetLockService(LockService lockService) voidsetNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) voidsetNodeService(NodeService nodeService) voidsetOwnableService(OwnableService ownableService) voidsetPermissionService(PermissionService permissionService) voidsetSearchService(SearchService searchService) voidsetTransactionService(TransactionService transactionService) Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Constructor Details
-
NodeBrowserPost
public NodeBrowserPost()
-
-
Method Details
-
setTransactionService
- Parameters:
transactionService- transaction service
-
getTransactionService
-
setNodeService
- Parameters:
nodeService- node service
-
getNodeService
-
setSearchService
- Parameters:
searchService- search service
-
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
- Parameters:
permissionService- permission service
-
getPermissionService
-
setOwnableService
-
getOwnableService
-
setLockService
-
getLockService
-
setCheckOutCheckInService
-
getCheckOutCheckInService
-
getStores
Gets the list of repository stores- Returns:
- stores
-
getNodeType
Gets the current node type- Returns:
- node type
-
getPrimaryPath
Gets the current node primary path- Returns:
- primary path
-
getPrimaryPrefixedPath
Gets the current node primary path- Returns:
- primary path
-
getPrimaryParent
Gets the current node primary parent reference- Returns:
- primary parent ref
-
getAspects
Gets the current node aspects- Returns:
- node aspects
-
getParents
Gets the current node parents- Returns:
- node parents
-
getProperties
Gets the current node properties- Returns:
- properties
-
getInheritPermissions
Gets whether the current node inherits its permissions from a parent node- Returns:
- true => inherits permissions
-
getPermissions
Gets the current node permissions- Returns:
- the permissions
-
getStorePermissionMasks
Gets the current node permissions- Returns:
- the permissions
-
getChildren
Gets the current node children- Returns:
- node children
-
getAssocs
Gets the current node associations- Returns:
- associations
-
getSourceAssocs
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:
executeImplin classorg.springframework.extensions.webscripts.DeclarativeWebScript
-