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

📄 portletdefinitiontype.java

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
     *     * @param vDescription     */    public boolean removeDescription(org.gridsphere.portletcontainer.impl.descriptor.Description vDescription) {        boolean removed = _descriptionList.remove(vDescription);        return removed;    } //-- boolean removeDescription(org.gridsphere.portletcontainer.jsr.descriptor.Description)    /**     * Method removeDisplayName     *     * @param vDisplayName     */    public boolean removeDisplayName(org.gridsphere.portletcontainer.impl.descriptor.DisplayName vDisplayName) {        boolean removed = _displayNameList.remove(vDisplayName);        return removed;    } //-- boolean removeDisplayName(org.gridsphere.portletcontainer.jsr.descriptor.DisplayName)    /**     * Method removeInitParam     *     * @param vInitParam     */    public boolean removeInitParam(org.gridsphere.portletcontainer.impl.descriptor.InitParam vInitParam) {        boolean removed = _initParamList.remove(vInitParam);        return removed;    } //-- boolean removeInitParam(org.gridsphere.portletcontainer.jsr.descriptor.InitParam)    /**     * Method removeSecurityRoleRef     *     * @param vSecurityRoleRef     */    public boolean removeSecurityRoleRef(org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef vSecurityRoleRef) {        boolean removed = _securityRoleRefList.remove(vSecurityRoleRef);        return removed;    } //-- boolean removeSecurityRoleRef(org.gridsphere.portletcontainer.jsr.descriptor.SecurityRoleRef)    /**     * Method removeSupportedLocale     *     * @param vSupportedLocale     */    public boolean removeSupportedLocale(org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale vSupportedLocale) {        boolean removed = _supportedLocaleList.remove(vSupportedLocale);        return removed;    } //-- boolean removeSupportedLocale(org.gridsphere.portletcontainer.jsr.descriptor.SupportedLocale)    /**     * Method removeSupports     *     * @param vSupports     */    public boolean removeSupports(org.gridsphere.portletcontainer.impl.descriptor.Supports vSupports) {        boolean removed = _supportsList.remove(vSupports);        return removed;    } //-- boolean removeSupports(org.gridsphere.portletcontainer.jsr.descriptor.Supports)    /**     * Method setDescription     *     * @param index     * @param vDescription     */    public void setDescription(int index, org.gridsphere.portletcontainer.impl.descriptor.Description vDescription)            throws java.lang.IndexOutOfBoundsException {        //-- check bounds for index        if ((index < 0) || (index > _descriptionList.size())) {            throw new IndexOutOfBoundsException();        }        _descriptionList.set(index, vDescription);    } //-- void setDescription(int, org.gridsphere.portletcontainer.jsr.descriptor.Description)    /**     * Method setDescription     *     * @param descriptionArray     */    public void setDescription(org.gridsphere.portletcontainer.impl.descriptor.Description[] descriptionArray) {        //-- copy array        _descriptionList.clear();        for (int i = 0; i < descriptionArray.length; i++) {            _descriptionList.add(descriptionArray[i]);        }    } //-- void setDescription(org.gridsphere.portletcontainer.jsr.descriptor.Description)    /**     * Method setDisplayName     *     * @param index     * @param vDisplayName     */    public void setDisplayName(int index, org.gridsphere.portletcontainer.impl.descriptor.DisplayName vDisplayName)            throws java.lang.IndexOutOfBoundsException {        //-- check bounds for index        if ((index < 0) || (index > _displayNameList.size())) {            throw new IndexOutOfBoundsException();        }        _displayNameList.set(index, vDisplayName);    } //-- void setDisplayName(int, org.gridsphere.portletcontainer.jsr.descriptor.DisplayName)    /**     * Method setDisplayName     *     * @param displayNameArray     */    public void setDisplayName(org.gridsphere.portletcontainer.impl.descriptor.DisplayName[] displayNameArray) {        //-- copy array        _displayNameList.clear();        for (int i = 0; i < displayNameArray.length; i++) {            _displayNameList.add(displayNameArray[i]);        }    } //-- void setDisplayName(org.gridsphere.portletcontainer.jsr.descriptor.DisplayName)    /**     * Sets the value of field 'expirationCache'.     *     * @param expirationCache the value of field 'expirationCache'.     */    public void setExpirationCache(org.gridsphere.portletcontainer.impl.descriptor.ExpirationCache expirationCache) {        this._expirationCache = expirationCache;    } //-- void setExpirationCache(org.gridsphere.portletcontainer.jsr.descriptor.ExpirationCache)    /**     * Sets the value of field 'id'.     *     * @param id the value of field 'id'.     */    public void setId(java.lang.String id) {        this._id = id;    } //-- void setId(java.lang.String)    /**     * Method setInitParam     *     * @param index     * @param vInitParam     */    public void setInitParam(int index, org.gridsphere.portletcontainer.impl.descriptor.InitParam vInitParam)            throws java.lang.IndexOutOfBoundsException {        //-- check bounds for index        if ((index < 0) || (index > _initParamList.size())) {            throw new IndexOutOfBoundsException();        }        _initParamList.set(index, vInitParam);    } //-- void setInitParam(int, org.gridsphere.portletcontainer.jsr.descriptor.InitParam)    /**     * Method setInitParam     *     * @param initParamArray     */    public void setInitParam(org.gridsphere.portletcontainer.impl.descriptor.InitParam[] initParamArray) {        //-- copy array        _initParamList.clear();        for (int i = 0; i < initParamArray.length; i++) {            _initParamList.add(initParamArray[i]);        }    } //-- void setInitParam(org.gridsphere.portletcontainer.jsr.descriptor.InitParam)    /**     * Sets the value of field 'portletClass'.     *     * @param portletClass the value of field 'portletClass'.     */    public void setPortletClass(org.gridsphere.portletcontainer.impl.descriptor.PortletClass portletClass) {        this._portletClass = portletClass;    } //-- void setPortletID(java.lang.String)    /**     * Sets the value of field 'portletName'.     *     * @param portletName the value of field 'portletName'.     */    public void setPortletName(org.gridsphere.portletcontainer.impl.descriptor.PortletName portletName) {        this._portletName = portletName;    } //-- void setPortletName(org.gridsphere.portletcontainer.jsr.descriptor.PortletName)    /**     * Sets the value of field 'portletPreferences'.     *     * @param portletPreferences the value of field     *                           'portletPreferences'.     */    public void setPortletPreferences(org.gridsphere.portletcontainer.impl.descriptor.PortletPreferences portletPreferences) {        this._portletPreferences = portletPreferences;    } //-- void setPortletPreferences(org.gridsphere.portletcontainer.jsr.descriptor.PortletPreferences)    /**     * Sets the value of field 'portletInfo'.     *     * @param portletInfo the value of field     *                    'portletInfo'.     */    public void setPortletInfo(org.gridsphere.portletcontainer.impl.descriptor.PortletInfo portletInfo) {        this._portletInfo = portletInfo;    } //-- void setPortletTypeChoice(org.gridsphere.portletcontainer.jsr.descriptor.PortletInfo)    /**     * Sets the value of field 'resourceBundle'.     *     * @param resourceBundle the value of field 'resourceBundle'.     */    public void setResourceBundle(org.gridsphere.portletcontainer.impl.descriptor.ResourceBundle resourceBundle) {        this._resourceBundle = resourceBundle;    } //-- void setResourceBundle(org.gridsphere.portletcontainer.jsr.descriptor.ResourceBundle)    /**     * Method setSecurityRoleRef     *     * @param index     * @param vSecurityRoleRef     */    public void setSecurityRoleRef(int index, org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef vSecurityRoleRef)            throws java.lang.IndexOutOfBoundsException {        //-- check bounds for index        if ((index < 0) || (index > _securityRoleRefList.size())) {            throw new IndexOutOfBoundsException();        }        _securityRoleRefList.set(index, vSecurityRoleRef);    } //-- void setSecurityRoleRef(int, org.gridsphere.portletcontainer.jsr.descriptor.SecurityRoleRef)    /**     * Method setSecurityRoleRef     *     * @param securityRoleRefArray     */    public void setSecurityRoleRef(org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef[] securityRoleRefArray) {        //-- copy array        _securityRoleRefList.clear();        for (int i = 0; i < securityRoleRefArray.length; i++) {            _securityRoleRefList.add(securityRoleRefArray[i]);        }    } //-- void setSecurityRoleRef(org.gridsphere.portletcontainer.jsr.descriptor.SecurityRoleRef)    /**     * Method setSupportedLocale     *     * @param index     * @param vSupportedLocale     */    public void setSupportedLocale(int index, org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale vSupportedLocale)            throws java.lang.IndexOutOfBoundsException {        //-- check bounds for index        if ((index < 0) || (index > _supportedLocaleList.size())) {            throw new IndexOutOfBoundsException();        }        _supportedLocaleList.set(index, vSupportedLocale);    } //-- void setSupportedLocale(int, org.gridsphere.portletcontainer.jsr.descriptor.SupportedLocale)    /**     * Method setSupportedLocale     *     * @param supportedLocaleArray     */    public void setSupportedLocale(org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale[] supportedLocaleArray) {        //-- copy array        _supportedLocaleList.clear();        for (int i = 0; i < supportedLocaleArray.length; i++) {            _supportedLocaleList.add(supportedLocaleArray[i]);        }    } //-- void setSupportedLocale(org.gridsphere.portletcontainer.jsr.descriptor.SupportedLocale)    /**     * Method setSupports     *     * @param index     * @param vSupports     */    public void setSupports(int index, org.gridsphere.portletcontainer.impl.descriptor.Supports vSupports)            throws java.lang.IndexOutOfBoundsException {        //-- check bounds for index        if ((index < 0) || (index > _supportsList.size())) {            throw new IndexOutOfBoundsException();        }        _supportsList.set(index, vSupports);    } //-- void setSupports(int, org.gridsphere.portletcontainer.jsr.descriptor.Supports)    /**     * Method setSupports     *     * @param supportsArray     */    public void setSupports(org.gridsphere.portletcontainer.impl.descriptor.Supports[] supportsArray) {        //-- copy array        _supportsList.clear();        for (int i = 0; i < supportsArray.length; i++) {            _supportsList.add(supportsArray[i]);        }    } //-- void setSupports(org.gridsphere.portletcontainer.jsr.descriptor.Supports)    /**     * Method unmarshal     *     * @param reader     */    public static java.lang.Object unmarshal(java.io.Reader reader)            throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {        return (org.gridsphere.portletcontainer.impl.descriptor.PortletDefinitionType) Unmarshaller.unmarshal(org.gridsphere.portletcontainer.impl.descriptor.PortletDefinitionType.class, reader);    } //-- java.lang.Object unmarshal(java.io.Reader)    /**     * Method validate     */    public void validate()            throws org.exolab.castor.xml.ValidationException {        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();        validator.validate(this);    } //-- void validate()}

⌨️ 快捷键说明

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