com.opencms.file
Class CmsRegistry

java.lang.Object
  |
  +--com.opencms.template.A_CmsXmlContent
        |
        +--com.opencms.file.CmsRegistry
All Implemented Interfaces:
Cloneable, I_CmsConstants, I_CmsContent, I_CmsLogChannels, I_CmsRegistry, I_CmsWpConstants, I_CmsXmlContent

public class CmsRegistry
extends A_CmsXmlContent
implements I_CmsRegistry, I_CmsConstants, I_CmsWpConstants

Implements the registry for OpenCms.

The OpenCms registry contains information about the installed modules in the system, as well as the launcher mappings, the mail server settings for the task management, the workplace views and some other items.

Version:
$Revision: 1.74.2.1 $ $Date: 2004/01/07 09:17:15 $
Author:
Andreas Schouten, Thomas Weckert (t.weckert@alkacon.com), Alexander Kandzior (a.kandzior@alkacon.com)

Field Summary
 
Fields inherited from class com.opencms.template.A_CmsXmlContent
C_ERR_NODATABLOCK, C_MINIMUM_CLASSNAME, C_PARAMTYPES_HANDLING_METHODS, C_PARAMTYPES_USER_METHODS, C_REGISTER_FIRST_RUN, C_REGISTER_MAIN_RUN, C_TEMPLATE_EXTENSION, C_TEMPLATEPATH, m_cms, m_firstRunTags, m_knownTags, m_mainProcessTags
 
Fields inherited from interface com.opencms.file.I_CmsRegistry
C_ANY_VERSION, C_MODULE_PATH, C_MODULE_TYPE_SIMPLE, C_MODULE_TYPE_TRADITIONAL
 
Fields inherited from interface com.opencms.core.I_CmsConstants
C_ACCESS_DEFAULT_FLAGS, C_ACCESS_GROUP, C_ACCESS_GROUP_READ, C_ACCESS_GROUP_VISIBLE, C_ACCESS_GROUP_WRITE, C_ACCESS_INTERNAL_READ, C_ACCESS_OWNER, C_ACCESS_OWNER_READ, C_ACCESS_OWNER_VISIBLE, C_ACCESS_OWNER_WRITE, C_ACCESS_PUBLIC, C_ACCESS_PUBLIC_READ, C_ACCESS_PUBLIC_VISIBLE, C_ACCESS_PUBLIC_WRITE, C_ACCESS_READ, C_ACCESS_VISIBLE, C_ACCESS_WRITE, C_ADDITIONAL_INFO_EXPLORERSETTINGS, C_ADDITIONAL_INFO_PREFERENCES, C_ADDITIONAL_INFO_STARTSETTINGS, C_ADDITIONAL_INFO_TASKSETTINGS, C_ADDITIONAL_INFO_TOWN, C_ADDITIONAL_INFO_ZIPCODE, C_AT_LEAST_ONCE, C_CLUSTERURL, C_CONFIGURATION_CACHE, C_CONFIGURATION_CLASS, C_CONFIGURATION_REGISTRY, C_CONFIGURATION_RESOURCEBROKER, C_COPYRIGHT, C_DEFAULT_SITE, C_DELETE_HISTORY, C_ENABLE_HISTORY, C_ERRPREFIX, C_ERRSPERATOR, C_EXPORT_TAG_ACCESS, C_EXPORT_TAG_ADDRESS, C_EXPORT_TAG_CREATOR, C_EXPORT_TAG_DATE, C_EXPORT_TAG_DEFAULTGROUP, C_EXPORT_TAG_DESCRIPTION, C_EXPORT_TAG_DESTINATION, C_EXPORT_TAG_EMAIL, C_EXPORT_TAG_EXPORT, C_EXPORT_TAG_FILE, C_EXPORT_TAG_FIRSTNAME, C_EXPORT_TAG_FLAGS, C_EXPORT_TAG_GROUP, C_EXPORT_TAG_GROUPDATA, C_EXPORT_TAG_GROUPNAME, C_EXPORT_TAG_INFO, C_EXPORT_TAG_LASTMODIFIED, C_EXPORT_TAG_LASTNAME, C_EXPORT_TAG_LAUNCHER_START_CLASS, C_EXPORT_TAG_MODULEXPORT, C_EXPORT_TAG_NAME, C_EXPORT_TAG_OC_VERSION, C_EXPORT_TAG_PARENTGROUP, C_EXPORT_TAG_PASSWORD, C_EXPORT_TAG_PROJECT, C_EXPORT_TAG_PROPERTIES, C_EXPORT_TAG_PROPERTY, C_EXPORT_TAG_RECOVERYPASSWORD, C_EXPORT_TAG_SECTION, C_EXPORT_TAG_SOURCE, C_EXPORT_TAG_TYPE, C_EXPORT_TAG_USER, C_EXPORT_TAG_USERDATA, C_EXPORT_TAG_USERGROUPDATA, C_EXPORT_TAG_USERGROUPS, C_EXPORT_TAG_USERINFO, C_EXPORT_TAG_VALUE, C_EXPORT_TAG_VERSION, C_EXPORT_VERSION, C_EXPORT_XMLFILENAME, C_EXPORTONLYFILES, C_EXPORTONLYUSERS, C_EXPORTPOINT, C_EXPORTPOINT_PATH, C_EXPORTUSERSFILES, C_FCONTENT, C_FELEMENT, C_FILE, C_FILECONTENT, C_FILES_IMPORTED, C_FLAG_DISABLED, C_FLAG_ENABLED, C_FLAG_GROUP_PROJECTCOWORKER, C_FLAG_GROUP_PROJECTMANAGER, C_FLAG_GROUP_ROLE, C_FOLDER, C_FOLDER_SEPARATOR, C_GROUP, C_GROUP_ADMIN, C_GROUP_GUEST, C_GROUP_PROJECTLEADER, C_GROUP_USERS, C_LINKCHECKTABLE_DATE, C_MAX_LENGTH_RESOURCE_NAME, C_MODULE_PROPERTY_ADDITIONAL_RESOURCES, C_MODULE_PROPERTY_ADDITIONAL_RESOURCES_SEPARATOR, C_MODUS_AUTO, C_MODUS_EXPORT, C_MODUS_EXTERN, C_MODUS_OFFLINE, C_MODUS_ONLINE, C_MOUNTPOINT_FILESYSTEM, C_MOUNTPOINT_MYSQL, C_NEVER, C_NO_FILES_IMPORTED, C_ORDER_AGENTUSER, C_ORDER_ENDTIME, C_ORDER_ID, C_ORDER_INITIATORUSER, C_ORDER_NAME, C_ORDER_ORIGINALUSER, C_ORDER_PERCENTAGE, C_ORDER_PRIORITY, C_ORDER_ROLE, C_ORDER_STARTTIME, C_ORDER_STATE, C_ORDER_TASKTYPE, C_ORDER_TIMEOUT, C_ORDER_WAKEUPTIME, C_PASSWORD_MINIMUMSIZE, C_PROJECT_ONLINE, C_PROJECT_ONLINE_ID, C_PROJECT_STATE_ARCHIVE, C_PROJECT_STATE_INVISIBLE, C_PROJECT_STATE_LOCKED, C_PROJECT_STATE_UNLOCKED, C_PROJECT_TYPE_INVISIBLE, C_PROJECT_TYPE_NORMAL, C_PROJECT_TYPE_TEMPORARY, C_PROPERTY_ACTIV, C_PROPERTY_CHANNELID, C_PROPERTY_CONTENT_ENCODING, C_PROPERTY_DEFAULT_FILE, C_PROPERTY_DESCRIPTION, C_PROPERTY_EXPORT, C_PROPERTY_EXPORTNAME, C_PROPERTY_KEYWORDS, C_PROPERTY_NAVPOS, C_PROPERTY_NAVTEXT, C_PROPERTY_RELATIVEROOT, C_PROPERTY_TEMPLATETYPE, C_PROPERTY_TITLE, C_PROPERTY_VISIBLE, C_PUBLISH_METHOD_LINK, C_REGISTRY_DESTINATION, C_REGISTRY_HISTORY, C_REGISTRY_KNOWNLAUNCHERS, C_REGISTRY_LAUNCHER, C_REGISTRY_SOURCE, C_REQUEST_CONSOLE, C_REQUEST_HTTP, C_RESPONSE_CONSOLE, C_RESPONSE_HTTP, C_ROOT, C_ROOT_TEMPLATE_NAME, C_ROOTNAME_COS, C_ROOTNAME_VFS, C_SESSION_ADMIN_POS, C_SESSION_BROADCASTMESSAGE, C_SESSION_CONTENT_ENCODING, C_SESSION_CURRENTGROUP, C_SESSION_DATA, C_SESSION_IS_DIRTY, C_SESSION_MESSAGEPENDING, C_SESSION_MODULE_VECTOR, C_SESSION_PROJECT, C_SESSION_THREAD_ERROR, C_SESSION_USERNAME, C_SORT_ASC, C_SORT_DESC, C_START_ACCESSFLAGS, C_START_DEFAULTGROUP, C_START_LANGUAGE, C_START_LOCKDIALOG, C_START_PROJECT, C_START_VIEW, C_STATE_CHANGED, C_STATE_DELETED, C_STATE_NEW, C_STATE_UNCHANGED, C_STATICEXPORT_PATH, C_STATICEXPORT_START, C_SYNCHRONISATION_PATH, C_SYNCHRONISATION_PROJECT, C_SYNCHRONISATION_RESOURCE, C_SYNCHRONISATION_RESOURCETAG, C_SYSTEMPROPERTY_CRONTABLE, C_SYSTEMPROPERTY_EXPORTPATH, C_SYSTEMPROPERTY_EXTENSIONS, C_SYSTEMPROPERTY_LINKCHECKTABLE, C_SYSTEMPROPERTY_MIMETYPES, C_SYSTEMPROPERTY_MOUNTPOINT, C_SYSTEMPROPERTY_RESOURCE_TYPE, C_TABLE_CHANNELID, C_TASK_FILTER, C_TASK_MESSAGES, C_TASK_MESSAGES_ACCEPTED, C_TASK_MESSAGES_COMPLETED, C_TASK_MESSAGES_FORWARDED, C_TASK_MESSAGES_MEMBERS, C_TASK_ORDER_BY_DATE, C_TASK_ORDER_BY_NAME, C_TASK_PRIORITY_HIGH, C_TASK_PRIORITY_LOW, C_TASK_PRIORITY_NORMAL, C_TASK_STATE_ENDED, C_TASK_STATE_HALTED, C_TASK_STATE_NOTENDED, C_TASK_STATE_PREPARE, C_TASK_STATE_START, C_TASK_STATE_STARTED, C_TASK_VIEW_ALL, C_TASKLOG_SYSTEM, C_TASKLOG_USER, C_TASKORDER_NONE, C_TASKORDER_STARTDATE, C_TASKORDER_TIMEOUT, C_TASKS_ACTIVE, C_TASKS_ALL, C_TASKS_DONE, C_TASKS_NEW, C_TASKS_OPEN, C_TASKSORDER_TASKNAME, C_TEMP_PREFIX, C_TFACCESS, C_TFGROUP, C_TFILEOBJ, C_TFILES, C_TFNAME, C_TFPROPERTYINFO, C_TFPROPERTYNAME, C_TFPROPERTYTYPE, C_TFPROPERTYVALUE, C_TFTYPE, C_TFTYPENAME, C_TFUSER, C_TGDESC, C_TGFLAG, C_TGNAME, C_TGPARENTGROUP, C_TGROUPOBJ, C_TGROUPS, C_TGROUPUSERS, C_TGUSER, C_TUADDINFO, C_TUDESC, C_TUDGROUP, C_TUDISABLED, C_TUEMAIL, C_TUFIRSTNAME, C_TUFLAG, C_TUGROUP, C_TUINFOKEY, C_TUINFOVALUE, C_TULOGIN, C_TUNAME, C_TUPASSWD, C_TUSERGROUPS, C_TUSEROBJ, C_TUSERS, C_TYPE_BODY_NAME, C_TYPE_COMPATIBLEPLAIN_NAME, C_TYPE_FOLDER, C_TYPE_FOLDER_NAME, C_TYPE_IMAGE_NAME, C_TYPE_LAST_INDEX, C_TYPE_PAGE_NAME, C_TYPE_PLAIN_NAME, C_UNKNOWN_ID, C_UNKNOWN_INT, C_UNKNOWN_LAUNCHER, C_UNKNOWN_LAUNCHER_ID, C_UNKNOWN_LONG, C_URL_PREFIX_EXPORT, C_URL_PREFIX_HTTP, C_URL_PREFIX_HTTPS, C_URL_PREFIX_SERVERNAME, C_USER, C_USER_ADMIN, C_USER_GUEST, C_USER_TYPE_SYSTEMANDWEBUSER, C_USER_TYPE_SYSTEMUSER, C_USER_TYPE_WEBUSER, C_WEB_APP_REPLACE_KEY, C_WEEKS_HISTORY, C_WHATEVER, C_XML_BODY_ELEMENT
 
Fields inherited from interface com.opencms.workplace.I_CmsWpConstants
C_ADMIN_BACK_BUTTON, C_BOXTEMPLATE, C_BUTTON_ACTION, C_BUTTON_ALT, C_BUTTON_HREF, C_BUTTON_METHOD, C_BUTTON_NAME, C_BUTTON_STYLE, C_BUTTON_VALUE, C_BUTTON_WIDTH, C_BUTTONTEMPLATE, C_CONTEXTMENUE_TEMPLATEFILE, C_DEFAULT_LANGUAGE, C_DOWNBROWSER_MAXENTRIES, C_EDIT_ACTION_EXIT, C_EDIT_ACTION_SAVE, C_EDIT_ACTION_SAVEEXIT, C_ERROR_LINK, C_ERROR_MESSAGE, C_ERROR_MSG_BUTTON, C_ERROR_MSG_DETAILS, C_ERROR_MSG_REASON, C_ERROR_REASON, C_ERROR_SUGGESTION, C_ERROR_TITLE, C_ERRORTEMPLATE, C_FILELIST_ACCESS, C_FILELIST_ACCESS_VALUE, C_FILELIST_CHANGED, C_FILELIST_CHANGED_VALUE, C_FILELIST_CLASS_VALUE, C_FILELIST_COLUMN_ACCESS, C_FILELIST_COLUMN_CHANGED, C_FILELIST_COLUMN_CUSTOMIZED, C_FILELIST_COLUMN_CUSTOMIZED_VALUE, C_FILELIST_COLUMN_GROUP, C_FILELIST_COLUMN_LOCKED, C_FILELIST_COLUMN_NAME, C_FILELIST_COLUMN_OWNER, C_FILELIST_COLUMN_SIZE, C_FILELIST_COLUMN_STATE, C_FILELIST_COLUMN_TITLE, C_FILELIST_COLUMN_TYPE, C_FILELIST_CUSTOMTEMPLATE, C_FILELIST_DISPLAYMETHOD, C_FILELIST_GROUP, C_FILELIST_GROUP_VALUE, C_FILELIST_ICON_VALUE, C_FILELIST_LINK_VALUE, C_FILELIST_LOCK_VALUE, C_FILELIST_LOCKED, C_FILELIST_LOCKED_VALUE, C_FILELIST_METHOD, C_FILELIST_NAME, C_FILELIST_NAME_VALUE, C_FILELIST_OWNER, C_FILELIST_OWNER_VALUE, C_FILELIST_SIZE, C_FILELIST_SIZE_VALUE, C_FILELIST_STATE, C_FILELIST_STATE_VALUE, C_FILELIST_SUFFIX_VALUE, C_FILELIST_TEMPLATE, C_FILELIST_TITLE, C_FILELIST_TITLE_VALUE, C_FILELIST_TYPE, C_FILELIST_TYPE_VALUE, C_FILETYPELIST_TEMPLATEFILE, C_GROUPS_NAME, C_ICON_ACTION, C_ICON_ACTIVE_METHOD, C_ICON_DEFAULT, C_ICON_EXTENSION, C_ICON_HREF, C_ICON_LABEL, C_ICON_NAME, C_ICON_PREFIX, C_ICON_TARGET, C_ICON_TEMPLATEFILE, C_ICON_VISIBLE_METHOD, C_INPUT_ACTION, C_INPUT_CLASS, C_INPUT_LENGTH, C_INPUT_METHOD, C_INPUT_NAME, C_INPUT_SIZE, C_INPUT_VALUE, C_INPUTTEMPLATE, C_LABEL_VALUE, C_LABELTEMPLATE, C_LANG_BUTTON, C_LANG_ICON, C_LANG_LABEL, C_LANG_TITLE, C_MACRO_OPENCMS_CONTEXT, C_MESSAGE_BUTTON1, C_MESSAGE_BUTTON2, C_MESSAGE_FILENAME, C_MESSAGE_LINK1, C_MESSAGE_LINK2, C_MESSAGE_MESSAGE1, C_MESSAGE_MESSAGE2, C_MESSAGE_TITLE, C_MODULE_PACKETNAME, C_MODULELIST_AUTHOR, C_MODULELIST_DATECREATED, C_MODULELIST_DATEUPLOADED, C_MODULELIST_IDX, C_MODULELIST_METHOD, C_MODULELIST_NAME, C_MODULELIST_NICE_NAME, C_MODULELIST_TEMPLATEFILE, C_MODULELIST_VERSION, C_PANEL_EXPLORER, C_PANEL_LINK, C_PANEL_NAME, C_PANEL_START, C_PANEL_TASK, C_PANEL_USER, C_PANELTEMPLATE, C_PARA_ACTION, C_PARA_CANCEL, C_PARA_CONTENT, C_PARA_DEFAULT, C_PARA_DELETE, C_PARA_DESCRIPTION, C_PARA_EXPLORERSETTINGS, C_PARA_FILE, C_PARA_FILECONTENT, C_PARA_FILELIST, C_PARA_FILTER, C_PARA_FLAGS, C_PARA_FOLDER, C_PARA_FOLDERTREE, C_PARA_FORMNAME, C_PARA_INITIAL, C_PARA_JSFILE, C_PARA_KEYWORDS, C_PARA_LAYOUT, C_PARA_LINK, C_PARA_LOCK, C_PARA_MAXPAGE, C_PARA_NAME, C_PARA_NAVPOS, C_PARA_NAVTEXT, C_PARA_NEWACCESS, C_PARA_NEWFILE, C_PARA_NEWFOLDER, C_PARA_NEWGROUP, C_PARA_NEWOWNER, C_PARA_NEWPWD, C_PARA_NEWPWDREPEAT, C_PARA_NEWTYPE, C_PARA_OK, C_PARA_OLDPANEL, C_PARA_OLDPWD, C_PARA_PAGE, C_PARA_PANEL, C_PARA_PREVIOUSLIST, C_PARA_PROJECT, C_PARA_PROPERTYDEF, C_PARA_STARTPROJECTID, C_PARA_STARTSETTINGS, C_PARA_STARTTASKID, C_PARA_SUBMIT, C_PARA_TASKSETTINGS, C_PARA_TEMPLATE, C_PARA_TITLE, C_PARA_UNLOCK, C_PARA_URL, C_PARA_USERSETTINGS, C_PARA_VARIABLE, C_PARA_VIEW, C_PARA_VIEWFILE, C_PICBROWSER_MAXIMAGES, C_PREFERENCES_UPDATE, C_PREFSSCROLLER_TEMPLATEFILE, C_PROJECTLIST_DATECREATED, C_PROJECTLIST_DESCRIPTION, C_PROJECTLIST_IDX, C_PROJECTLIST_LOCKSTATE, C_PROJECTLIST_MENU, C_PROJECTLIST_METHOD, C_PROJECTLIST_NAME, C_PROJECTLIST_NAME_ESCAPED, C_PROJECTLIST_OWNER, C_PROJECTLIST_PROJECTID, C_PROJECTLIST_PROJECTMANAGER, C_PROJECTLIST_PROJECTWORKER, C_PROJECTLIST_STATE, C_PROJECTLIST_STATE_LOCKED, C_PROJECTLIST_STATE_UNLOCKED, C_PROJECTLIST_TEMPLATEFILE, C_PROJECTNEW_DESCRIPTION, C_PROJECTNEW_DONE, C_PROJECTNEW_ERROR, C_PROJECTNEW_FOLDER, C_PROJECTNEW_GROUP, C_PROJECTNEW_MANAGERGROUP, C_PROJECTNEW_NAME, C_PROJECTNEW_TYPE, C_RADIO_IMAGEENTRY, C_RADIO_IMAGENAME, C_RADIO_IMAGEOPTION, C_RADIO_LINK, C_RADIO_METHOD, C_RADIO_NAME, C_RADIO_ORDER, C_RADIO_RADIONAME, C_RADIO_SELECTEDENTRY, C_RADIO_SELECTEDOPTION, C_RADIOTEMPLATE, C_SELECTBOX_CLASS, C_SELECTBOX_CLASSNAME, C_SELECTBOX_DIV, C_SELECTBOX_EDITORVIEWS, C_SELECTBOX_EDITORVIEWS_ALLOWED, C_SELECTBOX_EDITORVIEWS_CLASSES, C_SELECTBOX_EDITORVIEWS_DEFAULT, C_SELECTBOX_EDITORVIEWS_TEMPLATES, C_SELECTBOX_FONTS, C_SELECTBOX_METHOD, C_SELECTBOX_NAME, C_SELECTBOX_ONCHANGE, C_SELECTBOX_OPTIONNAME, C_SELECTBOX_OPTIONVALUE, C_SELECTBOX_SIZE, C_SELECTBOX_WIDTH, C_SESSION_MODULE_ADMIN_DATA, C_SESSION_MODULE_ADMIN_PROP_DESCR, C_SESSION_MODULE_ADMIN_PROP_NAMES, C_SESSION_MODULE_ADMIN_PROP_TYP, C_SESSION_MODULE_ADMIN_PROP_VAL, C_SESSION_MODULE_CHECKSUM, C_SESSION_MODULE_DELETE_STEP, C_SESSION_MODULE_EXCLUSION, C_SESSION_MODULE_INUSE, C_SESSION_MODULE_MISSFILES, C_SESSION_MODULE_PROJECTFILES, C_SESSION_MODULE_PROPFILES, C_SESSION_TASK_ALLPROJECTS, C_SESSION_TASK_FILTER, C_SYSTEM_PICS_EXPORT_PATH, C_TAG_ERRORBOX, C_TAG_ERRORPAGE, C_TAG_INPUTFIELD, C_TAG_LABEL, C_TAG_MESSAGEBOX, C_TAG_MODULELIST_DEFAULT, C_TAG_PANEL_BGACTIVE, C_TAG_PANEL_BGINACTIVE, C_TAG_PANEL_ENDSEQ, C_TAG_PANEL_SEPBGTEXT, C_TAG_PANEL_STARTSEQ, C_TAG_PANEL_TEXTACTIVE, C_TAG_PANEL_TEXTINACTIVE, C_TAG_PASSWORD, C_TAG_PROJECTLIST_DEFAULT, C_TAG_PROJECTLIST_SNAPLOCK, C_TAG_SELECTBOX_CLASS, C_TAG_SELECTBOX_END, C_TAG_SELECTBOX_OPTION, C_TAG_SELECTBOX_SELOPTION, C_TAG_SELECTBOX_START, C_TAG_SELECTBOX_START_DIV, C_TAG_STARTUP, C_TAG_SUBMITBUTTON, C_TASKDOCU_TEMPLATEFILE, C_TASKLIST_TEMPLATEFILE, C_TASKLOGTYPE_ACCEPTED, C_TASKLOGTYPE_CALL, C_TASKLOGTYPE_COMMENT, C_TASKLOGTYPE_CREATED, C_TASKLOGTYPE_DUECHANGED, C_TASKLOGTYPE_FORWARDED, C_TASKLOGTYPE_OK, C_TASKLOGTYPE_PRIORITYCHANGED, C_TASKLOGTYPE_REACTIVATED, C_TASKLOGTYPE_TAKE, C_TASKPARA_ACCEPTATION, C_TASKPARA_ALL, C_TASKPARA_COMPLETION, C_TASKPARA_DELIVERY, C_USERPREF_FILELIST, C_USERS_NAME, C_VFS_DIR_DEFAULTBODIES, C_VFS_DIR_INTERNAL, C_VFS_DIR_LOCALES, C_VFS_DIR_TEMPLATES, C_VFS_GALLERY_DOWNLOAD, C_VFS_GALLERY_EXTERNALLINKS, C_VFS_GALLERY_HTML, C_VFS_GALLERY_PICS, C_VFS_NEW_STRUCTURE, C_VFS_PATH_BODIES, C_VFS_PATH_DEFAULT_BODIES, C_VFS_PATH_DEFAULT_INTERNAL, C_VFS_PATH_DEFAULT_TEMPLATES, C_VFS_PATH_DEFAULTMODULE, C_VFS_PATH_GALLERIES, C_VFS_PATH_HELP, C_VFS_PATH_LOCALES, C_VFS_PATH_MODULEDEMOS, C_VFS_PATH_MODULES, C_VFS_PATH_SCRIPTS, C_VFS_PATH_SYSTEM, C_VFS_PATH_SYSTEMPICS, C_VFS_PATH_WORKPLACE, C_WP_CHANNEL_TREE, C_WP_EXPLORER_FILELIST, C_WP_EXPLORER_PREFERENCES, C_WP_EXPLORER_TREE, C_WP_FOLDER_TREE, C_WP_RELOAD
 
