Package de.innovationgate.wga.modules.options

Examples of de.innovationgate.wga.modules.options.OptionValueValidationException


    }

    public void validate(String value, Locale locale, WGAConfiguration config) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(null);
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The plugin '" + value + "' in either unknown, not enabled or no content store");
        }
    }
View Full Code Here


    }

    public void validate(String value, Locale locale, WGAConfiguration config) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(config);
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The domain '" + value + "' in unknown or does not match the neccessary conditions");
        }
    }
View Full Code Here

    }

    public void validate(String value, Locale locale, ValidationContext cx) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(cx.getConfigCopy());
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The language behaviour type '" + value + "' is unknown");
        }
    }
View Full Code Here

        Iterator<String> values = WGUtils.deserializeCollection(value, ",", true).iterator();
        while (values.hasNext()) {
            String singleValue = (String) values.next();
            List<String> providedValues = getValueProvider(config).getProvidedValues();
            if (!providedValues.contains(singleValue)) {
                throw new OptionValueValidationException("The database '" + value + "' in either unknown, not enabled or no content store");
            }   
        }
    }
View Full Code Here

    }

    public void validate(String value, Locale locale, WGAConfiguration config) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(null);
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The item encoding type '" + value + "' in unknown");
        }
    }
View Full Code Here

    }

    public void validate(String value, Locale locale, WGAConfiguration config) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(config);
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The server '" + value + "' in either unknown, not enabled or of the wrong type");
        }
    }
View Full Code Here

    }

    public void validate(String value, Locale locale, WGAConfiguration config) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(config);
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The database '" + value + "' is unknown or not of the neccessary type");
        }
    }
View Full Code Here

    }

    public void validate(String value, Locale locale, WGAConfiguration config) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(config);
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The database '" + value + "' in either unknown, not enabled or no content store");
        }
    }
View Full Code Here

    }

    public void validate(String value, Locale locale, WGAConfiguration configCopy) throws OptionValueValidationException {
        OptionValueProvider provider = getValueProvider(null);
        if (!provider.getProvidedValues().contains(value)) {
            throw new OptionValueValidationException("The WGAServices protocol type '" + value + "' in unknown");
        }
    }
View Full Code Here

TOP

Related Classes of de.innovationgate.wga.modules.options.OptionValueValidationException

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.