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 TypeClassDescriptionclass
Aspect wrapper classclass
Association wrapper classclass
Child assoc wrapper classclass
Wrapper to resolve Assoc Type and QName to short form with resolved prefixclass
Node wrapper classstatic class
Permission representing the fact that "Read Permissions" has not been grantedstatic class
class
Peer assoc wrapper classstatic class
Permission beanclass
Property wrapper classclass
Qname 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 CheckOutCheckInService
getChildren
(NodeRef nodeRef) Gets the current node childrenprotected org.alfresco.service.cmr.dictionary.DictionaryService
boolean
getInheritPermissions
(NodeRef nodeRef) Gets whether the current node inherits its permissions from a parent nodeprotected LockService
protected org.alfresco.service.namespace.NamespaceService
protected NodeService
org.alfresco.service.namespace.QName
getNodeType
(NodeRef nodeRef) Gets the current node typeprotected OwnableService
getParents
(NodeRef nodeRef) Gets the current node parentsgetPermissions
(NodeRef nodeRef) Gets the current node permissionsprotected PermissionService
getPrimaryParent
(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 SearchService
getSourceAssocs
(NodeRef nodeRef) Gets the current source associationsgetStorePermissionMasks
(NodeRef nodeRef) Gets the current node permissionsGets the list of repository storesprotected TransactionService
void
setCheckOutCheckInService
(CheckOutCheckInService cociService) void
setDictionaryService
(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) void
setLockService
(LockService lockService) void
setNamespaceService
(org.alfresco.service.namespace.NamespaceService namespaceService) void
setNodeService
(NodeService nodeService) void
setOwnableService
(OwnableService ownableService) void
setPermissionService
(PermissionService permissionService) void
setSearchService
(SearchService searchService) void
setTransactionService
(TransactionService transactionService) Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods 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:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
-