@Service @Repository @Transactional public class ConstraintServiceImpl extends Object implements ConstraintService
Constructor and Description |
---|
ConstraintServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteConstraint(Long constraintId) |
Optional<ConstraintModel> |
getConstraint(Long constraintId) |
List<ConstraintModel> |
getConstraints() |
Set<String> |
getConstraintTypes() |
ConstraintModel |
saveConstraint(ConstraintModel constraint) |
public Set<String> getConstraintTypes()
getConstraintTypes
in interface ConstraintService
public List<ConstraintModel> getConstraints()
getConstraints
in interface ConstraintService
public Optional<ConstraintModel> getConstraint(Long constraintId)
getConstraint
in interface ConstraintService
public ConstraintModel saveConstraint(ConstraintModel constraint)
saveConstraint
in interface ConstraintService
public void deleteConstraint(Long constraintId)
deleteConstraint
in interface ConstraintService
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.