⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i_cmsregistry.java

📁 内容管理
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public Byte getModuleParameterByte(String modulname, String parameter, Byte defaultValue);
    
    /**
     * Returns a description for parameter in a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @return String the description for the parameter in the module.
     */
    public String getModuleParameterDescription(String modulname, String parameter);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @return boolean the value for the parameter in the module.
     */
    public double getModuleParameterDouble(String modulname, String parameter);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public double getModuleParameterDouble(String modulname, String parameter, double defaultValue);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public Double getModuleParameterDouble(String modulname, String parameter, Double defaultValue);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public float getModuleParameterFloat(String modulname, String parameter);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public float getModuleParameterFloat(String modulname, String parameter, float defaultValue);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public Float getModuleParameterFloat(String modulname, String parameter, Float defaultValue);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @return boolean the value for the parameter in the module.
     */
    public int getModuleParameterInteger(String modulname, String parameter);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public int getModuleParameterInteger(String modulname, String parameter, int defaultValue);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public Integer getModuleParameterInteger(String modulname, String parameter, Integer defaultValue);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public long getModuleParameterLong(String modulname, String parameter);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public long getModuleParameterLong(String modulname, String parameter, long defaultValue);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public Long getModuleParameterLong(String modulname, String parameter, Long defaultValue);
    /**
     * Gets all parameter-names for a module.
     *
     * @param modulename String the name of the module.
     * @return value String[] the names of the parameters for a module.
     */
    public String[] getModuleParameterNames(String modulename);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @return boolean the value for the parameter in the module.
     */
    public String getModuleParameterString(String modulname, String parameter);
    
    /**
     * Returns a parameter for a module.
     *
     * @param modulname String the name of the module.
     * @param parameter String the name of the parameter.
     * @param default the default value.
     * @return boolean the value for the parameter in the module.
     */
    public String getModuleParameterString(String modulname, String parameter, String defaultValue);
    
    /**
     * This method returns the type of a parameter in a module.
     *
     * @param modulename the name of the module.
     * @param parameter the name of the parameter.
     * @return the type of the parameter.
     */
    public String getModuleParameterType(String modulename, String parameter);
    
    /**
     * Returns all repositories for a module.
     *
     * @param String modulname the name of the module.
     * @return java.lang.String[] the reprositories of a module.
     */
    public String[] getModuleRepositories(String modulename);
    
    /**
     * Returns the upload-date for the module.
     *
     * @param String the name of the module.
     * @return java.lang.String the upload-date for the module.
     */
    public long getModuleUploadDate(String modulename);
    
    /**
     * Returns the user-name of the user who had uploaded the module.
     *
     * @param String the name of the module.
     * @return java.lang.String the user-name of the user who had uploaded the module.
     */
    public String getModuleUploadedBy(String module);
    
    
    /**
     * This method returns the version of the module.
     *
     * @param String the name of the module.
     * @return java.lang.String the version of the module.
     */
    public float getModuleVersion(String modulename);
    
    /**
     * Returns the name of the view, that is implemented by the module.
     *
     * @param String the name of the module.
     * @return java.lang.String the name of the view, that is implemented by the module.
     */
    public String getModuleViewName(String modulename);
    
    /**
     * Returns the url to the view-url for the module within the system.
     *
     * @param String the name of the module.
     * @return java.lang.String the view-url to the module.
     */
    public String getModuleViewUrl(String modulename);
    

    /**
     * Returns all lifecycle classes for all modules.
     *
     * @param Vector classes in this parameter the classes will be returned.
     * @return int the amount of classes.
     */
    public int getModuleLifeCycle(Vector classes);
    

    /**
     * Returns the name of the class, that contains the publish method of the module.
     *
     * @param String the name of the module.
     * @return java.lang.Class that contains the publish method of the module.
     */
    public String getModulePublishClass(String modulname);

    /**
     * Returns all publishable classes for all modules.
     *
     * @param Vector classes in this parameter the classess will be returned.
     * @param String requiredMethod The value of the methodTag for the different
     *      methods useable after publish.
     *          null means the standard publish method
     *          "linkpublish" means the method that needs the changed links as parameter (i.e. search)
     * @return int the amount of classess.
     */
    public int getModulePublishables(Vector classes, String requiredMethod);

    /**
     * Returns all exportable classes for all modules.
     *
     * @param Hashtable classes in this parameter the classes will be returned.
     * @return int the amount of classes.
     */
    public int getModuleExportables(Hashtable classes);

    /**
     * Returns all repositories for all modules.
     *
     * @return java.lang.String[] the reprositories of all modules.
     */
    public String[] getRepositories();

    /**
     * Returns all Resourcetypes and korresponding parameter for System and all modules.
     *
     * @param Vector names in this parameter the names of the Resourcetypes will be returned.
     * @param Vector launcherTypes in this parameters the launcherType will be returned(int).
     * @param Vector launcherClass in this parameters the launcherClass will be returned.
     * @param Vector resourceClass in this parameters the resourceClass will be returned.
     * @return int the amount of resourcetypes.
     */
    public int getResourceTypes(Vector names, Vector launcherTypes, Vector launcherClass, Vector resourceClass);

    /**
     * Returns a value for a system-key.
     * E.g. <code>&lt;system&gt;&lt;mailserver&gt;mail.server.com&lt;/mailserver&gt;&lt;/system&gt;</code>
     * can be requested via <code>getSystemValue("mailserver");</code> and returns "mail.server.com.
     *
     * @param String the key of the system-value.
     * @return the value for that system-key.
     */
    public String getSystemValue(String key);

    /**
     * Returns a vector of value for a system-key.
     *
     * @param String the key of the system-value.
     * @return the values for that system-key.
     */
    public Hashtable getSystemValues(String key);

    /**
     * Return the XML "system" node Element from the registry for further 
     * processing in another class.
     * @return the system node.
     */
    public org.w3c.dom.Element getSystemElement();

    /**
     * Returns all views and korresponding urls for all modules.
     *
     * @param String[] views in this parameter the views will be returned.
     * @param String[] urls in this parameters the urls vor the views will be returned.
     * @return int the amount of views.
     */
    public int getViews(Vector views, Vector urls);

    /**
     * Checks the dependencies for a new or replaced module.<p>
     * 
     * @param moduleZip the name of the zipfile for the new module.
     * @param replaceMode if <code>true</code> this is for module replacement, 
     * if <code>false</code> it is form module deletion
     * @return a Vector with dependencies that are not fullfilled.
     */
    public Vector importCheckDependencies(String moduleZip, boolean replaceMode) throws CmsException;
    
    /**

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -