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: UserGroupConstants.java,v $
031: * Revision 1.3 2005/10/11 18:56:18 colinmacleod
032: * Fixed some checkstyle and javadoc issues.
033: *
034: * Revision 1.2 2005/10/02 14:08:58 colinmacleod
035: * Added/improved log4j logging.
036: *
037: * Revision 1.1 2005/09/29 14:17:04 colinmacleod
038: * Split UserGroupDO off from GroupDO.
039: * Moved UserGroupDO, Right classes to security subproject (from
040: * addressbook).
041: * Centralized user right handling into Rights and RightsImpl.
042: *
043: * Revision 1.5 2005/04/29 02:48:13 colinmacleod
044: * Data bugfixes.
045: * Changed primary key back to Integer.
046: *
047: * Revision 1.4 2005/04/28 18:47:10 colinmacleod
048: * Fixed XHMTL, styles and resin compatibility.
049: * Added support for URL rewriting.
050: *
051: * Revision 1.3 2005/04/10 20:09:36 colinmacleod
052: * Added new themes.
053: * Changed id type to String.
054: * Changed i tag to em and b tag to strong.
055: * Improved PicoContainerFactory with NanoContainer scripts.
056: *
057: * Revision 1.2 2005/04/09 17:19:07 colinmacleod
058: * Changed copyright text to GPL v2 explicitly.
059: *
060: * Revision 1.1.1.1 2005/03/10 17:50:31 colinmacleod
061: * Restructured ivata op around Hibernate/PicoContainer.
062: * Renamed ivata groupware.
063: *
064: * Revision 1.3 2004/07/13 19:41:13 colinmacleod
065: * Moved project to POJOs from EJBs.
066: * Applied PicoContainer to services layer (replacing session EJBs).
067: * Applied Hibernate to persistence layer (replacing entity EJBs).
068: *
069: * Revision 1.2 2004/03/21 21:16:06 colinmacleod
070: * Shortened name to ivata op.
071: *
072: * Revision 1.1.1.1 2004/01/27 20:57:51 colinmacleod
073: * Moved ivata openportal to SourceForge..
074: *
075: * Revision 1.3 2003/10/17 12:36:12 jano
076: * fixing problems with building
077: * converting intranet -> portal
078: * Eclipse building
079: *
080: * Revision 1.2 2003/10/15 13:18:02 colin
081: * fixing for XDoclet
082: *
083: * Revision 1.3 2003/08/05 14:57:35 jano
084: * addressBook extension
085: *
086: * Revision 1.2 2003/07/25 11:42:11 jano
087: * adding functionality for addressBook extension
088: *
089: * Revision 1.1 2003/02/24 19:09:21 colin
090: * moved to business
091: *
092: * Revision 1.3 2003/02/04 17:43:45 colin
093: * copyright notice
094: *
095: * Revision 1.2 2002/12/03 15:25:36 jano
096: * we have new group - "USER" it's mandatory group
097: *
098: * Revision 1.1 2002/09/27 12:53:07 jano
099: * constants of GROUP
100: * -----------------------------------------------------------------------------
101: */
102: package com.ivata.groupware.admin.security.user.group;
103:
104: /**
105: * <p>Store all the constants for groups.</p>
106: *
107: * @since 2002-09-26
108: * @author jano
109: * @version $Revision: 1.3 $
110: */
111: public final class UserGroupConstants {
112: /**
113: * <p>Administrator group, this group can not be deleted.</p>
114: */
115: public static final Integer ADMINISTRATOR_GROUP = new Integer(1);
116: /**
117: * <p>User group. Each USER is int this group, this group can not be
118: * deleted.</p>
119: */
120: public static final Integer EVERYONE_GROUP = new Integer(0);
121:
122: /**
123: * <p>Registered user group, this group can not be deleted. It includes
124: * everyone apart from the guest user.</p>
125: */
126: public static final Integer REGISTERED_USER_GROUP = new Integer(2);
127:
128: /**
129: * Private default constructor enforces utility class behavior.
130: */
131: private UserGroupConstants() {
132: }
133: }
|