|
||||||||
| 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.CmsDeletedResources
public class CmsDeletedResources
Creates the dialogs for showing and restoring deleted resources.
The following files use this class:
| Field Summary | |
|---|---|
static java.lang.String |
PARAM_READTREE
Request parameter name for the relatedresources parameter. |
| Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
PARAM_ADMIN_PROJECT, PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
| Constructor Summary | |
|---|---|
CmsDeletedResources(CmsJspActionElement jsp)
Public constructor with JSP action element. |
|
CmsDeletedResources(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
|
| Method Summary | |
|---|---|
java.lang.String |
buildIncludeJs()
Returns the html code to include the needed js code. |
java.lang.String |
buildOptions()
Override to display additional options in the dialog. |
java.lang.String |
buildReport()
Builds the html code for the report with the list of deleted resources. |
java.lang.String |
buildReportRequest()
Builds the java script code to build the report. |
java.lang.String |
dialogButtons()
Builds the necessary button row. |
void |
executeListMultiActions()
Executes the actions from the deleted resources list. |
java.lang.String |
getParamListAction()
Returns the paramListAction. |
java.lang.String |
getParamReadtree()
Returns the paramReadtree. |
java.lang.String |
getParamSelItems()
Returns the paramSelItems. |
java.util.List |
getSelectedItems()
Returns a list of resource ids of the current selected items. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
java.lang.String |
paramsAsHidden()
Returns all initialized parameters of the current workplace class as hidden field tags that can be inserted in a form. |
void |
setParamListAction(java.lang.String paramListAction)
Sets the paramListAction. |
void |
setParamReadtree(java.lang.String paramReadtree)
Sets the paramReadtree. |
void |
setParamSelItems(java.lang.String paramSelItems)
Sets the paramSelItems. |
| Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
computeUpLevelLink, 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 PARAM_READTREE
| Constructor Detail |
|---|
public CmsDeletedResources(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsDeletedResources(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 response| Method Detail |
|---|
public java.lang.String buildIncludeJs()
public java.lang.String buildOptions()
public java.lang.String buildReport()
throws javax.servlet.jsp.JspException,
javax.servlet.ServletException,
java.io.IOException
javax.servlet.jsp.JspException - if dialog actions fail
java.io.IOException - in case of errros forwarding to the required result page
javax.servlet.ServletException - in case of errros forwarding to the required result pagepublic java.lang.String buildReportRequest()
public java.lang.String dialogButtons()
public void executeListMultiActions()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if problems including sub-elements occurA_CmsListDialog.executeListMultiActions()public java.lang.String getParamListAction()
public java.lang.String getParamReadtree()
public java.lang.String getParamSelItems()
public java.util.List getSelectedItems()
public java.lang.String paramsAsHidden()
CmsWorkplace
paramsAsHidden in class CmsWorkplaceCmsWorkplace.paramsAsHidden()public void setParamListAction(java.lang.String paramListAction)
paramListAction - the paramListAction to setpublic void setParamReadtree(java.lang.String paramReadtree)
paramReadtree - the paramReadtree to setpublic void setParamSelItems(java.lang.String paramSelItems)
paramSelItems - the paramSelItems to set
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues in class CmsDialogsettings - the workplace settingsrequest - the current requestCmsDialog.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 | |||||||