All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.importer.service.ILogicValidator Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.importer.service;

import com.netgrif.application.engine.importer.model.Logic;
import com.netgrif.application.engine.importer.service.throwable.BeatingAttributesException;

public interface ILogicValidator extends IModelValidator {
    void checkDeprecatedAttributes(Logic logic);

    /**
     * Self-beating attributes are two attributes, that should not be present inside their parent at the same time.
     * E.g.: if user defines  in transition, the tag  will be disabled, however, additional
     *  tags can be still added.
     *
     * @param logic     the model of Logic
     * @param attr1     first element to be compared
     * @param attr2     second element to be compared
     * @param attr1Name the name of first element
     * @param attr2Name the name of second element
     * @throws BeatingAttributesException is thrown when there are two attributes with different type but same goal
     */
    void checkConflictingAttributes(Logic logic, Object attr1, Object attr2, String attr1Name, String attr2Name) throws BeatingAttributesException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy