📄 i_cmsconstants.java
字号:
/**
* Group has full access to this resource.
*/
final static int C_ACCESS_GROUP = C_ACCESS_GROUP_READ + C_ACCESS_GROUP_WRITE + C_ACCESS_GROUP_VISIBLE;
/**
* has full access to this resource.
*/
final static int C_ACCESS_PUBLIC = C_ACCESS_PUBLIC_READ + C_ACCESS_PUBLIC_WRITE + C_ACCESS_PUBLIC_VISIBLE;
/**
* The default-flags for a new resource.
*/
final static int C_ACCESS_DEFAULT_FLAGS = C_ACCESS_OWNER_READ + C_ACCESS_OWNER_WRITE + C_ACCESS_OWNER_VISIBLE
+ C_ACCESS_GROUP_READ + C_ACCESS_GROUP_WRITE + C_ACCESS_GROUP_VISIBLE + C_ACCESS_PUBLIC_READ + C_ACCESS_PUBLIC_VISIBLE;
/**
* Is set, if the resource is unchanged in this project.
*/
static final int C_STATE_UNCHANGED = 0;
/**
* Is set, if the resource was changed in this project.
*/
static final int C_STATE_CHANGED = 1;
/**
* Is set, if the resource is new in this project.
*/
static final int C_STATE_NEW = 2;
/**
* Is set, if the resource was deleted in this project.
*/
static final int C_STATE_DELETED = 3;
/**
* This value will be returned for int's withaout a value.
*/
static final int C_UNKNOWN_INT = -1;
/**
* This value will be returned for long's withaout a value.
*/
static final int C_UNKNOWN_LONG = -1;
/**
* This is the id for an undefined launcher.
*/
static final int C_UNKNOWN_LAUNCHER_ID = -1;
/**
* This is the classname for an undefined launcher.
*/
static final String C_UNKNOWN_LAUNCHER = "UNKNOWN";
/**
* This is the defintion for a filesystem mountpoint.
*/
static final int C_MOUNTPOINT_FILESYSTEM = 1;
/**
* This is the defintion for a database mountpoint.
*/
static final int C_MOUNTPOINT_MYSQL = 2;
/**
* A string in the configuration-file.
*/
static final String C_EXPORTPOINT = "exportpoint.";
/**
* A string in the configuration-file.
*/
static final String C_EXPORTPOINT_PATH = "exportpoint.path.";
/**
* A string in the configuration-file.
*/
static final String C_STATICEXPORT_PATH = "staticexport.path";
/**
* A string in the configuration-file.
*/
static final String C_STATICEXPORT_START = "staticexport.start";
/**
* A string in the configuration-file.
*/
static final String C_URL_PREFIX_EXPORT = "url_prefix_export";
/**
* A string in the configuration-file.
*/
static final String C_URL_PREFIX_HTTP = "url_prefix_http";
/**
* A string in the configuration-file.
*/
static final String C_URL_PREFIX_HTTPS = "url_prefix_https";
/**
* A string in the configuration-file.
*/
static final String C_URL_PREFIX_SERVERNAME = "url_prefix_servername";
/**
* The folder - seberator in this system
*/
static final String C_FOLDER_SEPERATOR = "/";
/**
* The name of the rood folder
*/
static final String C_ROOT = C_FOLDER_SEPERATOR;
/**
* The name of the exportpath-systemproperty.
*/
static final String C_SYSTEMPROPERTY_CRONTABLE = "CRONTABLE";
/**
* The name of the exportpath-systemproperty.
*/
static final String C_SYSTEMPROPERTY_EXPORTPATH = "EXPORTPATH";
/**
* The name of the mountpoint-systemproperty.
*/
static final String C_SYSTEMPROPERTY_MOUNTPOINT = "MOUNTPOINT";
/**
* The name of the mimetypes-systemproperty.
*/
static final String C_SYSTEMPROPERTY_MIMETYPES = "MIMETYPES";
/**
* The name of the resourcetype-systemproperty.
*/
static final String C_SYSTEMPROPERTY_RESOURCE_TYPE = "RESOURCE_TYPE";
/**
* The name of the resourcetype-extension.
*/
static final String C_SYSTEMPROPERTY_EXTENSIONS = "EXTENSIONS";
/**
* The name of the linkchecktable-systemproperty.
*/
static final String C_SYSTEMPROPERTY_LINKCHECKTABLE = "LINKCHECKTABLE";
/**
* The key for the username in the user information hashtable.
*/
static final String C_SESSION_USERNAME = "USERNAME";
/**
* The key for the current usergroup the user information hashtable.
*/
static final String C_SESSION_CURRENTGROUP = "CURRENTGROUP";
/**
* The key for the project in the user information hashtable.
*/
static final String C_SESSION_PROJECT = "PROJECT";
/**
* The key for the dirty-flag in the session.
*/
static final String C_SESSION_IS_DIRTY = "_core_session_is_dirty_";
/**
* The key for the original session to store the session data.
*/
static final String C_SESSION_DATA = "_session_data_";
/**
* The key for the session to store Broadcast messages.
*/
static final String C_SESSION_BROADCASTMESSAGE = "BROADCASTMESSAGE";
/**
* The key for the session to store, if a message is pending for this user.
*/
static final String C_SESSION_MESSAGEPENDING = "BROADCASTMESSAGE_PENDING";
/**
* Session key for storing the possition in the administration navigation
*/
public static final String C_SESSION_ADMIN_POS = "adminposition";
/**
* Session key for storing a possible error while executing a thread
*/
public static final String C_SESSION_THREAD_ERROR = "threaderror";
/**
* Session key for storing the files Vector for moduleimport.
*/
public static final String C_SESSION_MODULE_VECTOR = "modulevector";
/** Identifier for request type http */
public static final int C_REQUEST_HTTP = 0;
/** Identifier for request type console */
public static final int C_REQUEST_CONSOLE = 1;
/** Identifier for request type http */
public static final int C_RESPONSE_HTTP = 0;
/** Identifier for request type console */
public static final int C_RESPONSE_CONSOLE = 1;
/** Task type value of getting all tasks */
public static final int C_TASKS_ALL = 1;
/** Task type value of getting new tasks */
public static final int C_TASKS_NEW = 2;
/** Task type value of getting open tasks */
public static final int C_TASKS_OPEN = 3;
/** Task type value of getting active tasks */
public static final int C_TASKS_ACTIVE = 4;
/** Task type value of getting done tasks */
public static final int C_TASKS_DONE = 5;
/** Task order value */
public static final String C_ORDER_ID = "id";
/** Task order value */
public static final String C_ORDER_NAME = "name";
/** Task order value */
public static final String C_ORDER_STATE = "state";
/** Task order value */
public static final String C_ORDER_TASKTYPE = "tasktyperef";
/** Task order value */
public static final String C_ORDER_INITIATORUSER = "initiatoruserref";
/** Task order value */
public static final String C_ORDER_ROLE = "roleref";
/** Task order value */
public static final String C_ORDER_AGENTUSER = "agentuserref";
/** Task order value */
public static final String C_ORDER_ORIGINALUSER = "originaluserref";
/** Task order value */
public static final String C_ORDER_STARTTIME = "starttime";
/** Task order value */
public static final String C_ORDER_WAKEUPTIME = "wakeuptime";
/** Task order value */
public static final String C_ORDER_TIMEOUT = "timeout";
/** Task order value */
public static final String C_ORDER_ENDTIME = "endtime";
/** Task order value */
public static final String C_ORDER_PERCENTAGE = "percentage";
/** Task order value */
public static final String C_ORDER_PRIORITY = "priorityref";
/** Task sort value ascending */
public static final String C_SORT_ASC = "ASC";
/** Task sort value descending */
public static final String C_SORT_DESC = "DESC";
/** Task priority high */
public static final int C_TASK_PRIORITY_HIGH = 1;
/** Task priority normal */
public static final int C_TASK_PRIORITY_NORMAL = 2;
/** Task priority low */
public static final int C_TASK_PRIORITY_LOW = 3;
/** Value for order tasks by none */
public static final int C_TASKORDER_NONE = 0;
/** Value for order tasks by startdate */
public static final int C_TASKORDER_STARTDATE = 1;
/** Value for order tasks by timeout */
public static final int C_TASKORDER_TIMEOUT = 2;
/** Value for order tasks by taskname */
public static final int C_TASKSORDER_TASKNAME = 3;
/** state values of a task prepared to start*/
public static final int C_TASK_STATE_PREPARE = 0;
/** state values of a task ready to start */
public static final int C_TASK_STATE_START = 1;
/** state values of a task started */
public static final int C_TASK_STATE_STARTED = 2;
/** state values of a task ready to end */
public static final int C_TASK_STATE_NOTENDED = 3;
/** state values of a task ended */
public static final int C_TASK_STATE_ENDED = 4;
/** state values of a task halted */
public static final int C_TASK_STATE_HALTED = 5;
/**System type values for the task log */
public static final int C_TASKLOG_SYSTEM = 0;
/**User type value for the task log */
public static final int C_TASKLOG_USER = 1;
/** state values of task messages when accepted */
public static final int C_TASK_MESSAGES_ACCEPTED = 1;
/** state values of task messages when forwared */
public static final int C_TASK_MESSAGES_FORWARDED = 2;
/** state values of task messages when completed */
public static final int C_TASK_MESSAGES_COMPLETED = 4;
/** state values of task messages when members */
public static final int C_TASK_MESSAGES_MEMBERS = 8;
public final static String C_FILE = "FILE";
public final static String C_FILECONTENT = "CONTENT";
public final static String C_FOLDER = "FOLDER";
public final static String C_USER = "USER";
public final static String C_GROUP = "GROUP";
/**
* Values for the database import and export
*/
/** Export type value - exports users and resources */
final static int C_EXPORTUSERSFILES = 0;
/**Export type value - exports only users */
final static int C_EXPORTONLYUSERS = 1;
/**Export type value - exports only resources */
final static int C_EXPORTONLYFILES = 2;
/**Are files imported - NO */
final static int C_NO_FILES_IMPORTED = 0;
/**Are files imported - yes */
final static int C_FILES_IMPORTED = 1;
/**
* root element in the XML file (the document node)
* needed, to insert other elements
*/
final static String C_FELEMENT = "CMS_EXPORT";
/** first XML element tag for the resources */
final static String C_TFILES = "FILES";
/** XML tag to defines one resource */
final static String C_TFILEOBJ = "FILEOBJ";
/** XML tag to defines the resource name */
final static String C_TFNAME = "NAME";
/** XML tag to defines the resource type */
final static String C_TFTYPE = "TYPE";
/** XML tag to defines the resource typename */
final static String C_TFTYPENAME = "TYPENAME";
/** XML tag to defines user acces */
final static String C_TFUSER = "USER";
/** XML tag to defines group acces */
final static String C_TFGROUP = "GROUP";
/** XML tag to defines file acces */
final static String C_TFACCESS = "ACCESFLAG";
/** XML tag to defines the resource property */
final static String C_TFPROPERTYINFO = "PROPERTYINFO";
/** XML tag to defines the resource property */
final static String C_TFPROPERTYNAME = "PROPERTYNAME";
/** XML tag to defines the resource propertytype */
final static String C_TFPROPERTYTYPE = "PROPERTYTYP";
/** XML tag to defines the resource propertyvalue */
final static String C_TFPROPERTYVALUE = "PROPERTYVALUE";
/** XML tag to defines the resource content if resource is a file */
final static String C_FCONTENT = "CONTENT";
/** first XML element tag for the groups */
final static String C_TGROUPS = "GROUPS";
/** XML tag to defines one group */
final static String C_TGROUPOBJ = "GROUPOBJ";
/** XML tag to defines the group name */
final static String C_TGNAME = "NAME";
/** XML tag to defines the parentgroup name */
final static String C_TGPARENTGROUP = "PARENTGROUP";
/** XML tag to defines the description of group */
final static String C_TGDESC = "DESC";
/** XML tag to defines the flag of group */
final static String C_TGFLAG = "FLAG";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -