public class NodeBrowserPost extends org.springframework.extensions.webscripts.DeclarativeWebScript implements Serializable
Implements a low-level node browser client for the Admin Console tool.
Modifier and Type | Class and Description |
---|---|
class |
NodeBrowserPost.Aspect
Aspect wrapper class
|
class |
NodeBrowserPost.Association
Association wrapper class
|
class |
NodeBrowserPost.ChildAssociation
Child assoc wrapper class
|
class |
NodeBrowserPost.ChildAssocRefWrapper
Wrapper to resolve Assoc Type and QName to short form with resolved prefix
|
class |
NodeBrowserPost.Node
Node wrapper class
|
static class |
NodeBrowserPost.NoReadPermissionGranted
Permission representing the fact that "Read Permissions" has not been granted
|
static class |
NodeBrowserPost.NoStoreMask |
class |
NodeBrowserPost.PeerAssociation
Peer assoc wrapper class
|
static class |
NodeBrowserPost.Permission
Permission bean
|
class |
NodeBrowserPost.Property
Property wrapper class
|
class |
NodeBrowserPost.QNameBean
Qname wrapper class
|
Constructor and Description |
---|
NodeBrowserPost() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
List<NodeBrowserPost.Aspect> |
getAspects(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node aspects
|
List<NodeBrowserPost.PeerAssociation> |
getAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node associations
|
protected CheckOutCheckInService |
getCheckOutCheckInService() |
List<NodeBrowserPost.ChildAssociation> |
getChildren(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node children
|
protected org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService() |
boolean |
getInheritPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets whether the current node inherits its permissions from a parent node
|
protected LockService |
getLockService() |
protected org.alfresco.service.namespace.NamespaceService |
getNamespaceService() |
protected org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
org.alfresco.service.namespace.QName |
getNodeType(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node type
|
protected OwnableService |
getOwnableService() |
List<NodeBrowserPost.ChildAssociation> |
getParents(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node parents
|
List<NodeBrowserPost.Permission> |
getPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node permissions
|
protected org.alfresco.service.cmr.security.PermissionService |
getPermissionService() |
org.alfresco.service.cmr.repository.NodeRef |
getPrimaryParent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node primary parent reference
|
String |
getPrimaryPath(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node primary path
|
String |
getPrimaryPrefixedPath(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node primary path
|
List<NodeBrowserPost.Property> |
getProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node properties
|
protected org.alfresco.service.cmr.search.SearchService |
getSearchService() |
List<NodeBrowserPost.PeerAssociation> |
getSourceAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current source associations
|
List<NodeBrowserPost.Permission> |
getStorePermissionMasks(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the current node permissions
|
List<org.alfresco.service.cmr.repository.StoreRef> |
getStores()
Gets the list of repository stores
|
protected TransactionService |
getTransactionService() |
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(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setOwnableService(OwnableService ownableService) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
void |
setTransactionService(TransactionService transactionService) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
public void setTransactionService(TransactionService transactionService)
transactionService
- transaction serviceprotected TransactionService getTransactionService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- node serviceprotected org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService
- search serviceprotected org.alfresco.service.cmr.search.SearchService getSearchService()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- dictionary serviceprotected org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- namespace serviceprotected org.alfresco.service.namespace.NamespaceService getNamespaceService()
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService
- permission serviceprotected org.alfresco.service.cmr.security.PermissionService getPermissionService()
public void setOwnableService(OwnableService ownableService)
protected OwnableService getOwnableService()
public void setLockService(LockService lockService)
protected LockService getLockService()
public void setCheckOutCheckInService(CheckOutCheckInService cociService)
protected CheckOutCheckInService getCheckOutCheckInService()
public List<org.alfresco.service.cmr.repository.StoreRef> getStores()
public org.alfresco.service.namespace.QName getNodeType(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public String getPrimaryPath(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public String getPrimaryPrefixedPath(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public org.alfresco.service.cmr.repository.NodeRef getPrimaryParent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.Aspect> getAspects(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.ChildAssociation> getParents(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.Property> getProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public boolean getInheritPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.Permission> getPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.Permission> getStorePermissionMasks(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.ChildAssociation> getChildren(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.PeerAssociation> getAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public List<NodeBrowserPost.PeerAssociation> getSourceAssocs(org.alfresco.service.cmr.repository.NodeRef nodeRef)
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl
in class org.springframework.extensions.webscripts.DeclarativeWebScript
Copyright © 2005–2017 Alfresco Software. All rights reserved.