Fields inherited from interface com.opencms.boot.I_CmsLogChannels
C_FLEX_CACHE, C_FLEX_LOADER, C_LOGGING, C_MODULE_CRITICAL, C_MODULE_DEBUG, C_MODULE_INFO, C_OPENCMS_CACHE, C_OPENCMS_CRITICAL, C_OPENCMS_CRONSCHEDULER, C_OPENCMS_DEBUG, C_OPENCMS_ELEMENTCACHE, C_OPENCMS_INFO, C_OPENCMS_INIT, C_OPENCMS_POOL, C_OPENCMS_STATICEXPORT, C_OPENCMS_STREAMING, C_PREPROCESSOR_IS_LOGGING
 
Constructor Summary
CmsRegistry(CmsRegistry reg, CmsObject cms)
          Creates a new CmsRegistry for a user.
CmsRegistry(String regFileName)
          Creates a new CmsRegistry.
 
Method Summary
 I_CmsRegistry clone(CmsObject cms)
          Clones the registry.
 void createModule(String modulename, String niceModulename, String description, String author, String type, Map exportPoints, long createDate, float version)
          This method creates a new module in the repository.
 void createModule(String modulename, String niceModulename, String description, String author, String type, Map exportPoints, String createDate, float version)
          This method creates a new module in the repository.
 Vector deleteCheckDependencies(String modulename, boolean replaceMode)
          Checks which modules depend on this module.
 void deleteGetConflictingFileNames(String modulename, Vector filesWithProperty, Vector missingFiles, Vector wrongChecksum, Vector filesInUse, Vector resourcesForProject)
          This method checks for conflicting files before the deletion of a module.
 void deleteModule(String module, Vector exclusion, boolean replaceMode, I_CmsReport report)
          Deletes a module.
 void deleteModuleView(String modulename)
          Deletes the view for a module.
 void exportModule(String moduleName, String[] resources, String fileName, I_CmsReport report)
          This method exports a module to the filesystem.
 String getContentDescription()
          Gets a description of this content type.
 Hashtable getExportpoints()
          Returns all exportpoints and paths.
 String getModuleAuthor(String modulename)
          This method returns the author of the module.
 String getModuleAuthorEmail(String modulename)
          This method returns the email of author of the module.
 long getModuleCreateDate(String modulname)
          Gets the create date of the module.
 int getModuleDependencies(String modulename, Vector modules, Vector minVersions, Vector maxVersions)
          Returns the module dependencies for the module.
 String getModuleDescription(String module)
          Returns the description of the module.
 String getModuleDocumentPath(String modulename)
          Gets the url to the documentation of the module.
 int getModuleExportables(Hashtable classes)
          Returns all exportable classes for all modules.
 int getModuleFiles(String modulename, Vector retNames, Vector retCodes)
          Returns all filenames and hashcodes belonging to the module.
 int getModuleLifeCycle(Vector classes)
          Returns all lifecycle classes for all modules.
 Class getModuleMaintenanceEventClass(String modulname)
          Returns the class, that receives all maintenance-events for the module.
 String getModuleMaintenanceEventName(String modulname)
          Returns the name of the class, that receives all maintenance-events for the module.
 Enumeration getModuleNames()
          Returns the names of all available modules.
 String getModuleNiceName(String module)
          Returns the nice name of the module.
 String getModuleParameter(String modulename, String parameter)
          Gets a parameter for a module.
 String getModuleParameter(String modulename, String parameter, String defaultValue)
          Gets a parameter for a module.
 boolean getModuleParameterBoolean(String modulname, String parameter)
          Returns a parameter for a module.
 boolean getModuleParameterBoolean(String modulname, String parameter, boolean defaultValue)
          Returns a parameter for a module.
 Boolean getModuleParameterBoolean(String modulname, String parameter, Boolean defaultValue)
          Returns a parameter for a module.
 byte getModuleParameterByte(String modulname, String parameter)
          Returns a parameter for a module.
 byte getModuleParameterByte(String modulname, String parameter, byte defaultValue)
          Returns a parameter for a module.
 Byte getModuleParameterByte(String modulname, String parameter, Byte defaultValue)
          Returns a parameter for a module.
 String getModuleParameterDescription(String modulname, String parameter)
          Returns a description for parameter in a module.
 double getModuleParameterDouble(String modulname, String parameter)
          Returns a parameter for a module.
 double getModuleParameterDouble(String modulname, String parameter, double defaultValue)
          Returns a parameter for a module.
 Double getModuleParameterDouble(String modulname, String parameter, Double defaultValue)
          Returns a parameter for a module.
 float getModuleParameterFloat(String modulname, String parameter)
          Returns a parameter for a module.
 float getModuleParameterFloat(String modulname, String parameter, float defaultValue)
          Returns a parameter for a module.
 Float getModuleParameterFloat(String modulname, String parameter, Float defaultValue)
          Returns a parameter for a module.
 int getModuleParameterInteger(String modulname, String parameter)
          Returns a parameter for a module.
 int getModuleParameterInteger(String modulname, String parameter, int defaultValue)
          Returns a parameter for a module.
 Integer getModuleParameterInteger(String modulname, String parameter, Integer defaultValue)
          Returns a parameter for a module.
 long getModuleParameterLong(String modulname, String parameter)
          Returns a parameter for a module.
 long getModuleParameterLong(String modulname, String parameter, long defaultValue)
          Returns a parameter for a module.
 Long getModuleParameterLong(String modulname, String parameter, Long defaultValue)
          Returns a parameter for a module.
 String[] getModuleParameterNames(String modulename)
          Gets all parameter-names for a module.
 String getModuleParameterString(String modulname, String parameter)
          Returns a parameter for a module.
 String getModuleParameterString(String modulname, String parameter, String defaultValue)
          Returns a parameter for a module.
 String getModuleParameterType(String modulename, String parameter)
          This method returns the type of a parameter in a module.
 int getModulePublishables(Vector classes, String requiredMethod)
          Returns all publishable classes for all modules.
 String getModulePublishClass(String modulname)
          Returns the name of the class, that contains the publish method of the module.
 String[] getModuleRepositories(String modulename)
          Returns all repositories for a module.
 String getModuleType(String theModulename)
          Returns the value of the "type" node of a module subtree in the registry.
 long getModuleUploadDate(String modulname)
          Returns the upload-date for the module.
 String getModuleUploadedBy(String modulename)
          Returns the user-name of the user who had uploaded the module.
 float getModuleVersion(String modulename)
          This method returns the version of the module.
 String getModuleViewName(String modulename)
          Returns the name of the view, that is implemented by the module.
 String getModuleViewUrl(String modulname)
          Returns the url to the view-url for the module within the system.
 String[] getRepositories()
          Returns all repositories for all modules.
 int getResourceTypes(Vector names, Vector launcherTypes, Vector launcherClass, Vector resourceClass)
          Returns all Resourcetypes and korresponding parameter for System and all modules.
 Element getSystemElement()
          Return the XML "system" node Element from the registry for further processing in another class.
 String getSystemValue(String key)
          Returns a value for a system-key.
 Hashtable getSystemValues(String key)
          Returns a vector of value for a system-key.
 int getViews(Vector views, Vector urls)
          Returns all views and korresponding urls for all modules.
 String getXmlDocumentTagName()
          Gets the expected tagname for the XML documents of this content type
 Vector importCheckDependencies(String moduleZip, boolean replaceMode)
          Checks the dependencies for a new or replaced module.
 Vector importGetConflictingFileNames(String moduleZip)
          Checks for files that already exist in the system but should be replaced by the module.
 Map importGetModuleInfo(String moduleZip)
          Returns a map of information about the module to be imported.
 Vector importGetResourcesForProject(String moduleZip)
          Returns all files that are needed to create a project for the module-import.
 void importModule(String moduleZip, Vector exclusion, I_CmsReport report)
          Imports a module.
 boolean moduleExists(String modulename)
          Checks if the module exists already in the repository.
 void setModuleAuthor(String modulename, String author)
          This method sets the author of the module.
 void setModuleAuthorEmail(String modulename, String email)
          This method sets the email of author of the module.
 void setModuleCreateDate(String modulname, long createdate)
          Sets the create date of the module.
 void setModuleCreateDate(String modulname, String createdate)
          Sets the create date of the module.
 void setModuleDependencies(String modulename, Vector modules, Vector minVersions, Vector maxVersions)
          Sets the module dependencies for the module.
 void setModuleDescription(String module, String description)
          Sets the description of the module.
 void setModuleDocumentPath(String modulename, String url)
          Sets the url to the documentation of the module.
 void setModuleMaintenanceEventClass(String modulname, String classname)
          Sets the classname, that receives all maintenance-events for the module.
 void setModuleNiceName(String module, String nicename)
          Sets the description of the module.
 void setModuleParameter(String modulename, String parameter, boolean value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, Boolean value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, byte value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, Byte value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, double value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, Double value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, float value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, Float value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, int value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, Integer value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, long value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, Long value)
          Sets a parameter for a module.
 void setModuleParameter(String modulename, String parameter, String value)
          Sets a parameter for a module.
 void setModuleParameterdef(String modulename, Vector names, Vector descriptions, Vector types, Vector values)
          Sets the module dependencies for the module.
 void setModulePublishClass(String modulname, String classname)
          Sets the classname, that contains the publish method of the module.
 void setModuleRepositories(String modulename, String[] repositories)
          Sets all repositories for a module.
 void setModuleType(String theModulename, String theModuleType)
          Sets the type for a given module.
 void setModuleVersion(String modulename, String version)
          This method sets the version of the module.
 void setModuleView(String modulename, String viewname, String viewurl)
          Sets a view for a module
 void setSystemValue(String dataName, String value)
          Public method to set system values.
 void setSystemValues(String dataName, Hashtable values)
          Public method to set system values with hashtable.
 
