org.kuali.rice.kim.framework.responsibility
Interface ResponsibilityTypeService

All Superinterfaces:
KimTypeService
All Known Implementing Classes:
DocumentTypeResponsibilityTypeServiceImpl, KimResponsibilityTypeServiceBase, ReviewResponsibilityTypeServiceImpl

public interface ResponsibilityTypeService
extends KimTypeService

A KimTypeService with specific methods for Responsibilities.


Method Summary
 List<Responsibility> getMatchingResponsibilities(Map<String,String> requestedDetails, List<Responsibility> responsibilities)
          Gets whether a responsibility assignment with the given details is applicable for the given request details.
 
Methods inherited from interface org.kuali.rice.kim.framework.type.KimTypeService
getAttributeDefinitions, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, validateAttributes, validateAttributesAgainstExisting, validateUniqueAttributes, validateUnmodifiableAttributes
 

Method Detail

getMatchingResponsibilities

List<Responsibility> getMatchingResponsibilities(Map<String,String> requestedDetails,
                                                 List<Responsibility> responsibilities)
                                                 throws RiceIllegalArgumentException
Gets whether a responsibility assignment with the given details is applicable for the given request details. For example, the details for a responsibilities (say approve) could be as follows: component = Account field = incomeStreamAccountNumber The Account component is known to belong to the KFS-COA namespace. If this service is requested... component = Account, field = All

Parameters:
requestedDetails - the requested details. cannot be null.
responsibilities - the list of responsibilities to check for matches. cannot be null.
Returns:
an immutable list of matched responsibilities. will not return null.
Throws:
IllegalArgumentException - if the requestedDetails or responsibilities is null.
RiceIllegalArgumentException


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.