org.kuali.rice.krad.service
Interface DocumentAdHocService

All Known Implementing Classes:
DocumentAdHocServiceImpl

public interface DocumentAdHocService

This service populates Documents with AdHocRoutePersons and AdHocRouteWorkgroups

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 void addAdHocs(Document doc)
          This method populates the given Document with the AdHocRoutePersons and AdHocRouteWorkgroups that are associated with it.
 void replaceAdHocsForDocument(String documentNumber, List<AdHocRouteRecipient> adHocRoutingRecipients)
          This method replaces the current ad-hoc recipients for a given document with the provided list.
 

Method Detail

addAdHocs

void addAdHocs(Document doc)
This method populates the given Document with the AdHocRoutePersons and AdHocRouteWorkgroups that are associated with it.

Parameters:
doc -

replaceAdHocsForDocument

void replaceAdHocsForDocument(String documentNumber,
                              List<AdHocRouteRecipient> adHocRoutingRecipients)
This method replaces the current ad-hoc recipients for a given document with the provided list.

Parameters:
documentNumber - Document Number to which to attach the route log recipients. All existing stored ad-hoc recipients will be deleted.
adHocRoutingRecipients - New list of ad-hoc recipients (Persons and Workgroups) which will be attached to the document.


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.