public class NodeBrowserScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Class and Description |
|---|---|
class |
NodeBrowserScript.Aspect
Aspect wrapper class
|
class |
NodeBrowserScript.Association
Association wrapper class
|
class |
NodeBrowserScript.ChildAssociation
Child assoc wrapper class
|
class |
NodeBrowserScript.Node
Node wrapper class
|
static class |
NodeBrowserScript.NoReadPermissionGranted
Permission representing the fact that "Read Permissions" has not been granted
|
static class |
NodeBrowserScript.NoStoreMask |
class |
NodeBrowserScript.PeerAssociation
Peer assoc wrapper class
|
static class |
NodeBrowserScript.Permission
Permission bean
|
class |
NodeBrowserScript.Property
Property wrapper class
|
class |
NodeBrowserScript.QNameBean
Qname wrapper class
|
| Constructor and Description |
|---|
NodeBrowserScript() |
| 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<NodeBrowserScript.Aspect> |
getAspects(NodeRef nodeRef)
Gets the current node aspects
|
List<NodeBrowserScript.PeerAssociation> |
getAssocs(NodeRef nodeRef)
Gets the current node associations
|
List<Map<String,String>> |
getAVMStoreProperties(NodeRef nodeRef) |
List<NodeBrowserScript.ChildAssociation> |
getChildren(NodeRef nodeRef)
Gets the current node children
|
boolean |
getInAVMStore(NodeRef nodeRef) |
boolean |
getInheritPermissions(NodeRef nodeRef)
Gets whether the current node inherits its permissions from a parent node
|
org.alfresco.service.namespace.QName |
getNodeType(NodeRef nodeRef)
Gets the current node type
|
OwnableService |
getOwnableService() |
List<NodeBrowserScript.ChildAssociation> |
getParents(NodeRef nodeRef)
Gets the current node parents
|
List<NodeBrowserScript.Permission> |
getPermissions(NodeRef nodeRef)
Gets the current node permissions
|
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<NodeBrowserScript.Property> |
getProperties(NodeRef nodeRef)
Gets the current node properties
|
protected Long |
getSearchElapsedTime() |
List<NodeBrowserScript.PeerAssociation> |
getSourceAssocs(NodeRef nodeRef)
Gets the current source associations
|
List<NodeBrowserScript.Permission> |
getStorePermissionMasks(NodeRef nodeRef)
Gets the current node permissions
|
List<StoreRef> |
getStores()
Gets the list of repository stores
|
void |
setAVMService(AVMService avmService) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
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) |
List<NodeBrowserScript.Node> |
submitSearch(String store,
String query,
String queryLanguage,
int maxResults)
Action to submit search
|
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 servicepublic void setNodeService(NodeService nodeService)
nodeService - node servicepublic void setSearchService(SearchService searchService)
searchService - search servicepublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - dictionary servicepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService - namespace servicepublic void setPermissionService(PermissionService permissionService)
permissionService - permission servicepublic void setOwnableService(OwnableService ownableService)
public OwnableService getOwnableService()
public void setAVMService(AVMService avmService)
avmService - AVM servicepublic org.alfresco.service.namespace.QName getNodeType(NodeRef nodeRef)
public String getPrimaryPath(NodeRef nodeRef)
public String getPrimaryPrefixedPath(NodeRef nodeRef)
public NodeRef getPrimaryParent(NodeRef nodeRef)
public List<NodeBrowserScript.Aspect> getAspects(NodeRef nodeRef)
public List<NodeBrowserScript.ChildAssociation> getParents(NodeRef nodeRef)
public List<NodeBrowserScript.Property> getProperties(NodeRef nodeRef)
public boolean getInheritPermissions(NodeRef nodeRef)
public List<NodeBrowserScript.Permission> getPermissions(NodeRef nodeRef)
public List<NodeBrowserScript.Permission> getStorePermissionMasks(NodeRef nodeRef)
public List<NodeBrowserScript.ChildAssociation> getChildren(NodeRef nodeRef)
public List<NodeBrowserScript.PeerAssociation> getAssocs(NodeRef nodeRef)
public List<NodeBrowserScript.PeerAssociation> getSourceAssocs(NodeRef nodeRef)
public boolean getInAVMStore(NodeRef nodeRef)
public List<NodeBrowserScript.Node> submitSearch(String store, String query, String queryLanguage, int maxResults) throws IOException
IOExceptionprotected Long getSearchElapsedTime()
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–2014 Alfresco Software. All rights reserved.