|
||||||||||
| 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.list.A_CmsListDialog
org.opencms.workplace.comparison.CmsPropertyComparisonList
org.opencms.workplace.comparison.CmsAttributeComparisonList
public class CmsAttributeComparisonList
List for property comparison including columns for property name and the values.
| Field Summary | |
|---|---|
static String |
AC_LIST_ID
List id constant. |
| Fields inherited from class org.opencms.workplace.comparison.CmsPropertyComparisonList |
|---|
LIST_ACTION_VIEW1, LIST_ACTION_VIEW2, LIST_COLUMN_ICON, LIST_COLUMN_PROPERTY_NAME, LIST_COLUMN_TYPE, LIST_COLUMN_VERSION_1, LIST_COLUMN_VERSION_2, LIST_DEFACTION_VIEW, LIST_DETAIL_TYPE, LIST_IACTION_SHOW, LIST_ID, PARAM_COMPARE, TRIM_AT_LENGTH |
| Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
|---|
PARAM_BASE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
| Constructor Summary | |
|---|---|
|
CmsAttributeComparisonList(CmsJspActionElement jsp)
Public constructor. |
|
CmsAttributeComparisonList(PageContext context,
HttpServletRequest req,
HttpServletResponse res)
Public constructor with JSP variables. |
protected |
CmsAttributeComparisonList(String listId,
CmsJspActionElement jsp)
Protected constructor. |
| Method Summary | |
|---|---|
void |
executeListSingleActions()
This method should handle every defined list single action, by comparing with the id
of the action to execute. |
protected List |
getListItems()
Should generate a list with the list items to be displayed. |
protected String |
getViewVersionButtonHtml(String path,
String tagId,
String version)
Returns the html code to display a file version. |
protected void |
setIndependentActions(CmsListMetadata metadata)
Should add the independent actions to the given list metadata object. |
| Methods inherited from class org.opencms.workplace.comparison.CmsPropertyComparisonList |
|---|
executeListMultiActions, fillDetails, getFile1, getFile2, getParamPath1, getParamPath2, getParamTagId1, getParamTagId2, getParamVersion1, getParamVersion2, getResourceType, initWorkplaceRequestValues, setColumns, setMultiActions, setParamPath1, setParamPath2, setParamTagId1, setParamTagId2, setParamVersion1, setParamVersion2 |
| 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 String AC_LIST_ID
| Constructor Detail |
|---|
public CmsAttributeComparisonList(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsAttributeComparisonList(PageContext context,
HttpServletRequest req,
HttpServletResponse res)
context - the JSP page contextreq - the JSP requestres - the JSP response
protected CmsAttributeComparisonList(String listId,
CmsJspActionElement jsp)
listId - the id of the specialized listjsp - an initialized JSP action element| Method Detail |
|---|
public void executeListSingleActions()
throws IOException,
ServletException
A_CmsListDialogA_CmsListDialog.getParamListAction() with the id
of the action to execute.
executeListSingleActions in class CmsPropertyComparisonListIOException - in case of errors when including a required sub-element
ServletException - in case of errors when including a required sub-elementA_CmsListDialog.executeListSingleActions()protected List getListItems()
A_CmsListDialog
getListItems in class CmsPropertyComparisonListCmsListItemsA_CmsListDialog.getListItems()
protected String getViewVersionButtonHtml(String path,
String tagId,
String version)
path - the path of the file to be displayedtagId - the tag id of the file to be displayedversion - the version of the file to be displayed
protected void setIndependentActions(CmsListMetadata metadata)
A_CmsListDialogThis method will be just executed once, the first time the constructor is called.
setIndependentActions in class CmsPropertyComparisonListmetadata - the list metadataA_CmsListDialog.setIndependentActions(org.opencms.workplace.list.CmsListMetadata)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||