KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencms > workplace > comparison > CmsElementComparisonList


1 /*
2  * File : $Source: /usr/local/cvs/opencms/src/org/opencms/workplace/comparison/CmsElementComparisonList.java,v $
3  * Date : $Date: 2006/11/03 16:28:16 $
4  * Version: $Revision: 1.8 $
5  *
6  * This library is part of OpenCms -
7  * the Open Source Content Mananagement System
8  *
9  * Copyright (c) 2005 Alkacon Software GmbH (http://www.alkacon.com)
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Lesser General Public
13  * License as published by the Free Software Foundation; either
14  * version 2.1 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Lesser General Public License for more details.
20  *
21  * For further information about Alkacon Software GmbH, please see the
22  * company website: http://www.alkacon.com
23  *
24  * For further information about OpenCms, please see the
25  * project website: http://www.opencms.org
26  *
27  * You should have received a copy of the GNU Lesser General Public
28  * License along with this library; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30  */

31
32 package org.opencms.workplace.comparison;
33
34 import org.opencms.file.CmsFile;
35 import org.opencms.jsp.CmsJspActionElement;
36 import org.opencms.main.CmsException;
37 import org.opencms.main.CmsLog;
38 import org.opencms.util.CmsDateUtil;
39 import org.opencms.util.CmsStringUtil;
40 import org.opencms.workplace.commons.CmsHistoryList;
41 import org.opencms.workplace.list.A_CmsListDialog;
42 import org.opencms.workplace.list.CmsListColumnAlignEnum;
43 import org.opencms.workplace.list.CmsListColumnDefinition;
44 import org.opencms.workplace.list.CmsListDefaultAction;
45 import org.opencms.workplace.list.CmsListDirectAction;
46 import org.opencms.workplace.list.CmsListIndependentAction;
47 import org.opencms.workplace.list.CmsListItem;
48 import org.opencms.workplace.list.CmsListItemDetails;
49 import org.opencms.workplace.list.CmsListMetadata;
50 import org.opencms.workplace.list.CmsListOrderEnum;
51 import org.opencms.xml.types.CmsXmlDateTimeValue;
52
53 import java.io.IOException JavaDoc;
54 import java.text.DateFormat JavaDoc;
55 import java.util.ArrayList JavaDoc;
56 import java.util.Date JavaDoc;
57 import java.util.HashMap JavaDoc;
58 import java.util.Iterator JavaDoc;
59 import java.util.List JavaDoc;
60 import java.util.Map JavaDoc;
61
62 import javax.servlet.ServletException JavaDoc;
63 import javax.servlet.http.HttpServletRequest JavaDoc;
64 import javax.servlet.http.HttpServletResponse JavaDoc;
65 import javax.servlet.jsp.PageContext JavaDoc;
66
67 import org.apache.commons.logging.Log;
68
69 /**
70  * Element comparison list view. <p>
71  *
72  * @author Jan Baudisch
73  * @author Peter Bonrad
74  *
75  * @version $Revision: 1.8 $
76  *
77  * @since 6.0.0
78  */

79 public class CmsElementComparisonList extends A_CmsListDialog {
80
81     /** list action id constant. */
82     public static final String JavaDoc LIST_ACTION_ICON = "ai";
83
84     /** list action id constant. */
85     public static final String JavaDoc LIST_ACTION_STATUS = "at";
86
87     /** list column id constant. */
88     public static final String JavaDoc LIST_COLUMN_ATTRIBUTE = "ca";
89
90     /** list column id constant. */
91     public static final String JavaDoc LIST_COLUMN_ICON = "ci";
92
93     /** list column id constant. */
94     public static final String JavaDoc LIST_COLUMN_LOCALE = "cl";
95
96     /** list column id constant. */
97     public static final String JavaDoc LIST_COLUMN_STATUS = "cs";
98
99     /** list column id constant. */
100     public static final String JavaDoc LIST_COLUMN_TYPE = "cy";
101
102     /** list column id constant. */
103     public static final String JavaDoc LIST_COLUMN_VERSION_1 = "cv";
104
105     /** list column id constant. */
106     public static final String JavaDoc LIST_COLUMN_VERSION_2 = "cw";
107
108     /** list default action id constant. */
109     public static final String JavaDoc LIST_DEFACTION_VIEW = "dv";
110
111     /** list independent action id constant. */
112     public static final String JavaDoc LIST_DETAIL_TYPE = "dt";
113
114     /** list independent action id constant. */
115     public static final String JavaDoc LIST_IACTION_COMPARE_ALL = "ava";
116
117     /** list independent action id constant. */
118     public static final String JavaDoc LIST_IACTION_SHOW = "isy";
119
120     /** List id constant. */
121     public static final String JavaDoc LIST_ID = "hiecl";
122
123     /** Request parameter name for the element. */
124     public static final String JavaDoc PARAM_ELEMENT = "element";
125
126     /** Request parameter name for the locale. */
127     public static final String JavaDoc PARAM_LOCALE = "locale";
128
129     /** The log object for this class. */
130     private static final Log LOG = CmsLog.getLog(CmsElementComparisonList.class);
131
132     /** Parameter value for the path of the first file. */
133     private String JavaDoc m_paramPath1;
134
135     /** Parameter value for the path of the second file. */
136     private String JavaDoc m_paramPath2;
137
138     /** Parameter value for the tag id of the first file. */
139     private String JavaDoc m_paramTagId1;
140
141     /** Parameter value for the tag id of the second file. */
142     private String JavaDoc m_paramTagId2;
143
144     /** Parameter value for the version of the first file. */
145     private String JavaDoc m_paramVersion1;
146
147     /** Parameter value for the version of the second file. */
148     private String JavaDoc m_paramVersion2;
149
150     /** flag indicating whether xml contents are compared.<p> */
151     private boolean m_xmlContentComparisonMode = false;
152
153     /**
154      * Public constructor.<p>
155      *
156      * @param jsp an initialized JSP action element
157      */

158     public CmsElementComparisonList(CmsJspActionElement jsp) {
159
160         this(LIST_ID, jsp);
161     }
162
163     /**
164      * Public constructor with JSP variables.<p>
165      *
166      * @param context the JSP page context
167      * @param req the JSP request
168      * @param res the JSP response
169      */

170     public CmsElementComparisonList(PageContext JavaDoc context, HttpServletRequest JavaDoc req, HttpServletResponse JavaDoc res) {
171
172         this(new CmsJspActionElement(context, req, res));
173     }
174
175     /**
176      * Protected constructor.<p>
177      *
178      * @param listId the id of the specialized list
179      * @param jsp an initialized JSP action element
180      */

181     protected CmsElementComparisonList(String JavaDoc listId, CmsJspActionElement jsp) {
182
183         super(
184             jsp,
185             listId,
186             Messages.get().container(Messages.GUI_COMPARE_CONTENT_0),
187             LIST_COLUMN_LOCALE,
188             CmsListOrderEnum.ORDER_ASCENDING,
189             null);
190     }
191
192     /**
193      *
194      * @see org.opencms.workplace.list.A_CmsListDialog#executeListIndepActions()
195      */

196     public void executeListIndepActions() {
197
198         if (getParamListAction().equals(LIST_IACTION_COMPARE_ALL)) {
199             // called if all elements are to be compared
200
Map JavaDoc params = new HashMap JavaDoc();
201             params.put(CmsHistoryList.PARAM_TAGID_1, getParamTagId1());
202             params.put(CmsHistoryList.PARAM_TAGID_2, getParamTagId2());
203             params.put(CmsHistoryList.PARAM_VERSION_1, getParamVersion1());
204             params.put(CmsHistoryList.PARAM_VERSION_2, getParamVersion2());
205             params.put(CmsHistoryList.PARAM_PATH_1, getParamPath1());
206             params.put(CmsHistoryList.PARAM_PATH_2, getParamPath2());
207             params.put(CmsPropertyComparisonList.PARAM_COMPARE, CmsResourceComparisonDialog.COMPARE_ALL_ELEMENTS);
208             params.put(PARAM_RESOURCE, getParamResource());
209             // forward to the element difference screen
210
try {
211                 getToolManager().jspForwardTool(this, "/history/comparison/difference", params);
212             } catch (Exception JavaDoc e) {
213                 LOG.debug(e.getMessage(), e);
214             }
215
216         }
217         super.executeListIndepActions();
218     }
219
220     /**
221      * @see org.opencms.workplace.list.A_CmsListDialog#executeListMultiActions()
222      */

223     public void executeListMultiActions() {
224
225         throwListUnsupportedActionException();
226     }
227
228     /**
229      * @see org.opencms.workplace.list.A_CmsListDialog#executeListSingleActions()
230      */

231     public void executeListSingleActions() throws IOException JavaDoc, ServletException JavaDoc {
232
233         Map JavaDoc params = new HashMap JavaDoc();
234         params.put(CmsHistoryList.PARAM_TAGID_1, getParamTagId1());
235         params.put(CmsHistoryList.PARAM_TAGID_2, getParamTagId2());
236         params.put(CmsHistoryList.PARAM_VERSION_1, getParamVersion1());
237         params.put(CmsHistoryList.PARAM_VERSION_2, getParamVersion2());
238         params.put(CmsHistoryList.PARAM_PATH_1, getParamPath1());
239         params.put(CmsHistoryList.PARAM_PATH_2, getParamPath2());
240         params.put(PARAM_LOCALE, getSelectedItem().get(LIST_COLUMN_LOCALE).toString());
241         params.put(PARAM_ELEMENT, getSelectedItem().get(LIST_COLUMN_ATTRIBUTE).toString());
242         params.put(PARAM_RESOURCE, getParamResource());
243         // forward to the element difference screen
244
getToolManager().jspForwardTool(this, "/history/comparison/difference", params);
245
246     }
247
248     /**
249      * Returns the paramPath1.<p>
250      *
251      * @return the paramPath1
252      */

253     public String JavaDoc getParamPath1() {
254
255         return m_paramPath1;
256     }
257
258     /**
259      * Returns the paramPath2.<p>
260      *
261      * @return the paramPath2
262      */

263     public String JavaDoc getParamPath2() {
264
265         return m_paramPath2;
266     }
267
268     /**
269      * Returns the paramTagId1.<p>
270      *
271      * @return the paramTagId1
272      */

273     public String JavaDoc getParamTagId1() {
274
275         return m_paramTagId1;
276     }
277
278     /**
279      * Returns the paramTagId2.<p>
280      *
281      * @return the paramTagId2
282      */

283     public String JavaDoc getParamTagId2() {
284
285         return m_paramTagId2;
286     }
287
288     /**
289      * Returns the paramNewversionid.<p>
290      *
291      * @return the paramNewversionid
292      */

293     public String JavaDoc getParamVersion1() {
294
295         return m_paramVersion1;
296     }
297
298     /**
299      * Returns the paramOldversionid.<p>
300      *
301      * @return the paramOldversionid
302      */

303     public String JavaDoc getParamVersion2() {
304
305         return m_paramVersion2;
306     }
307
308     /**
309      * Sets the paramPath1.<p>
310      *
311      * @param paramPath1 the paramPath1 to set
312      */

313     public void setParamPath1(String JavaDoc paramPath1) {
314
315         m_paramPath1 = paramPath1;
316     }
317
318     /**
319      * Sets the paramPath2.<p>
320      *
321      * @param paramPath2 the paramPath2 to set
322      */

323     public void setParamPath2(String JavaDoc paramPath2) {
324
325         m_paramPath2 = paramPath2;
326     }
327
328     /**
329      * Sets the paramTagId1.<p>
330      *
331      * @param paramTagId1 the paramTagId1 to set
332      */

333     public void setParamTagId1(String JavaDoc paramTagId1) {
334
335         m_paramTagId1 = paramTagId1;
336     }
337
338     /**
339      * Sets the paramTagId2.<p>
340      *
341      * @param paramTagId2 the paramTagId2 to set
342      */

343     public void setParamTagId2(String JavaDoc paramTagId2) {
344
345         m_paramTagId2 = paramTagId2;
346     }
347
348     /**
349      * Sets the paramNewversionid.<p>
350      *
351      * @param paramNewversionid the paramNewversionid to set
352      */

353     public void setParamVersion1(String JavaDoc paramNewversionid) {
354
355         m_paramVersion1 = paramNewversionid;
356     }
357
358     /**
359      * Sets the paramOldversionid.<p>
360      *
361      * @param paramOldversionid the paramOldversionid to set
362      */

363     public void setParamVersion2(String JavaDoc paramOldversionid) {
364
365         m_paramVersion2 = paramOldversionid;
366     }
367
368     /**
369      * @see org.opencms.workplace.list.A_CmsListDialog#fillDetails(java.lang.String)
370      */

371     protected void fillDetails(String JavaDoc detailId) {
372
373         // no-op
374
}
375
376     /**
377      * @see org.opencms.workplace.list.A_CmsListDialog#getListItems()
378      */

379     protected List getListItems() throws CmsException {
380
381         List result = new ArrayList JavaDoc();
382         CmsFile resource1 = CmsResourceComparisonDialog.readFile(
383             getCms(),
384             getParamPath1(),
385             getParamVersion1(),
386             Integer.parseInt(getParamTagId1()));
387         CmsFile resource2 = CmsResourceComparisonDialog.readFile(
388             getCms(),
389             getParamPath2(),
390             getParamVersion2(),
391             Integer.parseInt(getParamTagId2()));
392         Iterator JavaDoc diffs = new CmsXmlDocumentComparison(getCms(), resource1, resource2).getElements().iterator();
393         while (diffs.hasNext()) {
394             CmsElementComparison comparison = (CmsElementComparison)diffs.next();
395             String JavaDoc locale = comparison.getLocale();
396             String JavaDoc attribute = comparison.getName();
397             CmsListItem item = getList().newItem(locale + attribute);
398             item.set(LIST_COLUMN_LOCALE, locale);
399             item.set(LIST_COLUMN_ATTRIBUTE, attribute);
400             if (comparison instanceof CmsXmlContentElementComparison) {
401                 m_xmlContentComparisonMode = true;
402                 item.set(LIST_COLUMN_TYPE, ((CmsXmlContentElementComparison)comparison).getType());
403             }
404             if (CmsResourceComparison.TYPE_ADDED.equals(comparison.getStatus())) {
405                 item.set(LIST_COLUMN_STATUS, key(Messages.GUI_COMPARE_ADDED_0));
406             } else if (CmsResourceComparison.TYPE_REMOVED.equals(comparison.getStatus())) {
407                 item.set(LIST_COLUMN_STATUS, key(Messages.GUI_COMPARE_REMOVED_0));
408             } else if (CmsResourceComparison.TYPE_CHANGED.equals(comparison.getStatus())) {
409                 item.set(LIST_COLUMN_STATUS, key(Messages.GUI_COMPARE_CHANGED_0));
410             } else {
411                 if (!getList().getMetadata().getItemDetailDefinition(LIST_IACTION_SHOW).isVisible()) {
412                     // do not display entry
413
continue;
414                 } else {
415                     item.set(LIST_COLUMN_STATUS, key(Messages.GUI_COMPARE_UNCHANGED_0));
416                 }
417             }
418             String JavaDoc value1 = CmsStringUtil.escapeHtml(CmsStringUtil.substitute(CmsStringUtil.trimToSize(
419                 comparison.getVersion1(),
420                 CmsPropertyComparisonList.TRIM_AT_LENGTH), "\n", ""));
421
422             // formatting DateTime
423
if (comparison instanceof CmsXmlContentElementComparison) {
424                 if (((CmsXmlContentElementComparison)comparison).getType().equals(CmsXmlDateTimeValue.TYPE_NAME)) {
425                     if (CmsStringUtil.isNotEmpty(value1)) {
426                         value1 = CmsDateUtil.getDateTime(
427                             new Date JavaDoc(Long.parseLong(value1)),
428                             DateFormat.SHORT,
429                             getCms().getRequestContext().getLocale());
430                     }
431                 }
432             }
433             item.set(LIST_COLUMN_VERSION_1, value1);
434
435             String JavaDoc value2 = CmsStringUtil.escapeHtml(CmsStringUtil.substitute(CmsStringUtil.trimToSize(
436                 comparison.getVersion2(),
437                 CmsPropertyComparisonList.TRIM_AT_LENGTH), "\n", ""));
438
439             // formatting DateTime
440
if (comparison instanceof CmsXmlContentElementComparison) {
441                 if (((CmsXmlContentElementComparison)comparison).getType().equals(CmsXmlDateTimeValue.TYPE_NAME)) {
442                     if (CmsStringUtil.isNotEmpty(value2)) {
443                         value2 = CmsDateUtil.getDateTime(
444                             new Date JavaDoc(Long.parseLong(value2)),
445                             DateFormat.SHORT,
446                             getCms().getRequestContext().getLocale());
447                     }
448                 }
449             }
450             item.set(LIST_COLUMN_VERSION_2, value2);
451             result.add(item);
452         }
453         getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_1).setName(
454             Messages.get().container(Messages.GUI_COMPARE_VERSION_1, getParamVersion1()));
455         getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName(
456             Messages.get().container(Messages.GUI_COMPARE_VERSION_1, getParamVersion2()));
457         return result;
458     }
459
460     /**
461      * @see org.opencms.workplace.list.A_CmsListDialog#setColumns(org.opencms.workplace.list.CmsListMetadata)
462      */

