public class CommandServlet extends BaseServlet
The URL to the servlet should be generated thus:
/alfresco/command/processor-name/command-name/args/...
The 'processor-name' identifies the command processor to execute the command. For example the 'workflow' processor will execute workflow commands upon a node (e.g. "approve" or "reject"). For example:
/alfresco/command/workflow/approve/workspace/SpacesStore/0000-0000-0000-0000The store protocol, followed by the store ID, followed by the content Node Id used to identify the node to execute the workflow action upon.
A 'return-page' URL argument can be specified as the redirect page to navigate too after processing.
Like most Alfresco servlets, the URL may be followed by a valid 'ticket' argument for authentication: ?ticket=1234567890
And/or also followed by the "?guest=true" argument to force guest access login for the URL.
BaseServlet.PathRefInfo
Modifier and Type | Field and Description |
---|---|
static String |
ARG_RETURNPAGE
Deprecated.
|
FACES_SERVLET, KEY_ROOT_PATH, KEY_STORE
Constructor and Description |
---|
CommandServlet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
service(HttpServletRequest req,
HttpServletResponse res)
Deprecated.
|
checkAccess, getServiceRegistry, redirectToLoginPage, redirectToLoginPage, resolveNamePath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, servletAuthenticate, servletAuthenticate, setNoCacheHeaders, validRedirectJSP
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public static final String ARG_RETURNPAGE
protected void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
service
in class HttpServlet
ServletException
IOException
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
Copyright © 2005–2017 Alfresco Software. All rights reserved.