public class ValidationActionTypeServiceImpl extends KrmsTypeServiceBase implements ValidationActionTypeService
ValidationActionTypeService implementationorg.kuali.rice.kns.datadictionary.validation.AttributeValidatingTypeServiceBase.TypeAttributeDefinition, org.kuali.rice.kns.datadictionary.validation.AttributeValidatingTypeServiceBase.TypeAttributeValidationExceptionVALIDATIONS_ACTION_ATTRIBUTE, VALIDATIONS_ACTION_MESSAGE_ATTRIBUTE, VALIDATIONS_ACTION_TYPE_CODE_ATTRIBUTE| Modifier and Type | Method and Description |
|---|---|
List<org.kuali.rice.core.api.uif.RemotableAttributeField> |
getAttributeFields(String krmsTypeId)
get the
RemotableAttributeFields for the custom attributes of this krms type. |
static ActionTypeService |
getInstance()
Factory method for getting a
ActionTypeService |
Action |
loadAction(ActionDefinition validationActionDefinition) |
void |
setValidationService(ValidationActionService mockValidationService) |
getDataDictionaryRemoteFieldService, getTypeAttributeDefinitions, sortFields, translateTypeAttribute, validateAttributes, validateAttributesAgainstExisting, validateNonDataDictionaryAttributecreateErrorString, extractErrorsFromGlobalVariablesErrorMap, getAttributeErrorLabel, getAttributeFormatter, getAttributeValidatingExpression, getConfigurationService, getDataDictionaryService, getDictionaryValidationService, validateAttributeFormat, validateAttributeRequired, validateDataDictionaryAttribute, validatePrimitiveAttributeFromDescriptor, validateReferencesExistAndActiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateAttributes, validateAttributesAgainstExistingpublic static ActionTypeService getInstance()
ActionTypeServiceActionTypeServicepublic Action loadAction(ActionDefinition validationActionDefinition)
loadAction in interface ActionTypeServiceloadAction in interface ValidationActionTypeServicepublic List<org.kuali.rice.core.api.uif.RemotableAttributeField> getAttributeFields(String krmsTypeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
KrmsTypeServiceBaseget the RemotableAttributeFields for the custom attributes of this krms type. This implementation
will (by default) return any attributes mapped to the type via
KrmsTypeAttributeBo. If there is is a component name defined on the
related KrmsAttributeDefinitionBo then that will be used to generate
the RemotableAttributeField. If not, then a simple text input will be produced.
An extending class can also override the
KrmsTypeServiceBase.translateTypeAttribute(org.kuali.rice.krms.api.repository.type.KrmsTypeAttribute,
org.kuali.rice.krms.api.repository.type.KrmsAttributeDefinition)
method which is called from here, and within it hand create the RemotableAttributeField for a certain attribute.
Also handy for extenders to know, this method delegates to KrmsTypeServiceBase.getTypeAttributeDefinitions(String) and
then pulls out the RemotableAttributeFields from the returned TypeAttributeDefinitions
getAttributeFields in interface RemotableAttributeOwnergetAttributeFields in class KrmsTypeServiceBasekrmsTypeId - the people flow type identifier. Must not be null or blank.org.kuali.rice.core.api.exception.RiceIllegalArgumentException - if krmsType is null (krmsTypeId lookup returns null)public void setValidationService(ValidationActionService mockValidationService)
setValidationService in interface ValidationActionTypeServiceCopyright © 2005–2016 The Kuali Foundation. All rights reserved.