public class NegotiationServiceImpl extends Object implements NegotiationService
| Constructor and Description |
|---|
NegotiationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
NegotiationAssociatedDetailBean |
buildNegotiationAssociatedDetailBean(Negotiation negotiation)
This method gets the award, proposal log, institutional proposal or sub award from the negotiation's associated doc ID, and
create a NegotiationAssociatedDetailBean to pass back;
|
void |
checkForPropLogPromotion(Negotiation negotiation)
If the negotiation is linked to a proposal log that has been promoted to a inst prop, then
link the negotiation to the new inst prop.
|
NegotiationUnassociatedDetail |
findAndLoadNegotiationUnassociatedDetail(Negotiation negotiation)
This method fine a NegotiationAssociatedDetail object from the DB and sets it to the passed in negotiation.
|
List<Negotiation> |
getAssociatedNegotiations(org.kuali.rice.krad.bo.BusinessObject bo)
Get any negotiations associated with BO(ProposalLog, Inst Prop, Award, Subaward).
|
protected Collection<Negotiation> |
getAssociatedNegotiations(String associatedId,
String associationTypeCode) |
Negotiable |
getAssociatedObject(Negotiation negotiation)
This method returns the associated Negotiable implemetned BO for the passed in negotiation.
|
AwardBudgetService |
getAwardBudgetService() |
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
List<String> |
getCompletedStatusCodes()
Return the negotiationCompletedStatusCodes as a list of strings.
|
String |
getCompleteStatusCode()
Return the CLOSED_NEGOTIATION_STATUS param.
|
List<String> |
getInProgressStatusCodes()
Return the negotiationInProgressStatusCodes as a list of strings.
|
InstitutionalProposalService |
getInstitutionalProposalService() |
KcPersonService |
getKcPersonService() |
List<NegotiationActivityHistoryLineBean> |
getNegotiationActivityHistoryLineBeans(List<NegotiationActivity> activities) |
NegotiationAssociationType |
getNegotiationAssociationType(String associationTypeCode)
Retrieve the association type BO.
|
List<NegotiationNotification> |
getNegotiationNotifications(Negotiation negotiation) |
NegotiationStatus |
getNegotiationStatus(String statusCode)
Retrieve the status BO.
|
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
UnitAdministratorDerivedRoleTypeServiceImpl |
getUnitAdministratorDerivedRoleTypeServiceImpl() |
VersionHistoryService |
getVersionHistoryService() |
boolean |
isAwardLinkingEnabled()
Can a negotiation be linked to an award?
|
boolean |
isInstitutionalProposalLinkingEnabled()
Can a negotiation be linked to an inst prop?
|
protected boolean |
isNegotaitionAssociationTypeActive(String associationTypeCode)
This method is a helper method for the isXXXLinkingEnabled functions.
|
boolean |
isNoModuleLinkingEnabled()
Can a negotiation be linked to nothing?
|
boolean |
isPersonIsAssociatedPerson(Negotiation negotiation,
String personToCheckPersonId)
This method checks to see if the passed in person id is the PI, CO-PI, or KeyPerson on the associated document.
|
boolean |
isProposalLogLinkingEnabled()
Can a negotiation be linked to a proposal log?
|
boolean |
isSubawardLinkingEnabled()
Can a negotiation be linked to a subaward?
|
void |
promoteProposalLogNegotiation(String proposalLogProposalNumber,
String institutionalProposalProposalNumber)
This method finds the negotiation, if it exists, that is association with the proposal log, and changes it's
association to the institutional proposal.
|
void |
setAwardBudgetService(AwardBudgetService awardBudgetService) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setInstitutionalProposalService(InstitutionalProposalService institutionalProposalService) |
void |
setKcPersonService(KcPersonService kcPersonService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
void |
setUnitAdministratorDerivedRoleTypeServiceImpl(UnitAdministratorDerivedRoleTypeServiceImpl unitAdministratorDerivedRoleTypeServiceImpl) |
void |
setVersionHistoryService(VersionHistoryService versionHistoryService) |
public List<String> getInProgressStatusCodes()
getInProgressStatusCodes in interface NegotiationServiceNegotiationService.getInProgressStatusCodes()public List<String> getCompletedStatusCodes()
getCompletedStatusCodes in interface NegotiationServiceNegotiationService.getCompletedStatusCodes()public String getCompleteStatusCode()
getCompleteStatusCode in interface NegotiationServiceNegotiationService.getCompleteStatusCode()public Negotiable getAssociatedObject(Negotiation negotiation)
NegotiationServicegetAssociatedObject in interface NegotiationServicepublic NegotiationAssociatedDetailBean buildNegotiationAssociatedDetailBean(Negotiation negotiation)
NegotiationServicebuildNegotiationAssociatedDetailBean in interface NegotiationServiceNegotiationService.buildNegotiationAssociatedDetailBean(org.kuali.kra.negotiations.bo.Negotiation)public List<Negotiation> getAssociatedNegotiations(org.kuali.rice.krad.bo.BusinessObject bo)
NegotiationServicegetAssociatedNegotiations in interface NegotiationServiceprotected Collection<Negotiation> getAssociatedNegotiations(String associatedId, String associationTypeCode)
public NegotiationAssociationType getNegotiationAssociationType(String associationTypeCode)
NegotiationServicegetNegotiationAssociationType in interface NegotiationServicepublic NegotiationStatus getNegotiationStatus(String statusCode)
NegotiationServicegetNegotiationStatus in interface NegotiationServicepublic boolean isAwardLinkingEnabled()
NegotiationServiceisAwardLinkingEnabled in interface NegotiationServicepublic boolean isInstitutionalProposalLinkingEnabled()
NegotiationServiceisInstitutionalProposalLinkingEnabled in interface NegotiationServicepublic boolean isNoModuleLinkingEnabled()
NegotiationServiceisNoModuleLinkingEnabled in interface NegotiationServicepublic boolean isProposalLogLinkingEnabled()
NegotiationServiceisProposalLogLinkingEnabled in interface NegotiationServicepublic boolean isSubawardLinkingEnabled()
NegotiationServiceisSubawardLinkingEnabled in interface NegotiationServiceprotected boolean isNegotaitionAssociationTypeActive(String associationTypeCode)
associationTypeCode - public void checkForPropLogPromotion(Negotiation negotiation)
NegotiationServicecheckForPropLogPromotion in interface NegotiationServiceNegotiationService.checkForPropLogPromotion(org.kuali.kra.negotiations.bo.Negotiation)public boolean isPersonIsAssociatedPerson(Negotiation negotiation, String personToCheckPersonId)
NegotiationServiceisPersonIsAssociatedPerson in interface NegotiationServiceNegotiationService.isPersonIsAssociatedPerson(org.kuali.kra.negotiations.bo.Negotiation, java.lang.String)public NegotiationUnassociatedDetail findAndLoadNegotiationUnassociatedDetail(Negotiation negotiation)
NegotiationServicefindAndLoadNegotiationUnassociatedDetail in interface NegotiationServiceorg.kuali.kra.negotiations.service.NegotiationService#findAndLoadNegotiationUnassociatedDetail(org.kuali.kra.negotiations.bo.Negotiation, boolean)public List<NegotiationActivityHistoryLineBean> getNegotiationActivityHistoryLineBeans(List<NegotiationActivity> activities)
getNegotiationActivityHistoryLineBeans in interface NegotiationServiceNegotiationService.getNegotiationActivityHistoryLineBeans(java.util.List)public List<NegotiationNotification> getNegotiationNotifications(Negotiation negotiation)
getNegotiationNotifications in interface NegotiationServicepublic void promoteProposalLogNegotiation(String proposalLogProposalNumber, String institutionalProposalProposalNumber)
NegotiationServicepromoteProposalLogNegotiation in interface NegotiationServiceNegotiationService.promoteProposalLogNegotiation(java.lang.String, java.lang.String)protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public AwardBudgetService getAwardBudgetService()
public void setAwardBudgetService(AwardBudgetService awardBudgetService)
public InstitutionalProposalService getInstitutionalProposalService()
public void setInstitutionalProposalService(InstitutionalProposalService institutionalProposalService)
public UnitAdministratorDerivedRoleTypeServiceImpl getUnitAdministratorDerivedRoleTypeServiceImpl()
public void setUnitAdministratorDerivedRoleTypeServiceImpl(UnitAdministratorDerivedRoleTypeServiceImpl unitAdministratorDerivedRoleTypeServiceImpl)
public KcPersonService getKcPersonService()
public void setKcPersonService(KcPersonService kcPersonService)
public VersionHistoryService getVersionHistoryService()
public void setVersionHistoryService(VersionHistoryService versionHistoryService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.