Package com.day.cq.wcm.api.commands
Interface WCMCommand
-
public interface WCMCommand
WCMCommand
...
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADJUST_PARAM
adjust (for heavy move)static String
ARCHIVE_PARAM
archive flagstatic String
BEFORE_PARAM
before paramstatic String
DATE_PARAM
date to restore tostatic String
DEST_NAME_PARAM
destination namestatic String
DEST_PARENT_PATH_PARAM
destination parent pathstatic String
DEST_PATH_PARAM
destination pathstatic String
FORCE_PARAM
force flagstatic String
INTEGRITY_PARAM
integrity (for heavy move)static String
PAGE_LABEL_PARAM
page labelstatic String
PAGE_TITLE_PARAM
page titlestatic String
PARENT_PATH_PARAM
parent pathstatic String
PATH_PARAM
default path parameter namestatic String
PUBLISH_PARAM
publish (for heavy move)static String
REVISION_ID_PARAM
version namestatic String
SHALLOW_LIST_PARAM
shallow list flagstatic String
SHALLOW_PARAM
shallow flagstatic String
SRC_PATH_LIST_PARAM
source path Liststatic String
SRC_PATH_PARAM
source pathstatic String
TEMPLATE_PARAM
template path
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCommandName()
Returns the name of the command.HtmlResponse
performCommand(WCMCommandContext ctx, SlingHttpServletRequest request, SlingHttpServletResponse response, PageManager pageManager)
Peformas the command.
-
-
-
Field Detail
-
PATH_PARAM
static final String PATH_PARAM
default path parameter name- See Also:
- Constant Field Values
-
PARENT_PATH_PARAM
static final String PARENT_PATH_PARAM
parent path- See Also:
- Constant Field Values
-
SRC_PATH_PARAM
static final String SRC_PATH_PARAM
source path- See Also:
- Constant Field Values
-
SRC_PATH_LIST_PARAM
static final String SRC_PATH_LIST_PARAM
source path List- See Also:
- Constant Field Values
-
DEST_PARENT_PATH_PARAM
static final String DEST_PARENT_PATH_PARAM
destination parent path- See Also:
- Constant Field Values
-
DEST_PATH_PARAM
static final String DEST_PATH_PARAM
destination path- See Also:
- Constant Field Values
-
DEST_NAME_PARAM
static final String DEST_NAME_PARAM
destination name- See Also:
- Constant Field Values
-
ADJUST_PARAM
static final String ADJUST_PARAM
adjust (for heavy move)- See Also:
- Constant Field Values
-
PUBLISH_PARAM
static final String PUBLISH_PARAM
publish (for heavy move)- See Also:
- Constant Field Values
-
INTEGRITY_PARAM
static final String INTEGRITY_PARAM
integrity (for heavy move)- See Also:
- Constant Field Values
-
BEFORE_PARAM
static final String BEFORE_PARAM
before param- See Also:
- Constant Field Values
-
PAGE_LABEL_PARAM
static final String PAGE_LABEL_PARAM
page label- See Also:
- Constant Field Values
-
PAGE_TITLE_PARAM
static final String PAGE_TITLE_PARAM
page title- See Also:
- Constant Field Values
-
TEMPLATE_PARAM
static final String TEMPLATE_PARAM
template path- See Also:
- Constant Field Values
-
SHALLOW_PARAM
static final String SHALLOW_PARAM
shallow flag- See Also:
- Constant Field Values
-
ARCHIVE_PARAM
static final String ARCHIVE_PARAM
archive flag- See Also:
- Constant Field Values
-
SHALLOW_LIST_PARAM
static final String SHALLOW_LIST_PARAM
shallow list flag- See Also:
- Constant Field Values
-
FORCE_PARAM
static final String FORCE_PARAM
force flag- See Also:
- Constant Field Values
-
REVISION_ID_PARAM
static final String REVISION_ID_PARAM
version name- See Also:
- Constant Field Values
-
DATE_PARAM
static final String DATE_PARAM
date to restore to- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommandName
String getCommandName()
Returns the name of the command.- Returns:
- the name of the command
-
performCommand
HtmlResponse performCommand(WCMCommandContext ctx, SlingHttpServletRequest request, SlingHttpServletResponse response, PageManager pageManager)
Peformas the command. If the response is handled by the command it self, it must returnnull
.- Parameters:
ctx
- the command context. i.e. the command servlet.request
- the servlet requestresponse
- the servlet responsepageManager
- the page manager- Returns:
- the html response or
null
.
-
-