01: /**
02: * $Id: DesktopConstants.java,v 1.13 2006/05/19 11:08:38 sd155185 Exp $
03: * Copyright 2004 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.admin.common;
14:
15: public interface DesktopConstants {
16:
17: String TYPE_ROOT_CONTAINER_NODE = "0";
18: String TYPE_VISIBLE_CONTAINER_NODE = "1";
19: String TYPE_INVISIBLE_CONTAINER_NODE = "2";
20: String TYPE_VISIBLE_CHANNEL_NODE = "3";
21: String TYPE_INVISIBLE_CHANNEL_NODE = "4";
22: String TYPE_VISIBLE_PORTLET_CHANNEL_NODE = "5";
23: String TYPE_INVISIBLE_PORTLET_CHANNEL_NODE = "6";
24: String TYPE_VISIBLE_REMOTE_PORTLET_CHANNEL_NODE = "7";
25: String TYPE_INVISIBLE_REMOTE_PORTLET_CHANNEL_NODE = "8";
26:
27: /**
28: * DP property types
29: * Values copied from DPTypes
30: */
31: short TYPE_UNKNOWN_PROPERTY = -1;
32: short TYPE_STRING_PROPERTY = 1;
33: short TYPE_INTEGER_PROPERTY = 3;
34: short TYPE_BOOLEAN_PROPERTY = 4;
35: short TYPE_COLLECTION_PROPERTY = 14;
36: short TYPE_CONDITIONAL_PROPERTY = 16;
37: //new admin defined type, not from DPTypes
38: short TYPE_STRING_LIST_PROPERTY = 20;
39:
40: String STATE_DEFAULT = "property.state.default";
41: String STATE_INHERITED = "property.state.inherited";
42: String STATE_CUSTOMIZED = "property.state.customized";
43:
44: //Display Profile Root Node
45: String DP_ROOT_NODE = "_root";
46:
47: /**
48: * keys exchanged between mbean and client for property info map
49: */
50: String KEY_PROVIDER_NAME = "provider";
51: String KEY_IS_CONTAINER = "isContainer";
52: String KEY_IS_TAB_CONTAINER = "isTabContainer";
53: String KEY_IS_PORTLET_CHANNEL = "isPortletChannel";
54: String KEY_NAMED = "named";
55: String KEY_TYPE = "type";
56: String KEY_VALUE = "value";
57: String KEY_IS_ADVANCED = "isAdvanced";
58: String KEY_STATE = "state";
59: String KEY_MERGED_DNS = "mergedDNs";
60:
61: /**
62: * keys exchanged between MBean and CreateTab
63: */
64: String TAB_TITLE = "title";
65: String TAB_DESCRIPTION = "description";
66: String TAB_PROPERTIES = "TabProperties";
67:
68: String TABLE_PROVIDER_NAME = "JSPTableContainerProvider";
69:
70: /**
71: * common constants between DesktopAttributesBean and desktop handler
72: */
73: //Attribute Names as stored in datastore
74: //Following is the list of supported desktop attributes for get/set/list
75: //List of dynamic attributes
76: String DESKTOP_TYPE = "DesktopType";
77: String EDIT_CHANNEL = "EditChannel";
78: String DEFAULT_CHANNEL = "DefaultChannel";
79: String SHOW_DESKTOP_ATTRIBUTE = "ShowDesktopAttribute";
80: String COS_PRIORITY = "COSPriority";
81: String PARENT_CONTAINER = "ParentContainer";
82: //List of global attributes
83: String NAMESPACE_URI = "NamespaceURI";
84: String ENABLE_AUTHLESS = "EnableAuthless";
85: String ENABLE_FEDERATION = "EnableFederation";
86: String HOSTED_PROVIDER_ID = "HostedProviderId";
87: String MAX_CLIENT_SESSION = "MaxClientSessions";
88: String ENABLE_XML_VALIDATION = "EnableXMLValidation";
89: String CLIENT_SESSION_REAP_INTV = "ClientSessionReapInterval";
90: String CLIENT_SESSION_MAX_INACTIVE = "ClientSessionMaximumInactive";
91: String DIS_AUTHLESS_FOR_FEDERATED_USERS = "DisableAuthlessForFederatedUsers";
92: String DEFAULT_AUTHLESS_UID = "DefaultAuthlessUID";
93: String AUTHORIZED_AUTHLESS_UIDS = "AuthorizedAuthlessUserIds";
94: String COMMUNITY_PARENT_CONTAINER_URL_PARAMETER = "CommunityParentContainerURLParameter";
95: String COMMUNITY_HOME_CONTAINER = "CommunityHomeContainer";
96: String COMMUNITY_CREATE_CONTAINER = "CommunityCreateContainer";
97: String ACCESS_URL = "AccessURL";
98: }
|