Methods inherited from class com.opencms.template.A_CmsXmlContent
callAllUncalledMethodsSoThatEclipseDoesntComplainAboutThem, callUserMethod, clearFileCache, clearFileCache, clearFileCache, clone, createNewFile, fastSetData, getAbsoluteFilename, getAllData, getClassName, getData, getDataValue, getEncoding, getFilename, getProcessedData, getProcessedData, getProcessedData, getProcessedData, getProcessedDataValue, getProcessedDataValue, getProcessedDataValue, getProcessedDataValue, getTagValue, getXmlDocument, getXmlParser, getXmlText, getXmlText, getXmlText, getXmlText, getXmlText, getXmlText, hasData, init, init, init, parse, parse, processDocument, processNode, processNode, readIncludeFile, readIncludeFile, registerTag, registerTag, removeData, removeFromFileCache, setData, setData, setEncoding, setParsedData, throwException, throwException, throwException, throwException, toString, treeWalker, treeWalkerWidth, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CmsRegistry

public CmsRegistry(CmsRegistry reg,
                   CmsObject cms)
Creates a new CmsRegistry for a user. The cms-object represents the current state of the current user.


CmsRegistry

public CmsRegistry(String regFileName)
            throws CmsException
Creates a new CmsRegistry. The regFileName is the path to the registry-file in the server filesystem.

