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 UBTActions implements Serializable {
14: private static TreeSet providerValidSet;
15: private static TreeSet portletValidSet;
16: private static TreeSet allValidSet;
17: static {
18: providerValidSet = new TreeSet();
19: providerValidSet.add("Edit");
20: providerValidSet.add("minimize");
21: providerValidSet.add("maximize");
22: providerValidSet.add("truemaximize");
23: providerValidSet.add("attach");
24: providerValidSet.add("detach");
25: providerValidSet.add("remove");
26:
27: portletValidSet = new TreeSet();
28: portletValidSet.add("ACTION");
29:
30: allValidSet = new TreeSet();
31: allValidSet.addAll(providerValidSet);
32: allValidSet.addAll(portletValidSet);
33: }
34:
35: public static TreeSet getProviderValidSet() {
36: return providerValidSet;
37: }
38:
39: public static TreeSet getPortletValidSet() {
40: return portletValidSet;
41: }
42:
43: public static TreeSet getAllValidSet() {
44: return allValidSet;
45: }
46: }
|