01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.ubt.report.data;
06:
07: import java.util.TreeSet;
08: import java.io.Serializable;
09:
10: /**
11: *
12: */
13: public class PortletModes implements Serializable {
14: private static TreeSet SUPPORTED_MODES = new TreeSet();
15: static {
16: SUPPORTED_MODES.add("VIEW");
17: SUPPORTED_MODES.add("EDIT");
18: SUPPORTED_MODES.add("HELP");
19: }
20:
21: public static TreeSet getSupportedModes() {
22: return SUPPORTED_MODES;
23: }
24: }
|