Method Detail

clone

public I_CmsRegistry clone(CmsObject cms)
Clones the registry.

Specified by:
clone in interface I_CmsRegistry
Returns:
the cloned registry

createModule

public void createModule(String modulename,
                         String niceModulename,
                         String description,
                         String author,
                         String type,
                         Map exportPoints,
                         long createDate,
                         float version)
                  throws CmsException
This method creates a new module in the repository.

Specified by:
createModule in interface I_CmsRegistry
Parameters:
modulename - the name of the module
niceModulename - another name of the module
description - the description of the module
author - the name of the author
type - the type of the module
exportPoints - a map of all export points of the module
createDate - the creation date of the module
version - the version number of the module
Throws:
CmsException - if the user has no right to create a new module

createModule

public void createModule(String modulename,
                         String niceModulename,
                         String description,
                         String author,
                         String type,
                         Map exportPoints,
                         String createDate,
                         float version)
                  throws CmsException
This method creates a new module in the repository.

Specified by:
createModule in interface I_CmsRegistry
Parameters:
modulename - the name of the module
niceModulename - another name of the module
description - the description of the module
author - the name of the author
type - the type of the module
exportPoints - a map of all export points of the module
createDate - the creation date of the module in the format: mm.dd.yyyy
version - the version number of the module
Throws:
CmsException - if the user has no right to create a new module

