|
|||||||
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
List for property comparison including columns for property name and the values.
Field Summary | |
static java.lang.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(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
protected |
CmsAttributeComparisonList(java.lang.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 java.util.List |
getListItems()
Should generate a list with the list items to be displayed. |
protected java.lang.String |
getViewVersionButtonHtml(java.lang.String path,
java.lang.String tagId,
java.lang.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 java.lang.String AC_LIST_ID
Constructor Detail |
public CmsAttributeComparisonList(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementpublic CmsAttributeComparisonList(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 responseprotected CmsAttributeComparisonList(java.lang.String listId, CmsJspActionElement jsp)
listId
- the id of the specialized listjsp
- an initialized JSP action elementMethod Detail |
public void executeListSingleActions() throws java.io.IOException, javax.servlet.ServletException
A_CmsListDialog
A_CmsListDialog.getParamListAction()
with the id
of the action to execute.
executeListSingleActions
in class CmsPropertyComparisonList
java.io.IOException
javax.servlet.ServletException
A_CmsListDialog.executeListSingleActions()
protected java.util.List getListItems()
A_CmsListDialog
getListItems
in class CmsPropertyComparisonList
A_CmsListDialog.getListItems()
protected java.lang.String getViewVersionButtonHtml(java.lang.String path, java.lang.String tagId, java.lang.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_CmsListDialog
This method will be just executed once, the first time the constructor is called.
setIndependentActions
in class CmsPropertyComparisonList
A_CmsListDialog.setIndependentActions(org.opencms.workplace.list.CmsListMetadata)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |