Class NodeBrowserScript
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.springframework.extensions.webscripts.DeclarativeWebScript
-
- org.alfresco.repo.web.scripts.admin.NodeBrowserPost
-
- org.alfresco.slingshot.web.scripts.NodeBrowserScript
-
- All Implemented Interfaces:
Serializable
,org.springframework.extensions.webscripts.WebScript
public class NodeBrowserScript extends NodeBrowserPost implements Serializable
Node browser web script to handle search results, node details and workspaces. Extends the NodeBrowserPost script to inherit useful helper classes.- Author:
- dcaruana, wabson
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.admin.NodeBrowserPost
NodeBrowserPost.Aspect, NodeBrowserPost.Association, NodeBrowserPost.ChildAssociation, NodeBrowserPost.ChildAssocRefWrapper, NodeBrowserPost.Node, NodeBrowserPost.NoReadPermissionGranted, NodeBrowserPost.NoStoreMask, NodeBrowserPost.PeerAssociation, NodeBrowserPost.Permission, NodeBrowserPost.Property, NodeBrowserPost.QNameBean
-
-
Constructor Summary
Constructors Constructor Description NodeBrowserScript()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
protected Long
getSearchElapsedTime()
List<NodeBrowserPost.Node>
submitSearch(String store, String query, String queryLanguage, int maxResults)
Action to submit search-
Methods inherited from class org.alfresco.repo.web.scripts.admin.NodeBrowserPost
getAspects, getAssocs, getCheckOutCheckInService, getChildren, getDictionaryService, getInheritPermissions, getLockService, getNamespaceService, getNodeService, getNodeType, getOwnableService, getParents, getPermissions, getPermissionService, getPrimaryParent, getPrimaryPath, getPrimaryPrefixedPath, getProperties, getSearchService, getSourceAssocs, getStorePermissionMasks, getStores, getTransactionService, setCheckOutCheckInService, setDictionaryService, setLockService, setNamespaceService, setNodeService, setOwnableService, setPermissionService, setSearchService, setTransactionService
-
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
-
-
-
-
Method Detail
-
submitSearch
public List<NodeBrowserPost.Node> submitSearch(String store, String query, String queryLanguage, int maxResults) throws IOException
Action to submit search- Returns:
- next action
- Throws:
IOException
-
getSearchElapsedTime
protected Long getSearchElapsedTime()
- Returns:
- the searchElapsedTime
-
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 classNodeBrowserPost
-
-