Package org.kuali.rice.krad.workflow
Class DataDictionaryPeopleFlowTypeServiceImpl
java.lang.Object
org.kuali.rice.krad.workflow.DataDictionaryPeopleFlowTypeServiceImpl
- All Implemented Interfaces:
org.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService
public class DataDictionaryPeopleFlowTypeServiceImpl
extends Object
implements org.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.kuali.rice.core.api.uif.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) List<org.kuali.rice.core.api.uif.RemotableAttributeField> 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) List<org.kuali.rice.core.api.uif.RemotableAttributeError> validateAttributes(String kewTypeId, Map<String, String> attributes) List<org.kuali.rice.core.api.uif.RemotableAttributeError>
-
Constructor Details
-
DataDictionaryPeopleFlowTypeServiceImpl
public DataDictionaryPeopleFlowTypeServiceImpl()
-
-
Method Details
-
filterToSelectableRoleIds
- Specified by:
filterToSelectableRoleIdsin interfaceorg.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService
-
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 interfaceorg.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService
-
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 interfaceorg.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService- 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
public List<org.kuali.rice.core.api.uif.RemotableAttributeField> getAttributeFields(String kewTypeId) - Specified by:
getAttributeFieldsin interfaceorg.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService- See Also:
-
buildRemotableFieldWithoutDataDictionary
protected org.kuali.rice.core.api.uif.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<org.kuali.rice.core.api.uif.RemotableAttributeError> validateAttributes(String kewTypeId, Map<String, String> attributes) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException- Specified by:
validateAttributesin interfaceorg.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
validateAttributesAgainstExisting
public List<org.kuali.rice.core.api.uif.RemotableAttributeError> validateAttributesAgainstExisting(String kewTypeId, Map<String, String> newAttributes, Map<String, throws org.kuali.rice.core.api.exception.RiceIllegalArgumentExceptionString> oldAttributes) - Specified by:
validateAttributesAgainstExistingin interfaceorg.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
getDataDictionaryRemoteFieldService
-