deleteCheckDependencies

public Vector deleteCheckDependencies(String modulename,
                                      boolean replaceMode)
                               throws CmsException
Description copied from interface: I_CmsRegistry
Checks which modules depend on this module.

If a module depends on this module, the name will be returned in the vector.

Specified by:
deleteCheckDependencies in interface I_CmsRegistry
Parameters:
replaceMode - if true this is for module replacement, if false it is form module deletion
Returns:
a Vector with modulenames that depends on the overgiven module.
CmsException
See Also:
I_CmsRegistry.deleteCheckDependencies(String, boolean)

deleteGetConflictingFileNames

public void deleteGetConflictingFileNames(String modulename,
                                          Vector filesWithProperty,
                                          Vector missingFiles,
                                          Vector wrongChecksum,
                                          Vector filesInUse,
                                          Vector resourcesForProject)
                                   throws CmsException
This method checks for conflicting files before the deletion of a module. It uses several Vectors to return the different conflicting files.

Specified by:
deleteGetConflictingFileNames in interface I_CmsRegistry
Parameters:
modulename - the name of the module that should be deleted.
filesWithProperty - a return value. The files that are marked with the module-property for this module.
missingFiles - a return value. The files that are missing.
wrongChecksum - a return value. The files that should be deleted but have another checksum as at import-time.
filesInUse - a return value. The files that should be deleted but are in use by other modules.
resourcesForProject - a return value. The files that should be copied to a project to delete.
CmsException

deleteModule

public void deleteModule(String module,
                         Vector exclusion,
                         boolean replaceMode,
                         I_CmsReport report)
                  throws CmsException
Description copied from interface: I_CmsRegistry
Deletes a module.

This method is synchronized, so only one module can be deleted at a time.

Specified by:
deleteModule in interface I_CmsRegistry
Parameters:
module - the name of the module to be deleted
exclusion - a Vector with resource names that should be excluded from this deletion
replaceMode - if true this is for module replacement, so no dependencies will be checked
report - a report for the output
Throws:
CmsException - in case of an error during deletion
See Also:
I_CmsRegistry.deleteModule(String, Vector, boolean, I_CmsReport)

deleteModuleView

public void deleteModuleView(String modulename)
                      throws CmsException
Deletes the view for a module.

Specified by:
deleteModuleView in interface I_CmsRegistry
CmsException

exportModule

public void exportModule(String moduleName,
                         String[] resources,
                         String fileName,
                         I_CmsReport report)
                  throws CmsException
This method exports a module to the filesystem.

Specified by:
exportModule in interface I_CmsRegistry
Parameters:
moduleName - the name of the module to be exported
fileName - the name of the file to write the export to
report - a report for the output
Throws:
CmsException - in case of an error during export

getContentDescription

public String getContentDescription()
Gets a description of this content type. For OpenCms internal use only.

Specified by:
getContentDescription in class A_CmsXmlContent
Returns:
Content type description.

getModuleAuthor

public String getModuleAuthor(String modulename)
This method returns the author of the module.

Specified by:
getModuleAuthor in interface I_CmsRegistry
Returns:
java.lang.String the author of the module.

getModuleAuthorEmail

public String getModuleAuthorEmail(String modulename)
This method returns the email of author of the module.

Specified by:
getModuleAuthorEmail in interface I_CmsRegistry
Returns:
java.lang.String the email of author of the module.

getModuleCreateDate

public long getModuleCreateDate(String modulname)
Gets the create date of the module.

Specified by:
getModuleCreateDate in interface I_CmsRegistry
Returns:
long the create date of the module.

getModuleDependencies

public int getModuleDependencies(String modulename,
                                 Vector modules,
                                 Vector minVersions,
                                 Vector maxVersions)
Returns the module dependencies for the module.

Specified by:
getModuleDependencies in interface I_CmsRegistry
Parameters:
modules - Vector in this parameter the names of the dependend modules will be returned.
minVersions - Vector in this parameter the minimum versions of the dependend modules will be returned.
maxVersions - Vector in this parameter the maximum versions of the dependend modules will be returned.
Returns:
int the amount of dependencies for the module will be returned.

getModuleDescription

public String getModuleDescription(String module)
Returns the description of the module.

Specified by:
getModuleDescription in interface I_CmsRegistry
Returns:
java.lang.String the description of the module.

getModuleDocumentPath

public String getModuleDocumentPath(String modulename)
Gets the url to the documentation of the module.

Specified by:
getModuleDocumentPath in interface I_CmsRegistry
Returns:
java.lang.String the url to the documentation of the module.

getModuleFiles

public int getModuleFiles(String modulename,
                          Vector retNames,
                          Vector retCodes)
Returns all filenames and hashcodes belonging to the module.

Specified by:
getModuleFiles in interface I_CmsRegistry
Parameters:
retNames - the names of the resources belonging to the module.
retCodes - the hashcodes of the resources belonging to the module.
Returns:
the amount of entrys.

getModuleMaintenanceEventClass

public Class getModuleMaintenanceEventClass(String modulname)
Returns the class, that receives all maintenance-events for the module.

Specified by:
getModuleMaintenanceEventClass in interface I_CmsRegistry
Returns:
java.lang.Class that receives all maintenance-events for the module.

getModuleMaintenanceEventName

public String getModuleMaintenanceEventName(String modulname)
Returns the name of the class, that receives all maintenance-events for the module.

Specified by:
getModuleMaintenanceEventName in interface I_CmsRegistry
Returns:
java.lang.Class that receives all maintenance-events for the module.

getModuleNames

public Enumeration getModuleNames()
Returns the names of all available modules.

Specified by:
getModuleNames in interface I_CmsRegistry
Returns:
Enumeration the names of all available modules.

getModuleNiceName

public String getModuleNiceName(String module)
Returns the nice name of the module.

Specified by:
getModuleNiceName in interface I_CmsRegistry
Returns:
java.lang.String the description of the module.

getModuleParameter

public String getModuleParameter(String modulename,
                                 String parameter)
Gets a parameter for a module.

Specified by:
getModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
Returns:
value java.lang.String the value to set for the parameter.

getModuleParameter

public String getModuleParameter(String modulename,
                                 String parameter,
                                 String defaultValue)
Gets a parameter for a module.

Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
defaultValue - the default value.
Returns:
value java.lang.String the value to set for the parameter.

getModuleParameterBoolean

public boolean getModuleParameterBoolean(String modulname,
                                         String parameter)
