01: /*
02: * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.taskadmin;
07:
08: public interface TaskAdminConstants {
09: public static final String RESOURCE_BUNDLE_FILE = "psTaskAdmin";
10: public static final String LOG_FILE_NAME = "taskadmin.debug";
11: public static final String CONTEXT_CONFIG_FILE_NAME = "contextconfig.properties";
12: public static final String TASKADMIN_CONTEXT_FACTORY_CLASS_NAME = "taskadmin.contextFactoryClassName";
13: public static final String CHANNEL_TASKADMIN_CONTEXT_FACTORY_CLASS_NAME = "channeltaskadmin.contextFactoryClassName";
14: public static final String USER_TASKADMIN_CONTEXT_FACTORY_CLASS_NAME = "usertaskadmin.contextFactoryClassName";
15:
16: //error codes.
17: public static final int GENERIC_ERROR = 0;
18: public static final int INVALID_CHANNEL = 1;
19: public static final int INVALID_PROVIDER = 2;
20: public static final int INVALID_PROPERTY_TYPE = 3;
21: public static final int CHANNEL_EXISTS = 4;
22: public static final int STORE_ERROR = 5;
23: public static final int NOT_CONTAINER = 6;
24: public static final int INVALID_PROPERTY = 7;
25: public static final int ROLE_ASSIGN_ERROR = 8;
26: public static final int ROLE_REMOVE_ERROR = 9;
27: public static final int USER_ROLES_ERROR = 10;
28: public static final int USER_STATUS_ERROR = 11;
29: public static final int RESET_PASSWORD_ERROR = 12;
30: public static final int GETUSERS_ERROR = 13;
31: public static final int ASSIGNABLE_ROLES_ERROR = 14;
32: public static final int DNNAME_ERROR = 15;
33: public static final int INVALID_BASEDN = 16;
34: public static final int INVALID_PATTERN = 17;
35: public static final int CREATEUSERS_ERROR = 18;
36: public static final int DELETEUSERS_ERROR = 19;
37: public static final int NULL_PASSWORD = 20;
38: public static final int INVALID_PREFERENCE = 21;
39: public static final int NULL_CHANNEL_NAME = 22;
40: public static final int INVALID_USER_DN = 23;
41: public static final int INVALID_ROLE_DN = 24;
42: public static final int PRODUCERS_ID_LIST_ERROR = 25;
43: public static final int PORTLETS_HANDLER_LIST_ERROR = 26;
44: public static final int PRODUCER_NAME_ERROR = 27;
45: public static final int PORTLET_NAME_ERROR = 28;
46: public static final int INVALID_USER_INFO = 29;
47: public static final int INVALID_ROLE_INFO = 30;
48: public static final int CREATEROLE_ERROR = 31;
49: public static final int SEARCHUSERS_TIMELIMIT_ERROR = 32;
50: public static final int SEARCHUSERS_SIZELIMIT_ERROR = 33;
51: public static final int DP_MODIFIED_BEFORE_STORE = 34;
52: public static final int DELETE_CHANNEL_ERROR = 35;
53: public static final int EMPTY_DP_DOC = 36;
54: }
|