463     protected void setColumns(CmsListMetadata metadata) {
464
465         // create column for icon
466
CmsListColumnDefinition iconCol = new CmsListColumnDefinition(LIST_COLUMN_ICON);
467         iconCol.setName(Messages.get().container(Messages.GUI_COMPARE_COLS_ICON_0));
468         iconCol.setWidth("20");
469         iconCol.setAlign(CmsListColumnAlignEnum.ALIGN_CENTER);
470         iconCol.setSorteable(true);
471
472         // add state error action
473
CmsListDirectAction addedAction = new CmsListDirectAction(CmsResourceComparison.TYPE_ADDED) {
474
475             public boolean isVisible() {
476
477                 String JavaDoc type = getItem().get(LIST_COLUMN_STATUS).toString();
478                 return key(Messages.GUI_COMPARE_ADDED_0).equals(type);
479             }
480         };
481         addedAction.setName(Messages.get().container(Messages.GUI_COMPARE_ELEM_ADDED_0));
482         addedAction.setIconPath("tools/ex_history/buttons/added.png");
483         addedAction.setEnabled(true);
484         iconCol.addDirectAction(addedAction);
485
486         // add state error action
487
CmsListDirectAction removedAction = new CmsListDirectAction(CmsResourceComparison.TYPE_REMOVED) {
488
489             public boolean isVisible() {
490
491                 String JavaDoc type = getItem().get(LIST_COLUMN_STATUS).toString();
492                 return key(Messages.GUI_COMPARE_REMOVED_0).equals(type);
493             }
494         };
495         removedAction.setName(Messages.get().container(Messages.GUI_COMPARE_ELEM_REMOVED_0));
496         removedAction.setIconPath("tools/ex_history/buttons/removed.png");
497         removedAction.setEnabled(true);
498         iconCol.addDirectAction(removedAction);
499
500         // add state error action
501
CmsListDirectAction changedAction = new CmsListDirectAction(CmsResourceComparison.TYPE_CHANGED) {
502
503             public boolean isVisible() {
504
505                 String JavaDoc type = getItem().get(LIST_COLUMN_STATUS).toString();
506                 return key(Messages.GUI_COMPARE_CHANGED_0).equals(type);
507             }
508         };
509         changedAction.setName(Messages.get().container(Messages.GUI_COMPARE_ELEM_CHANGED_0));
510         changedAction.setIconPath("tools/ex_history/buttons/changed.png");
511         changedAction.setEnabled(true);
512         iconCol.addDirectAction(changedAction);
513
514         // add state error action
515
CmsListDirectAction unchangedAction = new CmsListDirectAction(CmsResourceComparison.TYPE_UNCHANGED) {
516
517             public boolean isVisible() {
518
519                 String JavaDoc type = getItem().get(LIST_COLUMN_STATUS).toString();
520                 return key(Messages.GUI_COMPARE_UNCHANGED_0).equals(type);
521             }
522         };
523         unchangedAction.setName(Messages.get().container(Messages.GUI_COMPARE_ELEM_UNCHANGED_0));
524         unchangedAction.setIconPath("tools/ex_history/buttons/unchanged.png");
525         unchangedAction.setEnabled(true);
526         iconCol.addDirectAction(unchangedAction);
527         metadata.addColumn(iconCol);
528         iconCol.setPrintable(false);
529
530         // add column for type
531
CmsListColumnDefinition statusCol = new CmsListColumnDefinition(LIST_COLUMN_STATUS);
532         statusCol.setName(Messages.get().container(Messages.GUI_COMPARE_COLS_STATUS_0));
533         statusCol.setWidth("10%");
534         metadata.addColumn(statusCol);
535         CmsListDefaultAction statusColAction = new CmsListDefaultAction(LIST_ACTION_STATUS);
536         statusColAction.setName(Messages.get().container(Messages.GUI_COMPARE_COLS_STATUS_0));
537         statusColAction.setEnabled(true);
538         statusCol.addDefaultAction(statusColAction);
539         metadata.addColumn(statusCol);
540         statusCol.setPrintable(true);
541
542         // add column for locale
543
CmsListColumnDefinition localeCol = new CmsListColumnDefinition(LIST_COLUMN_LOCALE);
544         localeCol.setName(Messages.get().container(Messages.GUI_COMPARE_COLS_LOCALE_0));
545         localeCol.setWidth("10%");
546         metadata.addColumn(localeCol);
547         localeCol.setPrintable(true);
548
549         // add column for element name
550
CmsListColumnDefinition attCol = new CmsListColumnDefinition(LIST_COLUMN_ATTRIBUTE);
551         attCol.setName(Messages.get().container(Messages.GUI_COMPARE_COLS_NAME_0));
552         attCol.setWidth("10%");
553         metadata.addColumn(attCol);
554         attCol.setPrintable(true);
555
556         CmsListColumnDefinition typeCol = new CmsListColumnDefinition(LIST_COLUMN_TYPE);
557         typeCol.setName(Messages.get().container(Messages.GUI_COMPARE_COLS_TYPE_0));
558         typeCol.setWidth("10%");
559         // display column only if xml content is compared
560
typeCol.setVisible(m_xmlContentComparisonMode);
561         metadata.addColumn(typeCol);
562         typeCol.setPrintable(true);
563
564         // add column for first value
565
CmsListColumnDefinition version1Col = new CmsListColumnDefinition(LIST_COLUMN_VERSION_1);
566         version1Col.setName(Messages.get().container(Messages.GUI_COMPARE_VERSION_1, getParamVersion1()));
567         version1Col.setWidth("35%");
568         version1Col.setSorteable(false);
569         metadata.addColumn(version1Col);
570         version1Col.setPrintable(true);
571
572         // add column for second value
573
CmsListColumnDefinition version2Col = new CmsListColumnDefinition(LIST_COLUMN_VERSION_2);
574         version2Col.setName(Messages.get().container(Messages.GUI_COMPARE_VERSION_1, getParamVersion2()));
575         version2Col.setWidth("35%");
576         version2Col.setSorteable(false);
577         metadata.addColumn(version2Col);
578         version2Col.setPrintable(true);
579     }
580
581     /**
582      * @see org.opencms.workplace.list.A_CmsListDialog#setIndependentActions(org.opencms.workplace.list.CmsListMetadata)
583      */

584     protected void setIndependentActions(CmsListMetadata metadata) {
585
586         CmsListIndependentAction compare = new CmsListIndependentAction(LIST_IACTION_COMPARE_ALL);
587         compare.setName(Messages.get().container(Messages.GUI_COMPARE_COMPARE_ALL_0));
588         compare.setIconPath("tools/ex_history/buttons/compare.png");
589         compare.setEnabled(true);
590         metadata.addIndependentAction(compare);
591
592         // add event details
593
CmsListItemDetails eventDetails = new CmsListItemDetails(LIST_IACTION_SHOW);
594         eventDetails.setVisible(false);
595         eventDetails.setShowActionName(Messages.get().container(Messages.GUI_COMPARE_SHOW_ALL_ELEMENTS_0));
596         eventDetails.setHideActionName(Messages.get().container(Messages.GUI_COMPARE_HIDE_IDENTICAL_ELEMENTS_0));
597         metadata.addItemDetails(eventDetails);
598     }
599
600     /**
601      * @see org.opencms.workplace.list.A_CmsListDialog#setMultiActions(org.opencms.workplace.list.CmsListMetadata)
602      */

603     protected void setMultiActions(CmsListMetadata metadata) {
604
605         // no-op
606
}
607 }
Popular Tags