Returns a parameter for a module.

Specified by:
getModuleParameterBoolean in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterBoolean

public Boolean getModuleParameterBoolean(String modulname,
                                         String parameter,
                                         Boolean defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterBoolean in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterBoolean

public boolean getModuleParameterBoolean(String modulname,
                                         String parameter,
                                         boolean defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterBoolean in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterByte

public byte getModuleParameterByte(String modulname,
                                   String parameter)
Returns a parameter for a module.

Specified by:
getModuleParameterByte in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterByte

public byte getModuleParameterByte(String modulname,
                                   String parameter,
                                   byte defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterByte in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterByte

public Byte getModuleParameterByte(String modulname,
                                   String parameter,
                                   Byte defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterByte in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterDescription

public String getModuleParameterDescription(String modulname,
                                            String parameter)
Returns a description for parameter in a module.

Specified by:
getModuleParameterDescription in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
String the description for the parameter in the module.

getModuleParameterDouble

public double getModuleParameterDouble(String modulname,
                                       String parameter)
Returns a parameter for a module.

Specified by:
getModuleParameterDouble in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterDouble

public double getModuleParameterDouble(String modulname,
                                       String parameter,
                                       double defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterDouble in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterDouble

public Double getModuleParameterDouble(String modulname,
                                       String parameter,
                                       Double defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterDouble in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterFloat

public float getModuleParameterFloat(String modulname,
                                     String parameter)
Returns a parameter for a module.

Specified by:
getModuleParameterFloat in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterFloat

public float getModuleParameterFloat(String modulname,
                                     String parameter,
                                     float defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterFloat in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterFloat

public Float getModuleParameterFloat(String modulname,
                                     String parameter,
                                     Float defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterFloat in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterInteger

public int getModuleParameterInteger(String modulname,
                                     String parameter)
Returns a parameter for a module.

Specified by:
getModuleParameterInteger in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterInteger

public int getModuleParameterInteger(String modulname,
                                     String parameter,
                                     int defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterInteger in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterInteger

public Integer getModuleParameterInteger(String modulname,
                                         String parameter,
                                         Integer defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterInteger in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterLong

public long getModuleParameterLong(String modulname,
                                   String parameter)
Returns a parameter for a module.

Specified by:
getModuleParameterLong in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterLong

public long getModuleParameterLong(String modulname,
                                   String parameter,
                                   long defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterLong in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterLong

public Long getModuleParameterLong(String modulname,
                                   String parameter,
                                   Long defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterLong in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterNames

public String[] getModuleParameterNames(String modulename)
Gets all parameter-names for a module.

Specified by:
getModuleParameterNames in interface I_CmsRegistry
Parameters:
modulename - String the name of the module.
Returns:
value String[] the names of the parameters for a module.

getModuleParameterString

public String getModuleParameterString(String modulname,
                                       String parameter)
Returns a parameter for a module.

Specified by:
getModuleParameterString in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterString

public String getModuleParameterString(String modulname,
                                       String parameter,
                                       String defaultValue)
Returns a parameter for a module.

Specified by:
getModuleParameterString in interface I_CmsRegistry
Parameters:
modulname - String the name of the module.
parameter - String the name of the parameter.
Returns:
boolean the value for the parameter in the module.

getModuleParameterType

public String getModuleParameterType(String modulename,
                                     String parameter)
This method returns the type of a parameter in a module.

Specified by:
getModuleParameterType in interface I_CmsRegistry
Parameters:
modulename - the name of the module.
parameter - the name of the parameter.
Returns:
the type of the parameter.

getModuleRepositories

public String[] getModuleRepositories(String modulename)
Returns all repositories for a module.

Specified by:
getModuleRepositories in interface I_CmsRegistry
Returns:
java.lang.String[] the reprositories of a module.

getModuleUploadDate

public long getModuleUploadDate(String modulname)
Returns the upload-date for the module.

Specified by:
getModuleUploadDate in interface I_CmsRegistry
Returns:
java.lang.String the upload-date for the module.

getModuleUploadedBy

public String getModuleUploadedBy(String modulename)
Returns the user-name of the user who had uploaded the module.

Specified by:
getModuleUploadedBy in interface I_CmsRegistry
Returns:
java.lang.String the user-name of the user who had uploaded the module.

getModuleVersion

public float getModuleVersion(String modulename)
This method returns the version of the module.

Specified by:
getModuleVersion in interface I_CmsRegistry
Returns:
java.lang.String the version of the module.

getModuleViewName

public String getModuleViewName(String modulename)
Returns the name of the view, that is implemented by the module.

Specified by:
getModuleViewName in interface I_CmsRegistry
Returns:
java.lang.String the name of the view, that is implemented by the module.

getModuleViewUrl

public String getModuleViewUrl(String modulname)
Returns the url to the view-url for the module within the system.

Specified by:
getModuleViewUrl in interface I_CmsRegistry
Returns:
java.lang.String the view-url to the module.

getModuleLifeCycle

public int getModuleLifeCycle(Vector classes)
Returns all lifecycle classes for all modules.

Specified by:
getModuleLifeCycle in interface I_CmsRegistry
Returns:
int the amount of classes.

getModulePublishClass

public String getModulePublishClass(String modulname)
Returns the name of the class, that contains the publish method of the module.

Specified by:
getModulePublishClass in interface I_CmsRegistry
Returns:
java.lang.Class that contains the publish method of the module.

getModulePublishables

public int getModulePublishables(Vector classes,
                                 String requiredMethod)
Returns all publishable classes for all modules.

Specified by:
getModulePublishables in interface I_CmsRegistry
Returns:
int the amount of classes.

getModuleExportables

public int getModuleExportables(Hashtable classes)
Returns all exportable classes for all modules.

Specified by:
getModuleExportables in interface I_CmsRegistry
Returns:
int the amount of classes.

getExportpoints

public Hashtable getExportpoints()
Returns all exportpoints and paths.

Specified by:
getExportpoints in interface I_CmsRegistry
Returns:
Hashtable The exportpoints and the paths.

getRepositories

public String[] getRepositories()
Returns all repositories for all modules.

Specified by:
getRepositories in interface I_CmsRegistry
Returns:
java.lang.String[] the reprositories of all modules.

getResourceTypes

public int getResourceTypes(Vector names,
                            Vector launcherTypes,
                            Vector launcherClass,
                            Vector resourceClass)
Returns all Resourcetypes and korresponding parameter for System and all modules.

Specified by:
getResourceTypes in interface I_CmsRegistry
Returns:
int the amount of resourcetypes.

getSystemValue

public String getSystemValue(String key)
Returns a value for a system-key. E.g. <system><mailserver>mail.server.com</mailserver></system> can be requested via getSystemValue("mailserver"); and returns "mail.server.com".

Specified by:
getSystemValue in interface I_CmsRegistry
Returns:
the value for that system-key.

getSystemValues

public Hashtable getSystemValues(String key)
Returns a vector of value for a system-key.

Specified by:
getSystemValues in interface I_CmsRegistry
Returns:
the values for that system-key.

getSystemElement

public Element getSystemElement()
Return the XML "system" node Element from the registry for further processing in another class.

Specified by:
getSystemElement in interface I_CmsRegistry
Returns:
the system node.

getViews

public int getViews(Vector views,
                    Vector urls)
Returns all views and korresponding urls for all modules.

Specified by:
getViews in interface I_CmsRegistry
Returns:
int the amount of views.

getXmlDocumentTagName

public String getXmlDocumentTagName()
Gets the expected tagname for the XML documents of this content type

Specified by:
getXmlDocumentTagName in class A_CmsXmlContent
Returns:
Expected XML tagname.

importCheckDependencies

public Vector importCheckDependencies(String moduleZip,
                                      boolean replaceMode)
                               throws CmsException
Description copied from interface: I_CmsRegistry
Checks the dependencies for a new or replaced module.

Specified by:
importCheckDependencies in interface I_CmsRegistry
Parameters:
moduleZip - the name of the zipfile for the new module.
replaceMode - if true this is for module replacement, if false it is form module deletion
Returns:
a Vector with dependencies that are not fullfilled.
CmsException
See Also:
I_CmsRegistry.importCheckDependencies(String, boolean)

importGetConflictingFileNames

public Vector importGetConflictingFileNames(String moduleZip)
                                     throws CmsException
Checks for files that already exist in the system but should be replaced by the module.

Specified by:
importGetConflictingFileNames in interface I_CmsRegistry
Parameters:
moduleZip - The name of the zip-file to import.
Returns:
The complete paths to the resources that have conflicts.
CmsException

importGetModuleInfo

public Map importGetModuleInfo(String moduleZip)
Returns a map of information about the module to be imported.

The map contains the following values:

Specified by:
importGetModuleInfo in interface I_CmsRegistry
Parameters:
moduleZip - the name of the zip file to import
Returns:
a map of information about the module to be imported

importGetResourcesForProject

public Vector importGetResourcesForProject(String moduleZip)
                                    throws CmsException
Returns all files that are needed to create a project for the module-import.

Specified by:
importGetResourcesForProject in interface I_CmsRegistry
Parameters:
moduleZip - The name of the zip-file to import.
Returns:
The complete paths for resources that should be in the import-project.
CmsException

importModule

public void importModule(String moduleZip,
                         Vector exclusion,
                         I_CmsReport report)
                  throws CmsException
Imports a module. This method is synchronized, so only one module can be imported at on time.

Specified by:
importModule in interface I_CmsRegistry
Parameters:
moduleZip - the name of the zip-file to import from.
exclusion - a Vector with resource-names that should be excluded from this import.
CmsException

moduleExists

public boolean moduleExists(String modulename)
Checks if the module exists already in the repository.

Specified by:
moduleExists in interface I_CmsRegistry
Returns:
true if the module exists, else false.

setModuleAuthor

public void setModuleAuthor(String modulename,
                            String author)
                     throws CmsException
This method sets the author of the module.

Specified by:
setModuleAuthor in interface I_CmsRegistry
CmsException

setModuleAuthorEmail

public void setModuleAuthorEmail(String modulename,
                                 String email)
                          throws CmsException
This method sets the email of author of the module.

Specified by:
setModuleAuthorEmail in interface I_CmsRegistry
CmsException

setModuleCreateDate

public void setModuleCreateDate(String modulname,
                                long createdate)
                         throws CmsException
Sets the create date of the module.

Specified by:
setModuleCreateDate in interface I_CmsRegistry
CmsException

setModuleCreateDate

public void setModuleCreateDate(String modulname,
                                String createdate)
                         throws CmsException
Sets the create date of the module.

Specified by:
setModuleCreateDate in interface I_CmsRegistry
CmsException

setModuleDependencies

public void setModuleDependencies(String modulename,
                                  Vector modules,
                                  Vector minVersions,
                                  Vector maxVersions)
                           throws CmsException
Sets the module dependencies for the module.

Specified by:
setModuleDependencies in interface I_CmsRegistry
Parameters:
modules - Vector in this parameter the names of the dependend modules will be returned.
minVersions - Vector in this parameter the minimum versions of the dependend modules will be returned.
maxVersions - Vector in this parameter the maximum versions of the dependend modules will be returned.
CmsException

setModuleDescription

public void setModuleDescription(String module,
                                 String description)
                          throws CmsException
Sets the description of the module.

Specified by:
setModuleDescription in interface I_CmsRegistry
CmsException

setModuleDocumentPath

public void setModuleDocumentPath(String modulename,
                                  String url)
                           throws CmsException
Sets the url to the documentation of the module.

Specified by:
setModuleDocumentPath in interface I_CmsRegistry
CmsException

setModuleMaintenanceEventClass

public void setModuleMaintenanceEventClass(String modulname,
                                           String classname)
                                    throws CmsException
Sets the classname, that receives all maintenance-events for the module.

Specified by:
setModuleMaintenanceEventClass in interface I_CmsRegistry
CmsException

setModulePublishClass

public void setModulePublishClass(String modulname,
                                  String classname)
                           throws CmsException
Sets the classname, that contains the publish method of the module.

Specified by:
setModulePublishClass in interface I_CmsRegistry
CmsException

setModuleNiceName

public void setModuleNiceName(String module,
                              String nicename)
                       throws CmsException
Sets the description of the module.

Specified by:
setModuleNiceName in interface I_CmsRegistry
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               byte value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               double value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               float value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               int value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               long value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               Boolean value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               Byte value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               Double value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               Float value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               Integer value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               Long value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               String value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
value - java.lang.String the value to set for the parameter.
CmsException

setModuleParameter

public void setModuleParameter(String modulename,
                               String parameter,
                               boolean value)
                        throws CmsException
Sets a parameter for a module.

Specified by:
setModuleParameter in interface I_CmsRegistry
Parameters:
modulename - java.lang.String the name of the module.
parameter - java.lang.String the name of the parameter to set.
CmsException

setModuleParameterdef

public void setModuleParameterdef(String modulename,
                                  Vector names,
                                  Vector descriptions,
                                  Vector types,
                                  Vector values)
                           throws CmsException
Sets the module dependencies for the module.

Specified by:
setModuleParameterdef in interface I_CmsRegistry
Parameters:
names - Vector with parameternames
descriptions - Vector with parameterdescriptions
types - Vector with parametertypes (string, float,...)
values - Vector with defaultvalues for parameters
CmsException

setModuleRepositories

public void setModuleRepositories(String modulename,
                                  String[] repositories)
                           throws CmsException
Sets all repositories for a module.

Specified by:
setModuleRepositories in interface I_CmsRegistry
CmsException

setModuleVersion

public void setModuleVersion(String modulename,
                             String version)
                      throws CmsException
This method sets the version of the module.

Specified by:
setModuleVersion in interface I_CmsRegistry
Parameters:
modulename - the name of the module.
version - the version of the module.
CmsException

setModuleView

public void setModuleView(String modulename,
                          String viewname,
                          String viewurl)
                   throws CmsException
Sets a view for a module

Specified by:
setModuleView in interface I_CmsRegistry
CmsException

setSystemValue

public void setSystemValue(String dataName,
                           String value)
                    throws CmsException
Public method to set system values.

Specified by:
setSystemValue in interface I_CmsRegistry
CmsException

setSystemValues

public void setSystemValues(String dataName,
                            Hashtable values)
                     throws CmsException
Public method to set system values with hashtable.

Specified by:
setSystemValues in interface I_CmsRegistry
CmsException

getModuleType

public String getModuleType(String theModulename)
Returns the value of the "type" node of a module subtree in the registry.

Specified by:
getModuleType in interface I_CmsRegistry
Returns:
the value of the "type" node of a module

setModuleType

public void setModuleType(String theModulename,
                          String theModuleType)
Sets the type for a given module.

Specified by:
setModuleType in interface I_CmsRegistry
Parameters:
theModuleType - the new type of the module