Package org.sf.bee.runtime.configuration.items

Examples of org.sf.bee.runtime.configuration.items.ConfigItemSysParameter


            final RuntimeConfigFile configFile) {
        final List<ConfigItemSysParameter> result = new LinkedList<ConfigItemSysParameter>();
        if (null != configFile) {
            final String[] keys = configFile.getKeys();
            for (final String key : keys) {
                final ConfigItemSysParameter item = new ConfigItemSysParameter();
                item.setUid(key);
                result.add(item);
                final List<ConfigurationProperty> lcp = configFile.get(key);
                if (null != lcp && lcp.size() > 0) {
                    for (final ConfigurationProperty cp : lcp) {
                        this.addParameterProperty(item, cp);
View Full Code Here


     * @param text XML configuration text (like in beeing.xml)
     * @return NULL or configuration item
     */
    public ConfigItemSMS getSMS(final String text) {
        try {
            final ConfigItemSysParameter config = CollectionUtils.getFirst(
                    ConfigurationFileUtils.getInstance().getConfigParams(text));
            if (null != config) {
                final ConfigItemSMS result = new ConfigItemSMS(config);
                if (null != result) {
                    final boolean valid = StringUtils.hasText(result.getMethod())
View Full Code Here

    }

    public final String getSysParameterValue(final String uid,
            final String attrUid) {
        synchronized (this) {
            final ConfigItemSysParameter item = _parameters.get(uid);
            return null != item
                    ? item.getAttributeValue(attrUid)
                    : "";
        }
    }
View Full Code Here

     * @param attriuteUid Parameter attribute uid. i.e. "users_path_download"
     * @return Parameter value. i.e. "file://c:/_hive/"
     */
    public String getParameterValue(final String parameterUid,
            final String attributeUid) {
        final ConfigItemSysParameter item = _repository.getSysParameter(parameterUid);
        if (null != item) {
            return item.getAttributeValue(attributeUid);
        }
        return "";
    }
View Full Code Here

       
        super.logResponse();
    }

    private void reloadCustomProperties() {
        final ConfigItemSysParameter property = this.getParamCustom();
        super.reloadCustomProperties(property);
    }
View Full Code Here

        final ConfigItemSysParameter property = this.getParamCustom();
        super.reloadCustomProperties(property);
    }

    private void reloadLdap() {
        final ConfigItemSysParameter property = this.getParamLdap();
        super.reloadLdap(property);
    }
View Full Code Here

TOP

Related Classes of org.sf.bee.runtime.configuration.items.ConfigItemSysParameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.