001: /*
002: * Copyright (c) 2001 - 2005 ivata limited.
003: * All rights reserved.
004: * -----------------------------------------------------------------------------
005: * ivata groupware may be redistributed under the GNU General Public
006: * License as published by the Free Software Foundation;
007: * version 2 of the License.
008: *
009: * These programs are free software; you can redistribute them and/or
010: * modify them under the terms of the GNU General Public License
011: * as published by the Free Software Foundation; version 2 of the License.
012: *
013: * These programs are distributed in the hope that they will be useful,
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
016: *
017: * See the GNU General Public License in the file LICENSE.txt for more
018: * details.
019: *
020: * If you would like a copy of the GNU General Public License write to
021: *
022: * Free Software Foundation, Inc.
023: * 59 Temple Place - Suite 330
024: * Boston, MA 02111-1307, USA.
025: *
026: *
027: * To arrange commercial support and licensing, contact ivata at
028: * http://www.ivata.com/contact.jsp
029: * -----------------------------------------------------------------------------
030: * $Log: IndexFormConstants.java,v $
031: * Revision 1.3 2005/10/11 18:57:17 colinmacleod
032: * Fixed some checkstyle and javadoc issues.
033: *
034: * Revision 1.2 2005/10/02 14:08:59 colinmacleod
035: * Added/improved log4j logging.
036: *
037: * Revision 1.1 2005/09/29 13:06:05 colinmacleod
038: * First version of setting subproject.
039: * Existing classes restructured, new setting user interface created.
040: * Flexible XML UI configuration makes it easy to reuse the same web pages in
041: * other projects.
042: * Web files work as stand-alone webapp for testing.
043: *
044: * Revision 1.2 2005/04/09 17:19:18 colinmacleod
045: * Changed copyright text to GPL v2 explicitly.
046: *
047: * Revision 1.1.1.1 2005/03/10 17:47:42 colinmacleod
048: * Restructured ivata op around Hibernate/PicoContainer.
049: * Renamed ivata groupware.
050: *
051: * Revision 1.3 2004/03/21 21:16:22 colinmacleod
052: * Shortened name to ivata op.
053: *
054: * Revision 1.2 2004/02/01 22:07:29 colinmacleod
055: * Added full names to author tags
056: *
057: * Revision 1.1.1.1 2004/01/27 20:58:22 colinmacleod
058: * Moved ivata openportal to SourceForge..
059: *
060: * Revision 1.2 2003/10/15 13:57:23 colin
061: * fixing for XDoclet
062: *
063: * Revision 1.1 2003/02/24 19:09:22 colin
064: * moved to business
065: *
066: * Revision 1.2 2003/02/13 08:45:42 colin
067: * conversion to Struts/popups
068: *
069: * Revision 1.1 2003/02/04 17:50:17 colin
070: * first version in CVS
071: *
072: * Revision 1.1 2003/02/04 17:41:16 colin
073: * first version in CVS
074: * -----------------------------------------------------------------------------
075: */
076: package com.ivata.groupware.admin.setting.struts;
077:
078: /**
079: * <p>Constants used to identify view styles for calendar.</p>
080: *
081: * @since ivata groupware 0.9 (2003-02-02)
082: * @author Colin MacLeod
083: * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
084: * @version $Revision: 1.3 $
085: *
086: */
087: public final class IndexFormConstants {
088: /**
089: * <p>Represents day view.</p>
090: */
091: public static final Integer VIEW_DAY = new Integer(0);
092: /**
093: * <p>Represents working week, or 5 day view.</p>
094: */
095: public static final Integer VIEW_WORK_WEEK = new Integer(1);
096: /**
097: * <p>Represents week, or 7 day view.</p>
098: */
099: public static final Integer VIEW_WEEK = new Integer(2);
100: /**
101: * <p>Represents month view.</p>
102: */
103: public static final Integer VIEW_MONTH = new Integer(3);
104: /**
105: * <p>Represents year view.</p>
106: */
107: public static final Integer VIEW_YEAR = new Integer(4);
108: /**
109: * <p>Represents a list view displaying recent and future events as a
110: * list.</p>
111: */
112: public static final Integer VIEW_LIST = new Integer(15);
113:
114: /**
115: * Private default constructor enforces utility class behavior.
116: */
117: private IndexFormConstants() {
118: }
119: }
|