@Transactional public class CloseServiceImpl extends Object implements CloseService
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.BusinessObjectService |
businessObjectService |
protected org.kuali.rice.krad.service.DocumentService |
documentService |
Constructor and Description |
---|
CloseServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addDocumentNoteAfterClosing(ProposalAwardCloseDocument close,
String noteText) |
boolean |
close()
Get the max proposal_close_number in cg_prpsl_close_t.
Get the Close with that max_close_number.got
If todays date is the same as the user_initiate_date on that Close, continue.
|
ProposalAwardCloseDocument |
getMaxApprovedClose(Date today)
Gets the persisted instance with the latest close date.
|
ProposalAwardCloseDocument |
getMostRecentClose() |
void |
setAwardDao(AwardDao awardDao) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setCloseDao(CloseDao closeDao) |
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService) |
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService) |
void |
setProposalDao(ProposalDao proposalDao) |
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
protected org.kuali.rice.krad.service.DocumentService documentService
public CloseServiceImpl()
public boolean close()
close
in interface CloseService
CloseService.close()
public ProposalAwardCloseDocument getMostRecentClose()
getMostRecentClose
in interface CloseService
CloseService.getMostRecentClose()
protected boolean addDocumentNoteAfterClosing(ProposalAwardCloseDocument close, String noteText)
org.kuali.ole.module.cg.service.CloseService#addDocumentNoteAfterClosing(String)
public ProposalAwardCloseDocument getMaxApprovedClose(Date today)
CloseService
getMaxApprovedClose
in interface CloseService
CloseService.getMaxApprovedClose(java.sql.Date)
public void setAwardDao(AwardDao awardDao)
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
public void setCloseDao(CloseDao closeDao)
public void setProposalDao(ProposalDao proposalDao)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.