001: package org.enhydra.dm.util;
002:
003: /**
004: * @author Slobodan Vujasinovic
005: */
006: public class EnhydraDMConstants {
007: public static final String DOCUMENT_ID = "documentId";
008:
009: public static final String VERSION_ID = "versionId";
010:
011: public static final String TEMPLATE_ID = "templateId";
012:
013: public static final String ACTION = "action";
014:
015: public static final String ACTION_DELETE = "delete";
016:
017: public static final String ACTION_LOCK = "lock";
018:
019: public static final String ACTION_UNLOCK = "unlock";
020:
021: public static final String ACTION_CHECKOUT = "checkout";
022:
023: public static final String ACTION_UNCHECKOUT = "unCheckout";
024:
025: public static final String ACTION_SWITCHVERSIONABLE = "switchVersionable";
026:
027: public static final String ACTION_CREATEVERSION = "createVersion";
028:
029: public static final String ACTION_DUPLICATEDOCUMENT = "duplicateDocument";
030:
031: public static final String ACTION_SWITCHARCHIVED = "switchArchived";
032:
033: public static final String ACTION_LOGOUT = "logout";
034:
035: public static final String ACTION_UPLOAD = "upload";
036:
037: public static final String ACTION_CHECKIN = "checkin";
038:
039: public static final String ACTION_CREATE = "create";
040:
041: public static final String ACTION_READ = "read";
042:
043: public static final String ACTION_EDIT = "edit";
044:
045: public static final String ACTION_RESTORE = "restore";
046:
047: public static final String ACTION_DOWNLOAD = "download";
048:
049: public static final String ACTION_READ_VERSION = "readVersion";
050:
051: public static final String ACTION_NEW = "new";
052:
053: public static final String ACTION_SAVE = "save";
054:
055: public static final String ACTION_MASS_DELETE = "massDelete";
056:
057: public static final String MODE = "mode";
058:
059: public static final String MODE_DOCUMENT = "document";
060:
061: public static final String MODE_TEMPLATE = "template";
062:
063: public static final String ENCODING = "UTF-8";
064:
065: public static final String DATE_FORMAT = "dd.MM.yyyy. H:mm:ss";
066:
067: public static final String PARAM = "param";
068:
069: public static final String PARAM_USER = "user";
070:
071: public static final String PARAM_NAME = "name";
072:
073: public static final String PARAM_FILE_NAME = "filename";
074:
075: public static final String PARAM_LANG = "lang";
076:
077: public static final String PARAM_UPLOAD_DOCUMENT = "uploadDocument";
078:
079: public static final String PARAM_LOGIN = "login";
080:
081: public static final String PARAM_PASSWORD = "password";
082:
083: public static final String PARAM_FIRSTNAME = "firstname";
084:
085: public static final String PARAM_LASTNAME = "lastname";
086:
087: public static final String PARAM_REPASSWORD = "repassword";
088:
089: public static final String HTML_NAME_SELECT_DOC_CHECKBOX = "selectDoc_";
090:
091: public static final String NAVIG_MANAGER = "Manager.po";
092:
093: public static final String NAVIG_VERSIONS = "Versions.po";
094:
095: public static final String NAVIG_UPLOAD = "Upload.po";
096:
097: public static final String NAVIG_WEBDAV = "webdav";
098:
099: public static final String NAVIG_DETAILS = "Details.po";
100:
101: public static final String NAVIG_RECYCLEBIN = "RecycleBin.po";
102:
103: public static final String NAVIG_FOEDITOR = "FoEditor.po";
104:
105: public static final String NAVIG_LOGIN = "Login.po";
106:
107: public static final String HEAD_ALLOW = "Allow";
108:
109: public static final String HEAD_PRAGMA = "Pragma";
110:
111: public static final String HEAD_CACHE_CONTROL = "Cache-Control";
112:
113: public static final String HEAD_ETAG = "ETag";
114:
115: public static final String HEAD_LAST_MODIFIED = "Last-Modified";
116:
117: public static final String HEAD_LOCATION = "Location";
118:
119: public static final String HEAD_CONTENT_DISPOSITION = "Content-Disposition";
120:
121: public static final String HEAD_CONTENT_TYPE = "Content-Type";
122:
123: public static final String HEAD_CONTENT_LENGTH = "Content-Length";
124:
125: public static final String PROP_EDITABLE_MT_FILE_NAME = "editablemimetypes";
126:
127: public static final String FO_PARAM_PREFIX = "fo.";
128:
129: public static final String NODE_PARAM_SUFIX = ".node";
130:
131: public static final String PDF_PARAM_PREFIX = "pdf.";
132:
133: public static final String PDF_PARAM_USERPASSWORD = "userPassword";
134:
135: public static final String PDF_PARAM_OWNERPASSWORD = "ownerPassword";
136:
137: public static final String PDF_PARAM_ALLOWPRINT = "allowPrint";
138:
139: public static final String PDF_PARAM_ALLOWCOPYCONTENT = "allowCopyContent";
140:
141: public static final String PDF_PARAM_ALLOWEDITCONTENT = "allowEditContent";
142:
143: public static final String PDF_PARAM_ALLOWEDITANNOTATION = "allowEditAnnotation";
144: }
|