|
||||||
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.commons.CmsPublishScheduled
public class CmsPublishScheduled
Provides methods for the publish scheduled dialog.
The following files use this class:
Field Summary | |
---|---|
static java.lang.String |
DIALOG_TYPE
The dialog type. |
static java.lang.String |
PARAM_ENABLE_NOTIFICATION
Request parameter name for the activation of the notification. |
static java.lang.String |
PARAM_PUBLISHSCHEDULEDDATE
Request parameter name for the publish date. |
static java.lang.String |
PARAM_RESETPUBLISHSCHEDULED
Request parameter name for the reset publish date. |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
---|---|
CmsPublishScheduled(CmsJspActionElement jsp)
Public constructor. |
|
CmsPublishScheduled(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
Method Summary | |
---|---|
void |
actionCloseDialog()
Used to close the current JSP dialog. |
void |
actionUpdate()
Performs the resource operation, will be called by the JSP page. |
protected java.lang.String |
getLocalizedType(int flags)
Returns a localized String for "Group", if the flag of a group ACE, and the localization for "User" otherwise. |
java.lang.String |
getParamPublishscheduleddate()
Returns the value of the publish scheduled date. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
protected boolean |
performDialogOperation()
Modifies the time shift publish date of a resource. |
void |
setDialogTitle(java.lang.String singleKey)
Sets the title of the dialog. |
void |
setParamPublishscheduleddate(java.lang.String paramPublishscheduleddate)
Sets the value of the reset expire parameter. |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamForce, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamForce, 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 java.lang.String DIALOG_TYPE
public static final java.lang.String PARAM_ENABLE_NOTIFICATION
public static final java.lang.String PARAM_PUBLISHSCHEDULEDDATE
public static final java.lang.String PARAM_RESETPUBLISHSCHEDULED
Constructor Detail |
---|
public CmsPublishScheduled(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementpublic CmsPublishScheduled(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 actionCloseDialog() throws javax.servlet.jsp.JspException
CmsDialog
This method tries to include the URI stored in the workplace settings. This URI is determined by the frame name, which has to be set in the frame name parameter.
actionCloseDialog
in class CmsDialog
javax.servlet.jsp.JspException
- if including an element failsCmsDialog.actionCloseDialog()
public void actionUpdate() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if problems including sub-elements occurpublic java.lang.String getParamPublishscheduleddate()
public void setDialogTitle(java.lang.String singleKey)
singleKey
- the key for the single operationpublic void setParamPublishscheduleddate(java.lang.String paramPublishscheduleddate)
paramPublishscheduleddate
- the value of the publish scheduled dateprotected java.lang.String getLocalizedType(int flags)
flags
- the flags of the ACE
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues
in class CmsDialog
settings
- the workplace settingsrequest
- the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
protected boolean performDialogOperation() throws CmsException, java.text.ParseException
CmsException
- if something goes wrong
java.text.ParseException
- if something goes wrong
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |