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
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:
-
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.QNameBeanNested 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) protected LongsubmitSearch(String store, String query, String queryLanguage, int maxResults) Action to submit searchMethods 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, setTransactionServiceMethods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods 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
-
NodeBrowserScript
public NodeBrowserScript()
-
-
Method Details
-
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
- 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:
executeImplin classNodeBrowserPost
-