org.kuali.rice.kew.impl.actionlist
Class ActionListCustomizationMediatorImpl

java.lang.Object
  extended by org.kuali.rice.kew.impl.actionlist.ActionListCustomizationMediatorImpl
All Implemented Interfaces:
ActionListCustomizationMediator

public class ActionListCustomizationMediatorImpl
extends Object
implements ActionListCustomizationMediator

Internal utility class that partitions ActionItems by application id, and calls the appropriate ActionListCustomizationHandlerService for each parition to retrieve any customizations.


Nested Class Summary
static class ActionListCustomizationMediatorImpl.ActionListCustomizationHandlerServiceChooser
          Need this to make our class testable without having to wire the universe up through spring.
 
Constructor Summary
ActionListCustomizationMediatorImpl()
           
 
Method Summary
 ActionListCustomizationMediatorImpl.ActionListCustomizationHandlerServiceChooser getActionListCustomizationHandlerServiceChooser()
           
 Map<String,ActionItemCustomization> getActionListCustomizations(String principalId, List<ActionItem> actionItems)
          partitions ActionItems by application id, and calls the appropriate ActionListCustomizationHandlerService for each parition, merging the results.
 DocumentTypeService getDocumentTypeService()
           
 void setActionListCustomizationHandlerServiceChooser(ActionListCustomizationMediatorImpl.ActionListCustomizationHandlerServiceChooser actionListCustomizationHandlerServiceChooser)
           
 void setDocumentTypeService(DocumentTypeService documentTypeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionListCustomizationMediatorImpl

public ActionListCustomizationMediatorImpl()
Method Detail

getActionListCustomizations

public Map<String,ActionItemCustomization> getActionListCustomizations(String principalId,
                                                                       List<ActionItem> actionItems)
                                                                throws RiceIllegalArgumentException

partitions ActionItems by application id, and calls the appropriate ActionListCustomizationHandlerService for each parition, merging the results.

inherited docs:
Retrieves a Map from ActionItem id to ActionItemCustomization for the ActionItems provided. Any ActionItems that don't have customizations will not have entries in the resulting map.

Specified by:
getActionListCustomizations in interface ActionListCustomizationMediator
Parameters:
principalId - the id of the principal on whose behalf these customizations are being processed
actionItems - the list of Action Items to get customizations for.
Returns:
a Map from ActionItem id to ActionItemCustomization. Any ActionItems that don't have customizations will not have entries in the resulting map.
Throws:
RiceIllegalArgumentException - if the given principalId is a null or blank value

getDocumentTypeService

public DocumentTypeService getDocumentTypeService()

setDocumentTypeService

public void setDocumentTypeService(DocumentTypeService documentTypeService)

getActionListCustomizationHandlerServiceChooser

public ActionListCustomizationMediatorImpl.ActionListCustomizationHandlerServiceChooser getActionListCustomizationHandlerServiceChooser()

setActionListCustomizationHandlerServiceChooser

public void setActionListCustomizationHandlerServiceChooser(ActionListCustomizationMediatorImpl.ActionListCustomizationHandlerServiceChooser actionListCustomizationHandlerServiceChooser)


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