01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.channels.groupsmanager;
07:
08: /**
09: * An interface that holds global variables uses to externalize settings from
10: * the classes that use them.
11: * @author Don Fracapane
12: * @version $Revision: 34756 $
13: */
14: public interface GroupsManagerConstants {
15: // some of these constants might be in the properties files
16: String BASE_PACKAGE = "org.jasig.portal.channels.groupsmanager";
17: String COMMANDS_PACKAGE = BASE_PACKAGE + ".commands";
18: String WRAPPERS_PACKAGE = BASE_PACKAGE + ".wrappers";
19: String GROUPS_PACKAGE = "org.jasig.portal.groups";
20: String SECURITY_PACKAGE = "org.jasig.portal.security";
21: String GROUP_CLASSNAME = GROUPS_PACKAGE + ".IEntityGroup";
22: String ENTITY_CLASSNAME = SECURITY_PACKAGE + ".IPerson";
23: String OWNER = "org.jasig.portal.channels.groupsmanager.CGroupsManager";
24: String ENTITY_TAGNAME = "entity";
25: String GROUP_TAGNAME = "group";
26: String PROPERTIES_TAGNAME = "properties";
27:
28: // ROOT_GROUP_TITLE is the name of the root element holding the initial group
29: // contexts in the groups management channel
30: String ROOT_GROUP_TITLE = "Root Groups";
31: String ROOT_GROUP_DESCRIPTION = "Set of Entity Types that have a root group.";
32:
33: String BROWSE_MODE = "browse";
34: String EDIT_MODE = "edit";
35: String SELECT_MODE = "select";
36: String MEMBERS_ONLY_MODE = "members";
37:
38: String VIEW_PERMISSION = "VIEW";
39: String CREATE_PERMISSION = "CREATE";
40: String UPDATE_PERMISSION = "UPDATE";
41: String DELETE_PERMISSION = "DELETE";
42: String SELECT_PERMISSION = "SELECT";
43: String ADD_REMOVE_PERMISSION = "ADD/REMOVE";
44: String ASSIGN_PERMISSION = "ASSIGNPERMISSIONS";
45: }
|