01: package com.teamkonzept.webman.mainint.events;
02:
03: import com.teamkonzept.lib.*;
04:
05: /**
06: definiert alle Fehlercodes, die durch den Benutzer verursacht wurden
07: * @author $Author: alex $
08: * @version $Revision: 1.27 $
09: */
10: public interface UserCodes extends ErrorCodes {
11: int TOO_FAST = USER + 1;
12: int NO_VALID_PATHNAME = USER + 2;
13: int DUPLICATE_PATHNAME = USER + 3;
14: int NO_PATHNAME = USER + 4;
15: int INVALID_LOGIN_TOKEN = USER + 5;
16: int INVALID_PARENT_COUNT = USER + 6;
17: int INVALID_PARENT_GROUP = USER + 7;
18: int DUPLICATE_OBJECT = USER + 8;
19: int NO_OBJECT = USER + 9;
20: int FEATURE_NOT_IMPLEMENTED = USER + 10;
21: int SELF_RELATION = USER + 11;
22: int CYCLIC_RELATION = USER + 12;
23: int FIELD_VALUE_REQUIRED = USER + 13;
24: int LOGIN_UNKNOWN = USER + 14;
25: int WRONG_TEMPLATE_NAME = USER + 15;
26: int TEMPLATE_NOT_FOUND = USER + 16;
27: int WRONG_TEMPLATE_SYNTAX = USER + 17;
28: int EVENT_NOT_ALLOWED = USER + 18;
29: int INVALID_WORKFLOW = USER + 19;
30: int INPUT_CANNOT_BE_EMPTY = USER + 20;
31: int CONTENT_NOT_REFERENCED = USER + 21;
32: int NO_MATCHING_TYPES = USER + 22;
33: int GENERATION_IN_PROGRESS = USER + 23;
34: int DOUBLE_SHORTNAME = USER + 24;
35: int TEMPLATE_LOCKED = USER + 25;
36: int WRONG_TEMP_NAME = USER + 26;
37: int NO_PRESENTATION = USER + 27;
38: int CHOSE_CONTENT_ATTRIBUTE = USER + 28;
39: int NOT_MATCHING_MIMETYPES = USER + 29;
40: int FORM_CHANGE = USER + 30;
41: /** Versuch einen Dokumenttypen ohne Template anzulegen */
42: int NO_TEMPLATE_DEFINED = USER + 31;
43: /** Versuch einen COntent ohne Formular anzulegen */
44: int NO_FORM_DEFINED = USER + 32;
45: }
|