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 Details

    • DataDictionaryPeopleFlowTypeServiceImpl

      public DataDictionaryPeopleFlowTypeServiceImpl()
  • Method Details

    • filterToSelectableRoleIds

      public List<String> filterToSelectableRoleIds(String kewTypeId, List<String> roleIds)
      Specified by:
      filterToSelectableRoleIds in interface org.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:
      resolveRoleQualifiers in interface org.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:
      resolveMultipleRoleQualifiers in interface org.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:
      getAttributeFields in interface org.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService
      See Also:
      • PeopleFlowTypeService.getAttributeFields(java.lang.String)
    • buildRemotableFieldWithoutDataDictionary

      protected org.kuali.rice.core.api.uif.RemotableAttributeField buildRemotableFieldWithoutDataDictionary(org.kuali.rice.kew.api.repository.type.KewAttributeDefinition attributeDefinition)
      Builds a RemotableAttributeField instance 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:
      validateAttributes in interface org.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,String> oldAttributes) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      validateAttributesAgainstExisting in interface org.kuali.rice.kew.framework.peopleflow.PeopleFlowTypeService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • getDataDictionaryRemoteFieldService

      public DataDictionaryRemoteFieldService getDataDictionaryRemoteFieldService()