|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.opencms.template.A_CmsXmlContent
|
+--com.opencms.file.CmsRegistry
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.
| 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.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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CmsRegistry(CmsRegistry reg,
CmsObject cms)
public CmsRegistry(String regFileName)
throws CmsException
| Method Detail |
public I_CmsRegistry clone(CmsObject cms)
clone in interface I_CmsRegistry
public void createModule(String modulename,
String niceModulename,
String description,
String author,
String type,
Map exportPoints,
long createDate,
float version)
throws CmsException
createModule in interface I_CmsRegistrymodulename - the name of the moduleniceModulename - another name of the moduledescription - the description of the moduleauthor - the name of the authortype - the type of the moduleexportPoints - a map of all export points of the modulecreateDate - the creation date of the moduleversion - the version number of the module
CmsException - if the user has no right to create a new module
public void createModule(String modulename,
String niceModulename,
String description,
String author,
String type,
Map exportPoints,
String createDate,
float version)
throws CmsException
createModule in interface I_CmsRegistrymodulename - the name of the moduleniceModulename - another name of the moduledescription - the description of the moduleauthor - the name of the authortype - the type of the moduleexportPoints - a map of all export points of the modulecreateDate - the creation date of the module in the format: mm.dd.yyyyversion - the version number of the module
CmsException - if the user has no right to create a new module
public Vector deleteCheckDependencies(String modulename,
boolean replaceMode)
throws CmsException
I_CmsRegistryIf a module depends on this module, the name will be returned in the vector.
deleteCheckDependencies in interface I_CmsRegistryreplaceMode - if true this is for module replacement,
if false it is form module deletion
CmsExceptionI_CmsRegistry.deleteCheckDependencies(String, boolean)
public void deleteGetConflictingFileNames(String modulename,
Vector filesWithProperty,
Vector missingFiles,
Vector wrongChecksum,
Vector filesInUse,
Vector resourcesForProject)
throws CmsException
deleteGetConflictingFileNames in interface I_CmsRegistrymodulename - 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
public void deleteModule(String module,
Vector exclusion,
boolean replaceMode,
I_CmsReport report)
throws CmsException
I_CmsRegistryThis method is synchronized, so only one module can be deleted at a time.
deleteModule in interface I_CmsRegistrymodule - the name of the module to be deletedexclusion - a Vector with resource names that should be excluded from this deletionreplaceMode - if true this is for module replacement, so no dependencies will be checkedreport - a report for the output
CmsException - in case of an error during deletionI_CmsRegistry.deleteModule(String, Vector, boolean, I_CmsReport)
public void deleteModuleView(String modulename)
throws CmsException
deleteModuleView in interface I_CmsRegistryCmsException
public void exportModule(String moduleName,
String[] resources,
String fileName,
I_CmsReport report)
throws CmsException
exportModule in interface I_CmsRegistrymoduleName - the name of the module to be exportedfileName - the name of the file to write the export toreport - a report for the output
CmsException - in case of an error during exportpublic String getContentDescription()
getContentDescription in class A_CmsXmlContentpublic String getModuleAuthor(String modulename)
getModuleAuthor in interface I_CmsRegistrypublic String getModuleAuthorEmail(String modulename)
getModuleAuthorEmail in interface I_CmsRegistrypublic long getModuleCreateDate(String modulname)
getModuleCreateDate in interface I_CmsRegistry
public int getModuleDependencies(String modulename,
Vector modules,
Vector minVersions,
Vector maxVersions)
getModuleDependencies in interface I_CmsRegistrymodules - 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.
public String getModuleDescription(String module)
getModuleDescription in interface I_CmsRegistrypublic String getModuleDocumentPath(String modulename)
getModuleDocumentPath in interface I_CmsRegistry
public int getModuleFiles(String modulename,
Vector retNames,
Vector retCodes)
getModuleFiles in interface I_CmsRegistryretNames - the names of the resources belonging to the module.retCodes - the hashcodes of the resources belonging to the module.
public Class getModuleMaintenanceEventClass(String modulname)
getModuleMaintenanceEventClass in interface I_CmsRegistrypublic String getModuleMaintenanceEventName(String modulname)
getModuleMaintenanceEventName in interface I_CmsRegistrypublic Enumeration getModuleNames()
getModuleNames in interface I_CmsRegistrypublic String getModuleNiceName(String module)
getModuleNiceName in interface I_CmsRegistry
public String getModuleParameter(String modulename,
String parameter)
getModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
public String getModuleParameter(String modulename,
String parameter,
String defaultValue)
modulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.defaultValue - the default value.
public boolean getModuleParameterBoolean(String modulname,
String parameter)
getModuleParameterBoolean in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public Boolean getModuleParameterBoolean(String modulname,
String parameter,
Boolean defaultValue)
getModuleParameterBoolean in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public boolean getModuleParameterBoolean(String modulname,
String parameter,
boolean defaultValue)
getModuleParameterBoolean in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public byte getModuleParameterByte(String modulname,
String parameter)
getModuleParameterByte in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public byte getModuleParameterByte(String modulname,
String parameter,
byte defaultValue)
getModuleParameterByte in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public Byte getModuleParameterByte(String modulname,
String parameter,
Byte defaultValue)
getModuleParameterByte in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public String getModuleParameterDescription(String modulname,
String parameter)
getModuleParameterDescription in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public double getModuleParameterDouble(String modulname,
String parameter)
getModuleParameterDouble in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public double getModuleParameterDouble(String modulname,
String parameter,
double defaultValue)
getModuleParameterDouble in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public Double getModuleParameterDouble(String modulname,
String parameter,
Double defaultValue)
getModuleParameterDouble in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public float getModuleParameterFloat(String modulname,
String parameter)
getModuleParameterFloat in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public float getModuleParameterFloat(String modulname,
String parameter,
float defaultValue)
getModuleParameterFloat in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public Float getModuleParameterFloat(String modulname,
String parameter,
Float defaultValue)
getModuleParameterFloat in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public int getModuleParameterInteger(String modulname,
String parameter)
getModuleParameterInteger in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public int getModuleParameterInteger(String modulname,
String parameter,
int defaultValue)
getModuleParameterInteger in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public Integer getModuleParameterInteger(String modulname,
String parameter,
Integer defaultValue)
getModuleParameterInteger in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public long getModuleParameterLong(String modulname,
String parameter)
getModuleParameterLong in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public long getModuleParameterLong(String modulname,
String parameter,
long defaultValue)
getModuleParameterLong in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public Long getModuleParameterLong(String modulname,
String parameter,
Long defaultValue)
getModuleParameterLong in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public String[] getModuleParameterNames(String modulename)
getModuleParameterNames in interface I_CmsRegistrymodulename - String the name of the module.
public String getModuleParameterString(String modulname,
String parameter)
getModuleParameterString in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public String getModuleParameterString(String modulname,
String parameter,
String defaultValue)
getModuleParameterString in interface I_CmsRegistrymodulname - String the name of the module.parameter - String the name of the parameter.
public String getModuleParameterType(String modulename,
String parameter)
getModuleParameterType in interface I_CmsRegistrymodulename - the name of the module.parameter - the name of the parameter.
public String[] getModuleRepositories(String modulename)
getModuleRepositories in interface I_CmsRegistrypublic long getModuleUploadDate(String modulname)
getModuleUploadDate in interface I_CmsRegistrypublic String getModuleUploadedBy(String modulename)
getModuleUploadedBy in interface I_CmsRegistrypublic float getModuleVersion(String modulename)
getModuleVersion in interface I_CmsRegistrypublic String getModuleViewName(String modulename)
getModuleViewName in interface I_CmsRegistrypublic String getModuleViewUrl(String modulname)
getModuleViewUrl in interface I_CmsRegistrypublic int getModuleLifeCycle(Vector classes)
getModuleLifeCycle in interface I_CmsRegistrypublic String getModulePublishClass(String modulname)
getModulePublishClass in interface I_CmsRegistry
public int getModulePublishables(Vector classes,
String requiredMethod)
getModulePublishables in interface I_CmsRegistrypublic int getModuleExportables(Hashtable classes)
getModuleExportables in interface I_CmsRegistrypublic Hashtable getExportpoints()
getExportpoints in interface I_CmsRegistrypublic String[] getRepositories()
getRepositories in interface I_CmsRegistry
public int getResourceTypes(Vector names,
Vector launcherTypes,
Vector launcherClass,
Vector resourceClass)
getResourceTypes in interface I_CmsRegistrypublic String getSystemValue(String key)
<system><mailserver>mail.server.com</mailserver></system>
can be requested via getSystemValue("mailserver"); and returns "mail.server.com".
getSystemValue in interface I_CmsRegistrypublic Hashtable getSystemValues(String key)
getSystemValues in interface I_CmsRegistrypublic Element getSystemElement()
getSystemElement in interface I_CmsRegistry
public int getViews(Vector views,
Vector urls)
getViews in interface I_CmsRegistrypublic String getXmlDocumentTagName()
getXmlDocumentTagName in class A_CmsXmlContent
public Vector importCheckDependencies(String moduleZip,
boolean replaceMode)
throws CmsException
I_CmsRegistry
importCheckDependencies in interface I_CmsRegistrymoduleZip - the name of the zipfile for the new module.replaceMode - if true this is for module replacement,
if false it is form module deletion
CmsExceptionI_CmsRegistry.importCheckDependencies(String, boolean)
public Vector importGetConflictingFileNames(String moduleZip)
throws CmsException
importGetConflictingFileNames in interface I_CmsRegistrymoduleZip - The name of the zip-file to import.
CmsExceptionpublic Map importGetModuleInfo(String moduleZip)
The map contains the following values:
"name": the package name of the module (e.g. "org.opencms.default")
"type": the type of the module ("simple" or "traditional")
importGetModuleInfo in interface I_CmsRegistrymoduleZip - the name of the zip file to import
public Vector importGetResourcesForProject(String moduleZip)
throws CmsException
importGetResourcesForProject in interface I_CmsRegistrymoduleZip - The name of the zip-file to import.
CmsException
public void importModule(String moduleZip,
Vector exclusion,
I_CmsReport report)
throws CmsException
importModule in interface I_CmsRegistrymoduleZip - the name of the zip-file to import from.exclusion - a Vector with resource-names that should be excluded from this import.
CmsExceptionpublic boolean moduleExists(String modulename)
moduleExists in interface I_CmsRegistry
public void setModuleAuthor(String modulename,
String author)
throws CmsException
setModuleAuthor in interface I_CmsRegistryCmsException
public void setModuleAuthorEmail(String modulename,
String email)
throws CmsException
setModuleAuthorEmail in interface I_CmsRegistryCmsException
public void setModuleCreateDate(String modulname,
long createdate)
throws CmsException
setModuleCreateDate in interface I_CmsRegistryCmsException
public void setModuleCreateDate(String modulname,
String createdate)
throws CmsException
setModuleCreateDate in interface I_CmsRegistryCmsException
public void setModuleDependencies(String modulename,
Vector modules,
Vector minVersions,
Vector maxVersions)
throws CmsException
setModuleDependencies in interface I_CmsRegistrymodules - 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
public void setModuleDescription(String module,
String description)
throws CmsException
setModuleDescription in interface I_CmsRegistryCmsException
public void setModuleDocumentPath(String modulename,
String url)
throws CmsException
setModuleDocumentPath in interface I_CmsRegistryCmsException
public void setModuleMaintenanceEventClass(String modulname,
String classname)
throws CmsException
setModuleMaintenanceEventClass in interface I_CmsRegistryCmsException
public void setModulePublishClass(String modulname,
String classname)
throws CmsException
setModulePublishClass in interface I_CmsRegistryCmsException
public void setModuleNiceName(String module,
String nicename)
throws CmsException
setModuleNiceName in interface I_CmsRegistryCmsException
public void setModuleParameter(String modulename,
String parameter,
byte value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
double value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
float value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
int value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
long value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
Boolean value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
Byte value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
Double value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
Float value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
Integer value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
Long value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameter(String modulename,
String parameter,
String value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - 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
public void setModuleParameter(String modulename,
String parameter,
boolean value)
throws CmsException
setModuleParameter in interface I_CmsRegistrymodulename - java.lang.String the name of the module.parameter - java.lang.String the name of the parameter to set.
CmsException
public void setModuleParameterdef(String modulename,
Vector names,
Vector descriptions,
Vector types,
Vector values)
throws CmsException
setModuleParameterdef in interface I_CmsRegistrynames - Vector with parameternamesdescriptions - Vector with parameterdescriptionstypes - Vector with parametertypes (string, float,...)values - Vector with defaultvalues for parameters
CmsException
public void setModuleRepositories(String modulename,
String[] repositories)
throws CmsException
setModuleRepositories in interface I_CmsRegistryCmsException
public void setModuleVersion(String modulename,
String version)
throws CmsException
setModuleVersion in interface I_CmsRegistrymodulename - the name of the module.version - the version of the module.
CmsException
public void setModuleView(String modulename,
String viewname,
String viewurl)
throws CmsException
setModuleView in interface I_CmsRegistryCmsException
public void setSystemValue(String dataName,
String value)
throws CmsException
setSystemValue in interface I_CmsRegistryCmsException
public void setSystemValues(String dataName,
Hashtable values)
throws CmsException
setSystemValues in interface I_CmsRegistryCmsExceptionpublic String getModuleType(String theModulename)
getModuleType in interface I_CmsRegistry
public void setModuleType(String theModulename,
String theModuleType)
setModuleType in interface I_CmsRegistrytheModuleType - the new type of the module
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||