public interface ValidationActionService
ValidationActions| Modifier and Type | Method and Description |
|---|---|
ActionDefinition |
createValidation(ActionDefinition validation)
Create a Validation Action
|
ActionDefinition |
getValidation(String validationId)
Return the
ActionDefinition given the validationId |
ActionDefinition |
getValidationByName(String namespaceCode,
String name)
Return the
ActionDefinition given the namespaceCode and name |
ActionDefinition |
updateValidation(ActionDefinition validation)
Update a Validation Action
|
ActionDefinition getValidation(String validationId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
ActionDefinition given the validationIdvalidationId - of the ActionDefinition to returnActionDefinition whose value is of the given validationId{@link - RiceIllegalArgumentException}org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionActionDefinition getValidationByName(String namespaceCode, String name) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
ActionDefinition given the namespaceCode and namenamespaceCode - of the ActionDefinition to returnname - of the ActionDefinition to returnActionDefinition whose namespaceCode and name are of those given{@link - RiceIllegalArgumentException}org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionActionDefinition createValidation(ActionDefinition validation) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
validation - ActionDefinition to createActionDefinition created{@link - RiceIllegalArgumentException} if the given Validation definition is null{@link - RiceIllegalArgumentException} if the given Validation definition has a non-null id. When creating a new
Validation definition, the ID will be generated.{@link - RiceIllegalStateException} if a Validation with the given namespace code and name already existsorg.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateExceptionActionDefinition updateValidation(ActionDefinition validation) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
validation - ActionDefinition to createActionDefinition updated{@link - RiceIllegalArgumentException} if the given Validation definition is null{@link - RiceIllegalStateException} if the Validation does not exist in the system under the given validationIdorg.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionorg.kuali.rice.core.api.exception.RiceIllegalStateExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.