Examples of ErrorStrategyType


Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

    }

    public void notifyStrategySelectedChanged(ErrorStrategyItemType esType, String value) {
        IErrorStrategyItem esItem = findErrorStrategyItem(esType);
        if (esItem != null) {
            ErrorStrategyType oldType = esItem.getStrategy();
            ErrorStrategyType newType = ErrorStrategyType.valueOf(ErrorStrategyType.class, value);
            if (oldType != newType) {
                esItem.setStrategy(newType);
                if (config != null) {
                    config.setModified(true);
                }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

        refresh();
    }

    public void notifyContextValidationStrategyChanged(String value) {
        if (value != null && errorStrategy != null) {
            ErrorStrategyType oldValue = errorStrategy.getContextValidationStrategy();
            ErrorStrategyType est = ErrorStrategyType.valueOf(value);
            if (oldValue != est) {
                errorStrategy.setContextValidationStrategy(est);
                if (config != null) {
                    config.setModified(true);
                }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

            view.setTimeBetweenRetries(itemType, item.getTimeBetweenRetries(), saved);
            if (!saved) {
                ErrorStrategyType[] esTypes = ErrorStrategyType.values();
                view.clearStrategyCombo(itemType);
                for (int i = 0; i < esTypes.length; i++) {
                    ErrorStrategyType es = esTypes[i];
                    view.addStrategyComboItem(itemType, es.name(), es.name());
                }

                if (item.getStrategy() != null) {
                    view.setStrategy(itemType, item.getStrategy().name());
                }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

     * fr.soleil.salsa.entity.IErrorStrategyItem#setStrategy(fr.soleil.salsa
     * .entity.impl.ErrorStrategyType)
     */
    @Override
    public void setStrategy(ErrorStrategyType strategy) {
        ErrorStrategyType oldValue = baseBean.getStrategy();
        baseBean.setStrategy(strategy);
        firePropertyChange("strategy", oldValue, strategy);
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

        /* Context validation */
        view.setContextValidationAttribute(errorStrategy.getContextValidationDevice());
        ErrorStrategyType[] esTypes = ErrorStrategyType.values();
        view.clearContextValidationStrategyCombo();
        for (int i = 0; i < esTypes.length; i++) {
            ErrorStrategyType es = esTypes[i];
            view.addStrategyComboItem(es.name(), es.name());
        }
        ErrorStrategyType est = errorStrategy.getContextValidationStrategy();
        if (est != null) {
            view.setContextValidationStrategy(est.name());
        }

        view.enableListener(true);
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

        view.setTimeBetweenRetries(itemType, item.getTimeBetweenRetries());

        ErrorStrategyType[] esTypes = ErrorStrategyType.values();
        view.clearStrategyCombo(itemType);
        for (int i = 0; i < esTypes.length; i++) {
            ErrorStrategyType es = esTypes[i];
            view.addStrategyComboItem(itemType, es.name(), es.name());
        }

        if (item.getStrategy() != null) {
            view.setStrategy(itemType, item.getStrategy().name());
        }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

        return result;
    }

    public void notifyStrategySelectedChanged(ErrorStrategyItemType esType, String value) {
        IErrorStrategyItem esItem = findErrorStrategyItem(esType);
        ErrorStrategyType errorStrategyType = ErrorStrategyType.valueOf(ErrorStrategyType.class,
                value);
        esItem.setStrategy(errorStrategyType);
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

    public void notifyContextValidationAttributeChanged(String value) {
        errorStrategy.setContextValidationDevice(value);
    }

    public void notifyContextValidationStrategyChanged(String value) {
        ErrorStrategyType est = ErrorStrategyType.valueOf(value);
        errorStrategy.setContextValidationStrategy(est);
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

        /* Context validation */
        view.setContextValidationAttribute(errorStrategy.getContextValidationDevice());
        ErrorStrategyType[] esTypes = ErrorStrategyType.values();
        view.clearContextValidationStrategyCombo();
        for (int i = 0; i < esTypes.length; i++) {
            ErrorStrategyType es = esTypes[i];
            view.addStrategyComboItem(es.name(), es.name());
        }
        ErrorStrategyType est = errorStrategy.getContextValidationStrategy();
        if (est != null) {
            view.setContextValidationStrategy(est.name());
        }

        view.enableListener(true);
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ErrorStrategyType

        view.setTimeBetweenRetries(itemType, item.getTimeBetweenRetries());

        ErrorStrategyType[] esTypes = ErrorStrategyType.values();
        view.clearStrategyCombo(itemType);
        for (int i = 0; i < esTypes.length; i++) {
            ErrorStrategyType es = esTypes[i];
            view.addStrategyComboItem(itemType, es.name(), es.name());
        }

        if (item.getStrategy() != null) {
            view.setStrategy(itemType, item.getStrategy().name());
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.