Package org.kuali.rice.krad.workflow
Class DataDictionaryPeopleFlowTypeServiceImpl
java.lang.Object
org.kuali.rice.krad.workflow.DataDictionaryPeopleFlowTypeServiceImpl
- All Implemented Interfaces:
PeopleFlowTypeService
public class DataDictionaryPeopleFlowTypeServiceImpl
extends Object
implements PeopleFlowTypeService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RemotableAttributeFieldbuildRemotableFieldWithoutDataDictionary(org.kuali.rice.kew.api.repository.type.KewAttributeDefinition attributeDefinition) Builds aRemotableAttributeFieldinstance when there is no component configured (and therefore we can not lookup the data dictionary)filterToSelectableRoleIds(String kewTypeId, List<String> roleIds) getAttributeFields(String kewTypeId) resolveMultipleRoleQualifiers(String kewTypeId, String roleId, org.kuali.rice.kew.api.document.Document document, org.kuali.rice.kew.api.document.DocumentContent documentContent) Allows for more than one set of qualifiers to be returned for the purpose of matching.resolveRoleQualifiers(String kewTypeId, String roleId, org.kuali.rice.kew.api.document.Document document, org.kuali.rice.kew.api.document.DocumentContent documentContent) validateAttributes(String kewTypeId, Map<String, String> attributes)
-
Constructor Details
-
DataDictionaryPeopleFlowTypeServiceImpl
public DataDictionaryPeopleFlowTypeServiceImpl()
-
-
Method Details
-
filterToSelectableRoleIds
- Specified by:
filterToSelectableRoleIdsin interfacePeopleFlowTypeService
-
resolveRoleQualifiers
public Map<String,String> resolveRoleQualifiers(String kewTypeId, String roleId, org.kuali.rice.kew.api.document.Document document, org.kuali.rice.kew.api.document.DocumentContent documentContent) - Specified by:
resolveRoleQualifiersin interfacePeopleFlowTypeService
-
resolveMultipleRoleQualifiers
public List<Map<String,String>> resolveMultipleRoleQualifiers(String kewTypeId, String roleId, org.kuali.rice.kew.api.document.Document document, org.kuali.rice.kew.api.document.DocumentContent documentContent) Allows for more than one set of qualifiers to be returned for the purpose of matching.- Specified by:
resolveMultipleRoleQualifiersin interfacePeopleFlowTypeService- Parameters:
kewTypeId- the people flow type identifier. Must not be null or blank.roleId- the role that the qualifiers are specific to. Must not be null or blank.document- the document that the qualifiers are being resolved against. Must not be null.documentContent- the contents for the document that the qualifiers are being resolved against. Must not be null.- Returns:
- Listinvalid input: '<'Mapinvalid input: '<'String, String>>
-
getAttributeFields
- Specified by:
getAttributeFieldsin interfacePeopleFlowTypeService- See Also:
-
buildRemotableFieldWithoutDataDictionary
protected RemotableAttributeField buildRemotableFieldWithoutDataDictionary(org.kuali.rice.kew.api.repository.type.KewAttributeDefinition attributeDefinition) Builds aRemotableAttributeFieldinstance when there is no component configured (and therefore we can not lookup the data dictionary)Very basic field, should have labels configured and defaults to using text control
- Parameters:
attributeDefinition- - KEW attribute definition configured from which the name, label, and description will be pulled- Returns:
- RemotableAttributeField instance built from the given KEW attribute definition
-
validateAttributes
public List<RemotableAttributeError> validateAttributes(String kewTypeId, Map<String, String> attributes) throws RiceIllegalArgumentException- Specified by:
validateAttributesin interfacePeopleFlowTypeService- Throws:
RiceIllegalArgumentException
-
validateAttributesAgainstExisting
public List<RemotableAttributeError> validateAttributesAgainstExisting(String kewTypeId, Map<String, String> newAttributes, Map<String, throws RiceIllegalArgumentExceptionString> oldAttributes) - Specified by:
validateAttributesAgainstExistingin interfacePeopleFlowTypeService- Throws:
RiceIllegalArgumentException
-
getDataDictionaryRemoteFieldService
-