Source Code Cross Referenced for SharedConstants.java in  » Portal » Open-Portal » com » sun » portal » app » sharedevents » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.app.sharedevents.util 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.sun.portal.app.sharedevents.util;
002:
003:        public class SharedConstants {
004:
005:            public static String FETCH_EVENTS_CONTEXT = "fetchEvents";
006:            public static String VIEW_CTX_DAY = "dayView";
007:            public static String VIEW_CTX_WEEK = "weekView";
008:            public static String VIEW_CTX_MONTH = "monthView";
009:            public static String VIEW_CTX_SEARCH = "searchView";
010:            public static String LOAD_EVENTS_CONTEXT = "loadEvents";
011:            public static String FETCH_EVENT_BY_ID_CONTEXT = "eventsbyId";
012:            public static String SEARCH_EVENTS_CONTEXT = "searchEvents";
013:            public static String LOAD_EVENT_DEFAULTS_CONTEXT = "loadDefaultEvent";
014:            public static String LOAD_EVENT_CONTEXT = "loadEvent";
015:            public static String ADD_EVENT_CONTEXT = "addEvent";
016:            public static String MODIFY_EVENT_CONTEXT = "modifyEvent";
017:            public static String UPDATE_EVENT_CONTEXT = "updateEvent";
018:            public static String DELETE_EVENT_CONTEXT = "deleteEvent";
019:
020:            public static final String QQ = "??";
021:            public static final String QQQQ = "????";
022:            public static final String CQQ = ":??";
023:            public static final String DATE_FORMAT_M_D_Y = "MM/DD/YYYY";
024:            public static final String DATE_FORMAT_D_M_Y = "DD/MM/YYYY";
025:            public static final String DATE_FORMAT_Y_M_D = "YYYY/MM/DD";
026:
027:            public static final String DEFAULT_DATE_FORMAT = DATE_FORMAT_M_D_Y;
028:            public static final String DEFAULT_DATE_DELIMITER = "/";
029:            public static final String GMT_TIME_ZONE_STRING = "GMT";
030:            public static final String TIME_FORMAT_12 = "12";
031:            public static final String TIME_FORMAT_24 = "24";
032:            public static final String DEFAULT_TIME_FORMAT = TIME_FORMAT_24;
033:            public static final String EVENT_RECURRENCE_ONETIME = "Onetime";
034:            public static final String EVENT_RECURRENCE_HOURLY = "Hourly";
035:            public static final String EVENT_RECURRENCE_DAILY = "Daily";
036:            public static final String EVENT_RECURRENCE_WEEKLY = "Weekly";
037:            public static final String EVENT_RECURRENCE_MONTHLY = "Monthly";
038:            public static final String EVENT_RECURRENCE_MWF = "MonWedFri";
039:            public static final String EVENT_RECURRENCE_TT = "TueThu";
040:            public static final String EVENT_RECURRENCE_SS = "SatSun";
041:            public static final String EVENT_RECURRENCE_MTWTF = "MonTueWedThuFri";
042:
043:            public static final String[] repeatIntervalVal = {
044:                    EVENT_RECURRENCE_ONETIME, EVENT_RECURRENCE_HOURLY,
045:                    EVENT_RECURRENCE_DAILY, EVENT_RECURRENCE_WEEKLY,
046:                    EVENT_RECURRENCE_MONTHLY, EVENT_RECURRENCE_MWF,
047:                    EVENT_RECURRENCE_TT, EVENT_RECURRENCE_SS,
048:                    EVENT_RECURRENCE_MTWTF };
049:
050:            // Values in Recurrence Pattern for BYDAY field
051:            public static final String EVENT_RECURRENCE_BYDAY_MWF = "MO,WE,FR";
052:            public static final String EVENT_RECURRENCE_BYDAY_TT = "TU,TH";
053:            public static final String EVENT_RECURRENCE_BYDAY_SS = "SA,SU";
054:            public static final String EVENT_RECURRENCE_BYDAY_MTWTF = "MO,TU,WE,TH,FR";
055:
056:            public static final int MINUTES_PRECISION = 5;
057:            public static String SHOW_ALERT_TYPE_ERROR = "error";
058:            public static String SHOW_ALERT_TYPE_INFO = "information";
059:            public static String EVENT_FILTER_ALL_EVENTS = "all";
060:            public static final String UID_RID_SEPERATOR = ";";
061:
062:            public static final String displayableMonthLabels[] = { "01", "02",
063:                    "03", "04", "05", "06", "07", "08", "09", "10", "11", "12" };
064:
065:            public static final String displayableDayLabels[] = { "01", "02",
066:                    "03", "04", "05", "06", "07", "08", "09", "10", "11", "12",
067:                    "13", "14", "15", "16", "17", "18", "19", "20", "21", "22",
068:                    "23", "24", "25", "26", "27", "28", "29", "30", "31" };
069:
070:            public static final String displayableYearLabels[] = { "2005",
071:                    "2006", "2007", "2008", "2009", "2009", "2010" };
072:
073:            public static final String[] hoursIn12HourFormatNames = { "1", "2",
074:                    "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" };
075:            public static final String[] hoursIn12HourFormatValues = { "1",
076:                    "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "0" };
077:
078:            public static final String[] hoursIn24HourFormatNames = { "00",
079:                    "01", "02", "03", "04", "05", "06", "07", "08", "09", "10",
080:                    "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
081:                    "21", "22", "23" };
082:            public static final String[] hoursIn24HourFormatValues = hoursIn24HourFormatNames;
083:
084:            public static final String[] minutesIn12HourFormatValues = { "00",
085:                    "05", "10", "15", "20", "25", "30", "35", "40", "45", "50",
086:                    "55", "720", "725", "730", "735", "740", "745", "750",
087:                    "755", "760", "765", "770", "775" };
088:
089:            public static final String[] minutesIn24HourFormatValues = { "00",
090:                    "05", "10", "15", "20", "25", "30", "35", "40", "45", "50",
091:                    "55" };
092:
093:            // Here are some constants used to save attributes in session
094:            public static final String SESSION_TABLE_DATA_PROVIDER_OBJECT = "TABLE_DATA";
095:            public static final String SESSION_CURR_VIEW_CTX = "CURRENT_VIEW_CTX";
096:            public static final String SESSION_CURR_VIEW_CTX_START = "CURRENT_VIEW_CTX_START";
097:            public static final String SESSION_CURR_VIEW_CTX_END = "CURRENT_VIEW_CTX_END";
098:            public static final String SESSION_EVENTS_SEARCH_STRING = "EVENTS_SEARCH_FILTER";
099:
100:            public static final String SESSION_REFRESH_DATA = "REFRESH_EVENT_TABLE_DATA";
101:            public static final String SESSION_CURR_EVENT_UID = "EVENT_UID";
102:            public static final String SESSION_CURR_EVENT_RID = "EVENT_RID";
103:            public static final String SESSION_COMMUNITY_EVENT_SEARCH = "COMM_EVENT_SEARCH";
104:            public static final String SESSION_EVENTS_LIST_DISPLAY_ROWS = "EVENTS_DISPLAY_ROWS";
105:
106:            //The following is used for community search, when event is added to searchDatabase.
107:            public static final String URL_EVENT_PORTLET_ACTION = "urlEventPortletAction";
108:            public static final String URL_COMM_SEARCH_EVENT_UID = "commSearchEventUid";
109:            public static final String URL_CURR_EVENT_UID = "uid";
110:            public static final String URL_CURR_EVENT_RID = "rid";
111:
112:            public static final String VISIBLE_URL = "ps.visibleurl";
113:            public static final String DUMMY = "DUMMY";
114:
115:            //Resource Bundle Base name
116:            public static final String BUNDLE_BASE_NAME = "com.sun.portal.app.sharedevents.bundle.Resource";
117:
118:            // User Info attributes that should be specified in portlet.xml & userinfomapping
119:            // files for PortletUser preferences
120:            public static final String USER_INFO_TIMEZONE = "timezone";
121:
122:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.