|
||||||
| 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.CmsDialogMultiPropertyEdit
public class CmsDialogMultiPropertyEdit
Provides methods for the multi file property edit action.
The following files use this class:
| Field Summary | |
|---|---|
static int |
ACTION_MULTIFILEPROPERTYEDIT
Value for the action: comment images. |
static java.lang.String |
DIALOG_TYPE
The dialog type. |
static java.lang.String |
PREFIX_DESCRIPTION
The input field prefix for description property fields. |
| Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
PARAM_BASE, PARAM_FORCE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
| Constructor Summary | |
|---|---|
CmsDialogMultiPropertyEdit(CmsJspActionElement jsp)
Public constructor with JSP action element. |
|
CmsDialogMultiPropertyEdit(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
|
| Method Summary | |
|---|---|
void |
actionCommentImages()
Performs the comment files action, will be called by the JSP page. |
java.lang.String |
buildDialogForm()
Returns the HTML for the dialog input form to comment the images. |
protected java.util.List<CmsResource> |
getResources()
Returns the image resources of the gallery folder which are edited in the dialog form. |
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()
Performs the comment images operation. |
protected void |
writeProperty(CmsResource res,
java.lang.String propName,
java.lang.String propValue,
CmsProperty currentProperty)
Writes a property value for a resource, if the value was changed. |
| 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 int ACTION_MULTIFILEPROPERTYEDIT
public static final java.lang.String DIALOG_TYPE
public static final java.lang.String PREFIX_DESCRIPTION
| Constructor Detail |
|---|
public CmsDialogMultiPropertyEdit(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsDialogMultiPropertyEdit(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 void actionCommentImages()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if problems including sub-elements occurpublic java.lang.String buildDialogForm()
protected java.util.List<CmsResource> getResources()
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues in class CmsDialogsettings - the workplace settingsrequest - the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings,
javax.servlet.http.HttpServletRequest)
protected boolean performDialogOperation()
throws CmsException
CmsException - if commenting is not successful
protected void writeProperty(CmsResource res,
java.lang.String propName,
java.lang.String propValue,
CmsProperty currentProperty)
throws CmsException
res - the resource to write the property topropName - the name of the property definitionpropValue - the new value of the propertycurrentProperty - the old property object
CmsException - if something goes wrong
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||