01: /*
02: * Copyright 2004-2005 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.portletcontainercommon;
15:
16: public class PortletContainerConstants {
17:
18: // key for portlet container object in servlet context
19: public static final String PORTLET_CONTAINER = "portlet_container";
20:
21: // key for provider context object in http request attribute
22: public static final String PROVIDER_CONTEXT = "provider_context";
23:
24: // key for sso token object in http request attribute
25: public static final String SSO_TOKEN = "sso_token";
26:
27: //key for portlet locale specific resource info stored as an attribute in ServletContext
28: public static final String PORTLET_RESOURCES = "portlet_resources";
29:
30: //key for portlet locale specific metadata info stored as an attribute in ServletContext
31: public static final String PORTLET_METADATA_RESOURCES = "portlet_metadata_resources";
32:
33: // delimiter in entity ID
34: public static final String ENTITY_ID_DELIMITER = "|";
35:
36: //Portlet list -- global
37: public static final String GLOBAL_PORTLET_LIST = "global_portlet_list";
38:
39: //Portlet list -- tab
40: public static final String TAB_PORTLET_LIST = "portlets_on_tab";
41:
42: //Portlets registered to listen to certain events
43: public static final String CONSUME_EVENT_LIST = "consume_event_list";
44:
45: //Portlets registered to fire events
46: public static final String GENERATE_EVENT_LIST = "generate_event_list";
47:
48: //Portlets-Event mapping
49: public static final String EVENT_PORTLET_MAP = "event_portlet_map";
50:
51: //Event map
52: public static final String EVENT_MAP = "event_map";
53:
54: //Event name
55: public static final String EVENT_NAME = "event_name";
56:
57: //Event data
58: public static final String EVENT_DATA = "event_data";
59:
60: //Failure event
61: public static final String EVENT_HANDLING_FAILED = "eventHandlingFailed";
62:
63: //Fired events
64: public static final String FIRED_EVENTS = "fired_events";
65: }
|