org.kuali.rice.krad.service.impl
Class DocumentAdHocServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.DocumentAdHocServiceImpl
All Implemented Interfaces:
DocumentAdHocService

public class DocumentAdHocServiceImpl
extends Object
implements DocumentAdHocService

Implementation for DocumentAdHocService

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

Field Summary
protected  DataObjectService dataObjectService
           
 
Constructor Summary
DocumentAdHocServiceImpl()
           
 
Method Summary
 void addAdHocs(Document document)
          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.
 void setDataObjectService(DataObjectService dataObjectService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataObjectService

protected DataObjectService dataObjectService
Constructor Detail

DocumentAdHocServiceImpl

public DocumentAdHocServiceImpl()
Method Detail

replaceAdHocsForDocument

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

Specified by:
replaceAdHocsForDocument in interface DocumentAdHocService
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.

addAdHocs

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

Specified by:
addAdHocs in interface DocumentAdHocService

setDataObjectService

public void setDataObjectService(DataObjectService dataObjectService)


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