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: LibraryItemConstants.java,v $
031: * Revision 1.3 2005/04/10 20:31:59 colinmacleod
032: * Added new themes.
033: * Changed id type to String.
034: * Changed i tag to em and b tag to strong.
035: * Improved PicoContainerFactory with NanoContainer scripts.
036: *
037: * Revision 1.2 2005/04/09 17:19:45 colinmacleod
038: * Changed copyright text to GPL v2 explicitly.
039: *
040: * Revision 1.1.1.1 2005/03/10 17:51:59 colinmacleod
041: * Restructured ivata op around Hibernate/PicoContainer.
042: * Renamed ivata groupware.
043: *
044: * Revision 1.2 2004/03/21 21:16:29 colinmacleod
045: * Shortened name to ivata op.
046: *
047: * Revision 1.1.1.1 2004/01/27 20:58:39 colinmacleod
048: * Moved ivata openportal to SourceForge..
049: *
050: * Revision 1.2 2003/10/15 14:16:53 colin
051: * fixing for XDoclet
052: *
053: * Revision 1.1 2003/02/24 19:09:22 colin
054: * moved to business
055: *
056: * Revision 1.3 2003/02/04 17:43:47 colin
057: * copyright notice
058: *
059: * Revision 1.2 2002/07/01 08:12:09 colin
060: * made constants Integers rather than ints
061: *
062: * Revision 1.1 2002/06/18 11:40:13 colin
063: * first version of library
064: * -----------------------------------------------------------------------------
065: */
066: package com.ivata.groupware.business.library.item;
067:
068: /**
069: * <p>Stores constant values for the {@link LibraryItemBean library item}.</p>
070: *
071: * @since 2002-06-14
072: * @author Colin MacLeod
073: * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
074: * @version $Revision: 1.3 $
075: * @see LibraryItemBean
076: */
077: public class LibraryItemConstants {
078: /**
079: * <p>Represents a general document or report type.</p>
080: */
081: public final static Integer ITEM_DOCUMENT = new Integer(0);
082:
083: /**
084: * <p>Represents a memo from one person to a group.</p>
085: */
086: public final static Integer ITEM_MEMO = new Integer(1);
087:
088: /**
089: * <p>Represents frequently asked questions.</p>
090: */
091: public final static Integer ITEM_FAQ = new Integer(2);
092:
093: /**
094: * <p>Represents minutes/agenda of a meeting.</p>
095: */
096: public final static Integer ITEM_MEETING = new Integer(3);
097:
098: /**
099: * <p>Represents a short note, with just a summary.</p>
100: */
101: public final static Integer ITEM_NOTE = new Integer(4);
102:
103: /**
104: * <p>Represents a news item, usually linking externally.</p>
105: */
106: public final static Integer ITEM_NEWS = new Integer(5);
107: }
|