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(NodeRef nodeRef)
Gets the current node aspects
|
List<NodeBrowserPost.PeerAssociation> |
getAssocs(NodeRef nodeRef)
Gets the current node associations
|
protected CheckOutCheckInService |
getCheckOutCheckInService() |
List<NodeBrowserPost.ChildAssociation> |
getChildren(NodeRef nodeRef)
Gets the current node children
|
protected DictionaryService |
getDictionaryService() |
boolean |
getInheritPermissions(NodeRef nodeRef)
Gets whether the current node inherits its permissions from a parent node
|
protected LockService |
getLockService() |
protected NamespaceService |
getNamespaceService() |
protected NodeService |
getNodeService() |
QName |
getNodeType(NodeRef nodeRef)
Gets the current node type
|
protected OwnableService |
getOwnableService() |
List<NodeBrowserPost.ChildAssociation> |
getParents(NodeRef nodeRef)
Gets the current node parents
|
List<NodeBrowserPost.Permission> |
getPermissions(NodeRef nodeRef)
Gets the current node permissions
|
protected PermissionService |
getPermissionService() |
NodeRef |
getPrimaryParent(NodeRef nodeRef)
Gets the current node primary parent reference
|
String |
getPrimaryPath(NodeRef nodeRef)
Gets the current node primary path
|
String |
getPrimaryPrefixedPath(NodeRef nodeRef)
Gets the current node primary path
|
List<NodeBrowserPost.Property> |
getProperties(NodeRef nodeRef)
Gets the current node properties
|
protected SearchService |
getSearchService() |
List<NodeBrowserPost.PeerAssociation> |
getSourceAssocs(NodeRef nodeRef)
Gets the current source associations
|
List<NodeBrowserPost.Permission> |
getStorePermissionMasks(NodeRef nodeRef)
Gets the current node permissions
|
List<StoreRef> |
getStores()
Gets the list of repository stores
|
protected TransactionService |
getTransactionService() |
void |
setCheckOutCheckInService(CheckOutCheckInService cociService) |
void |
setDictionaryService(DictionaryService dictionaryService) |
void |
setLockService(LockService lockService) |
void |
setNamespaceService(NamespaceService namespaceService) |
void |
setNodeService(NodeService nodeService) |
void |
setOwnableService(OwnableService ownableService) |
void |
setPermissionService(PermissionService permissionService) |
void |
setSearchService(SearchService searchService) |
void |
setTransactionService(TransactionService transactionService) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringpublic void setTransactionService(TransactionService transactionService)
transactionService - transaction serviceprotected TransactionService getTransactionService()
public void setNodeService(NodeService nodeService)
nodeService - node serviceprotected NodeService getNodeService()
public void setSearchService(SearchService searchService)
searchService - search serviceprotected SearchService getSearchService()
public void setDictionaryService(DictionaryService dictionaryService)
dictionaryService - dictionary serviceprotected DictionaryService getDictionaryService()
public void setNamespaceService(NamespaceService namespaceService)
namespaceService - namespace serviceprotected NamespaceService getNamespaceService()
public void setPermissionService(PermissionService permissionService)
permissionService - permission serviceprotected 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 String getPrimaryPath(NodeRef nodeRef)
public String getPrimaryPrefixedPath(NodeRef nodeRef)
public NodeRef getPrimaryParent(NodeRef nodeRef)
public List<NodeBrowserPost.Aspect> getAspects(NodeRef nodeRef)
public List<NodeBrowserPost.ChildAssociation> getParents(NodeRef nodeRef)
public List<NodeBrowserPost.Property> getProperties(NodeRef nodeRef)
public boolean getInheritPermissions(NodeRef nodeRef)
public List<NodeBrowserPost.Permission> getPermissions(NodeRef nodeRef)
public List<NodeBrowserPost.Permission> getStorePermissionMasks(NodeRef nodeRef)
public List<NodeBrowserPost.ChildAssociation> getChildren(NodeRef nodeRef)
public List<NodeBrowserPost.PeerAssociation> getAssocs(NodeRef nodeRef)
public List<NodeBrowserPost.PeerAssociation> getSourceAssocs(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.DeclarativeWebScriptCopyright © 2005–2020 Alfresco Software. All rights reserved.