01: /**
02: * $Id: PSFTHolidaysConstants.java,v 1.1 2005/08/11 12:24:13 pg133018 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.psftportlet.holidaysportlet;
14:
15: /**
16: * This class defines the constants used by PeopleSoft Holidays portlet.
17: *
18: * @author Pradeep Gond
19: */
20:
21: public class PSFTHolidaysConstants {
22: public static final String objectResourceName = "PSFTHolidaysObject";
23:
24: // constants used in PSFTHolidaysObject
25: public static final String HOLIDAYS_BROWSE = "holidaysBrowseQ";
26: public static final String HOLIDAYS_FIND = "holidaysFindQ";
27: public static final String SCHEDULE_NAME = "scheduleName";
28: public static final String SCHEDULE_DESCRIPTION = "scheduleDescription";
29: public static final String DESCRIPTION = "description";
30: public static final String HOLIDAY_DATE_TABLE = "holidayDateTable";
31: public static final String DATE_NAME = "dateName";
32: public static final String DESCRIPTION_NAME = "descriptionName";
33: public static final String DEFAULT_HOLIDAY_CODE = "defaultHolidayCode";
34:
35: // tags to be replaced
36: public static final String SCHEDULE_TAG = "%SCHEDULE%";
37:
38: // attributes
39: public static final String HOLIDAYS_SCHEDULES = "HOLIDAYS_SCHEDULES";
40: public static final String HOLIDAYS_SCHEDULE_NAME = "HOLIDAYS_SCHEDULE_NAME";
41: public static final String HOLIDAYS_DATES = "HOLIDAYS_DATES";
42: public static final String HOLIDAYS_DESCRIPTION = "HOLIDAYS_DESCRIPTION";
43:
44: // jsp pages
45: public static final String VIEW_PAGE = "/jsps/holidaysportlet/view.jsp";
46: public static final String HELP_PAGE = "/jsps/holidaysportlet/help.jsp";
47:
48: // parameters
49: public static final String HOLIDAY_NAME_PARAM = "HOLIDAY_NAME_PARAM";
50:
51: }
|