Source Code Cross Referenced for SAPPortletConstants.java in  » Portal » Open-Portal » com » sun » portal » sapportlet » 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.sapportlet 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * $Id: SAPPortletConstants.java,v 1.9 2005/10/19 10:25:58 ks161616 Exp $
003:         * Copyright 2005 Sun Microsystems, Inc. All
004:         * rights reserved. Use of this product is subject
005:         * to license terms. Federal Acquisitions:
006:         * Commercial Software -- Government Users
007:         * Subject to Standard License Terms and
008:         * Conditions.
009:         *
010:         * Sun, Sun Microsystems, the Sun logo, and Sun ONE
011:         * are trademarks or registered trademarks of Sun Microsystems,
012:         * Inc. in the United States and other countries.
013:         */package com.sun.portal.sapportlet;
014:
015:        /**
016:         * This interface declares all constants used by the SAP portlets
017:         *
018:         * @author nk137934
019:         */
020:
021:        public interface SAPPortletConstants {
022:
023:            public static final String LOGGER_NAMESPACE = "com.sun.portal.sapportlet";
024:            /* Config related constants */
025:
026:            public static final String SAP_CONFIG_FILE_NAME = "sapconfig";
027:            public static final String CONFIG_ENDPOINT_HOST = "sap.endpointHost";
028:            public static final String CONFIG_ENDPOINT_PORT = "sap.endpointPort";
029:            public static final String CONFIG_USERNAME = "sap.userName";
030:            public static final String CONFIG_PASSWORD = "sap.userPass";
031:            public static final String CONFIG_CLIENTID = "sap.clientID";
032:
033:            /* Constants used by the SAPCustSearchPortlet */
034:            // This is the default search string used to search customers
035:            public static final String DEFAULT_SEARCH_STRING = "Sun*";
036:            // Constant to identify the "Customer Name" field 
037:            public static final String QUERY_ON_NAME = "NAME";
038:            // Constant to identify the "Customer ID" field 
039:            public static final String QUERY_ON_ID = "ID";
040:
041:            /* Constants used by the SAPSalesOrderPortlet */
042:
043:            // Constant to identify the "Purchase Number" field 
044:            public static final String QUERY_ON_PURCHASE = "PURNO";
045:            // Constant to identify the "Item Number" field 
046:            public static final String QUERY_ON_ITEM = "ITEMNO";
047:
048:            /* Constants used by the SAPUserConfig screen */
049:
050:            /* Constants to define JSP page names */
051:            public static final String SEARCH_RESULTS_PAGE = "/jsps/SAPSearchResult.jsp";
052:            public static final String SALES_ORDER_PAGE = "/jsps/SAPSalesOrderResult.jsp";
053:            public static final String EMP_DETAILS_PAGE = "/jsps/SAPEmpDetails.jsp";
054:            public static final String EMP_EDIT_PAGE = "/jsps/SAPEmpEdit.jsp";
055:            public static final String EMP_TIME_PAGE = "/jsps/SAPTime.jsp";
056:            public static final String USER_CONFIG_PAGE = "/jsps/SAPUserConfig.jsp";
057:            public static final String DIRECT_REPORTS_PAGE = "/jsps/SAPDirectReports.jsp";
058:            public static final String USER_CONFIG_VIEW_PAGE = "/jsps/SAPUserConfigView.jsp";
059:            public static final String USER_NO_CONFIG_PAGE = "/jsps/SAPUserNoConfig.jsp";
060:            public static final String SAP_CONFIG_ERROR_PAGE = "/jsps/SAPConfigError.jsp";
061:            public static final String NAME_FINDER_PAGE = "/jsps/SAPNamefinder.jsp";
062:            public static final String USER_CONFIG_REDIRECT = "/jsps/SAPUserConfigRedirect.jsp";
063:
064:            // Help pages
065:            public static final String CUST_SEARCH_HELP_PAGE = "/jsps/help/SAPCustomerSearchHelp.jsp";
066:            public static final String SALES_ORDER_HELP_PAGE = "/jsps/help/SAPSalesOrderHelp.jsp";
067:            public static final String EMPLOYEE_DETAILS_HELP_PAGE = "/jsps/help/SAPEmployeeDetailsHelp.jsp";
068:            public static final String ABSENCE_HELP_PAGE = "/jsps/help/SAPTimeHelp.jsp";
069:            public static final String MANAGER_VIEW_HELP_PAGE = "/jsps/help/SAPManagerViewHelp.jsp";
070:            public static final String NAMEFINDER_HELP_PAGE = "/jsps/help/SAPNamefinderHelp.jsp";
071:            public static final String USERCONFIG_HELP_PAGE = "/jsps/help/SAPUserConfigHelp.jsp";
072:
073:            /* Variable stored in Session */
074:            public static final String SESSION_CUSTOMERS = "customers";
075:            public static final String SESSION_QUERY_STRING = "queryString";
076:            public static final String SESSION_QUERY_FIELD = "queryField";
077:            public static final String SESSION_SELECTED_CUST = "selected_cust";
078:            public static final String SESSION_EMPLOYEE = "employee";
079:            public static final String SESSION_SO_SEARCH_STRING = "so_search_string";
080:            public static final String SESSION_USERCONFIG = "userconfig";
081:            public static final String SESSION_EMPMANAGER = "empmanager";
082:            public static final String SESSION_CUSTMANAGER = "custmanager";
083:            public static final String SESSION_SOMANAGER = "somanager";
084:            public static final String SESSION_TIMEMANAGER = "timemanager";
085:            public static final String SESSION_DRMANAGER = "userconfig";
086:            public static final String SESSION_ABSENCE_RECORDS = "absrecords";
087:            public static final String SESSION_NAMEMANAGER = "namemanager";
088:            public static final String SESSION_NAMEFINDER_QUERY = "namequery";
089:            public static final String SESSION_NAMEFINDER_RECORDS = "namerecords";
090:            public static final String SESSION_STATE = "processed";
091:            public static final String SESSION_STATE_NO_RECORDS = "norecords";
092:
093:            /* Constants for render parameters*/
094:            public static final String RENDER_SALESORDER_SEARCH = "sosearch";
095:
096:            /*Field names in HTML*/
097:            public static final String HTML_FIELD_SEARCH_TERM = "SearchTerm";
098:            public static final String HTML_FIELD_QUERY_FIELD = "Field";
099:            public static final String HTML_FIELD_OPERATION = "operation";
100:            public static final String HTML_FIELD_SEL_CUST = "sel_cust";
101:            public static final String HTML_FIELD_SO_SEARCH = "SOSearch";
102:            public static final String HTML_FIELD_USER_NAME = "username";
103:            public static final String HTML_FIELD_USER_PASS = "password";
104:            public static final String HTML_FIELD_EMP_NO = "empno";
105:            public static final String HTML_FIELD_PAGENUMBER = "pageno";
106:            public static final String HTML_FIELD_DIRECTION = "direction";
107:
108:            public static final String HTML_FIELD_SORT_FIELD = "sort_field";
109:            public static final String HTML_FIELD_SORT_ORDER = "sort_order";
110:
111:            //html fields for namefinder portlet
112:            public static final String HTML_FIELD_FIRST_NAME = "namefinder_FirstName";
113:            public static final String HTML_FIELD_LAST_NAME = "namefinder_LastName";
114:            public static final String HTML_FIELD_EMP_NUM = "namefinder_EmpNum";
115:            public static final String HTML_FIELD_ROOM_NUM = "namefinder_RoomNum";
116:            public static final String HTML_FIELD_BUILD_NUM = "namefinder_BuildingNum";
117:            public static final String HTML_FIELD_EXTN = "namefinder_Extension";
118:
119:            /* Possible iteration value */
120:            public static final int DIRECTION_FIRST = -100;
121:            public static final int DIRECTION_PREV = -1;
122:            public static final int DIRECTION_NEXT = 1;
123:            public static final int DIRECTION_LAST = 100;
124:
125:            /* Possible sorting actions */
126:            public static final String SORT_ORDER_ASC = "ASC";
127:            public static final String SORT_ORDER_DSC = "DSC";
128:
129:            /* Possible sort fields */
130:            public static final String CUST_NUMBER = "CUST_NUM";
131:            public static final String CUST_NAME = "CUST_NAME";
132:            public static final String CUST_CITY = "CUST_CITY";
133:
134:            public static final String EMP_NUM = "EMP_NUM";
135:            public static final String FIRST_NAME = "FIRST_NAME";
136:            public static final String LAST_NAME = "LAST_NAME";
137:            public static final String ROOM_NUMBER = "ROOM_NUMBER";
138:            public static final String BUILDING_NUMBER = "BUILDING_NUMBER";
139:            public static final String EXTENSION = "EXTENSION";
140:            public static final String EMAIL = "EMAIL";
141:            public static final String ROLE = "ROLE";
142:            public static final String ORG_UNIT = "ORG_UNIT";
143:
144:            public static final String ABS_TYPE = "ABS_TYPE";
145:            public static final String ABS_BEGIN = "ABS_BEGIN";
146:            public static final String ABS_END = "ABS_END";
147:            public static final String ABS_DAYS = "ABS_DAYS";
148:            public static final String ABS_HOURS = "ABS_HOURS";
149:
150:            public static final String DR_EMPNO = "DR_EMPNO";
151:            public static final String DR_FULLNAME = "DR_FULLNAME";
152:            public static final String DR_SHORTNAME = "DR_SHORTNAME";
153:            public static final String DR_BEGINDATE = "DR_BEGINDATE";
154:
155:            public static final String SO_PUR_NUM = "SO_PUR_NUM";
156:            public static final String SO_STATUS = "SO_STATUS";
157:
158:            /*Possible action values*/
159:            public static final String OPERATION_SEARCH = "SEARCH";
160:            public static final String OPERATION_SELECT = "SELECT";
161:            public static final String OPERATION_ITERATE = "ITER";
162:            public static final String OPERATION_SORT = "SORT";
163:            public static final String OPERATION_CONFIGURE = "CONFIGURE";
164:            public static final String OPERATION_RESET = "RESET";
165:            public static final String OPERATION_CANCEL = "CANCEL";
166:
167:            /* Constants used by the SAPSalesOrderPortlet */
168:            public static final String SESSION_SALESORDERS = "salesorder";
169:            public static final String SESSION_DIRECT_REPORTS = "directreports";
170:            public static final String REQUEST_SALESORDERS = "req.salesorder";
171:
172:            public static final String TIME_INTERVAL_HIGH = "9999-12-31";
173:            public static final String TIME_INTERVAL_LOW = "1800-01-01";
174:
175:            public static final String PREFS_USERNAME = "username";
176:            public static final String PREFS_EMPNUMBR = "empnumber";
177:
178:            /* portlet parameters */
179:            public static final String PARAM_CHANGE = "CHANGE";
180:            public static final String PARAM_AUTH = "AUTH";
181:            public static final String PARAM_AUTH_FAILED = "FAILED";
182:
183:            /* SSO Adpater Parameters */
184:            public static final String HTTPREQ_ATTR_NAME = "javax.portlet.portletc.httpServletRequest";
185:            public static final String SAP_SSOA_CONFIG_NAME = "sap.ssoa.configname";
186:            public static final String SAP_SSOA_CHANNEL_NAME = "sap.ssoa.channelname";
187:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.