|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.tools.CmsToolDialog
org.opencms.workplace.CmsDialog
org.opencms.workplace.CmsMultiDialog
org.opencms.workplace.CmsReport
org.opencms.workplace.commons.CmsPublishProject
Creates the dialogs for publishing a project or a resource.
The following files use this class:
Field Summary | |
static int |
ACTION_UNLOCK_CONFIRMATION
Value for the action: show unlock confirmation. |
static int |
ACTION_UNLOCK_CONFIRMED
Value for the action: unlock confirmed. |
static java.lang.String |
DIALOG_TYPE
The dialog type. |
static java.lang.String |
DIALOG_UNLOCK_CONFIRMATION
Request parameter value for the action: show unlock confirmation. |
static java.lang.String |
DIALOG_UNLOCK_CONFIRMED
Request parameter value for the action: unlock confirmed. |
static java.lang.String |
PARAM_PUBLISHSIBLINGS
Request parameter name for the publishsiblings parameter. |
static java.lang.String |
PARAM_SUBRESOURCES
Request parameter name for the subresources parameter. |
Fields inherited from class org.opencms.workplace.CmsReport |
PARAM_REPORT_CONTINUEKEY, PARAM_REPORT_TYPE, REPORT_UPDATE_SIZE, REPORT_UPDATE_TIME |
Fields inherited from class org.opencms.workplace.CmsMultiDialog |
DELIMITER_RESOURCES, PARAM_RESOURCELIST |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
PARAM_BASE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
CmsPublishProject(CmsJspActionElement jsp)
Public constructor. |
|
CmsPublishProject(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
Method Summary | |
void |
actionReport()
Performs the publish report, will be called by the JSP page. |
java.lang.String |
buildCheckSiblings()
Builds the HTML for the "publish siblings" and "publish sub resources" checkboxes when direct publishing a file. |
java.lang.String |
getParamDirectpublish()
Returns if a resource will be directly published. |
java.lang.String |
getParamModifieddate()
Returns the last modification date of the resource which will be published. |
java.lang.String |
getParamModifieduser()
Returns the user who modified the resource which will be published. |
java.lang.String |
getParamProjectid()
Returns the value of the project id which will be published. |
java.lang.String |
getParamProjectname()
Returns the value of the project name which will be published. |
java.lang.String |
getParamPublishsiblings()
Returns if siblings of the resource should be published. |
java.lang.String |
getParamResourcename()
Returns the name of the resource which will be published. |
java.lang.String |
getParamSubresources()
Returns the value of the subresources parameter. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
void |
setParamDirectpublish(java.lang.String value)
Sets if a resource will be directly published. |
void |
setParamModifieddate(java.lang.String value)
Sets the last modification date of the resource which will be published. |
void |
setParamModifieduser(java.lang.String value)
Sets the user who modified the resource which will be published. |
void |
setParamProjectid(java.lang.String value)
Sets the value of the project id which will be published. |
void |
setParamProjectname(java.lang.String value)
Sets the value of the project name which will be published. |
void |
setParamPublishsiblings(java.lang.String value)
Sets if siblings of the resource should be published. |
void |
setParamResourcename(java.lang.String value)
Sets the name of the resource which will be published. |
void |
setParamSubresources(java.lang.String paramSubresources)
Sets the value of the subresources parameter. |
Methods inherited from class org.opencms.workplace.CmsReport |
dialogButtonsContinue, dialogButtonsOkCancelDetails, getParamRefreshWorkplace, getParamReportContinueKey, getParamReportType, getParamThread, getParamThreadHasNext, getReportUpdate, hasError, htmlStart, htmlStart, initCmsReport, isAlive, isSimpleReport, pageHtml, performDialogOperation, setParamRefreshWorkplace, setParamReportContinueKey, setParamReportType, setParamThread, setParamThreadHasNext |
Methods inherited from class org.opencms.workplace.CmsMultiDialog |
addMultiOperationException, buildResourceList, checkMultiOperationException, checkResourcePermissions, getParamResourcelist, getResourceList, isMultiOperation, isOperationOnFolder, setDialogTitle, setParamResourcelist |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamPath, setParamRoot, setParamStyle, useNewStyle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ACTION_UNLOCK_CONFIRMATION
public static final int ACTION_UNLOCK_CONFIRMED
public static final java.lang.String DIALOG_TYPE
public static final java.lang.String DIALOG_UNLOCK_CONFIRMATION
public static final java.lang.String DIALOG_UNLOCK_CONFIRMED
public static final java.lang.String PARAM_PUBLISHSIBLINGS
public static final java.lang.String PARAM_SUBRESOURCES
Constructor Detail |
public CmsPublishProject(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementpublic CmsPublishProject(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
context
- the JSP page contextreq
- the JSP requestres
- the JSP responseMethod Detail |
public void actionReport() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if problems including sub-elements occurpublic java.lang.String buildCheckSiblings()
public java.lang.String getParamDirectpublish()
"true"
if a resource will be directly publishedpublic java.lang.String getParamModifieddate()
public java.lang.String getParamModifieduser()
public java.lang.String getParamProjectid()
public java.lang.String getParamProjectname()
public java.lang.String getParamPublishsiblings()
"true"
(String) if siblings of the resource should be publishedpublic java.lang.String getParamResourcename()
public java.lang.String getParamSubresources()
public void setParamDirectpublish(java.lang.String value)
value
- "true"
(String) if a resource will be directly publishedpublic void setParamModifieddate(java.lang.String value)
value
- the last modification date of the resourcepublic void setParamModifieduser(java.lang.String value)
value
- the user who modified the resourcepublic void setParamProjectid(java.lang.String value)
value
- the String value of the project idpublic void setParamProjectname(java.lang.String value)
value
- the String value of the project namepublic void setParamPublishsiblings(java.lang.String value)
value
- "true"
(String) if siblings of the resource should be publishedpublic void setParamResourcename(java.lang.String value)
value
- the name of the resourcepublic void setParamSubresources(java.lang.String paramSubresources)
paramSubresources
- the value of the subresources parameterprotected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues
in class CmsReport
CmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |