public interface NegotiationService
| 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).
|
Negotiable |
getAssociatedObject(Negotiation negotiation)
This method returns the associated Negotiable implemetned BO for the passed in negotiation.
|
List<String> |
getCompletedStatusCodes()
Get the completed status codes.
|
String |
getCompleteStatusCode()
Get the completed status code.
|
List<String> |
getInProgressStatusCodes()
Get the in-progress status codes.
|
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.
|
boolean |
isAwardLinkingEnabled()
Can a negotiation be linked to an award?
|
boolean |
isInstitutionalProposalLinkingEnabled()
Can a negotiation be linked to an inst prop?
|
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.
|
List<String> getInProgressStatusCodes()
List<String> getCompletedStatusCodes()
String getCompleteStatusCode()
Negotiable getAssociatedObject(Negotiation negotiation)
negotiation - NegotiationAssociatedDetailBean buildNegotiationAssociatedDetailBean(Negotiation negotiation)
negotiation - List<Negotiation> getAssociatedNegotiations(org.kuali.rice.krad.bo.BusinessObject bo)
bo - NegotiationAssociationType getNegotiationAssociationType(String associationTypeCode)
associationTypeCode - NegotiationStatus getNegotiationStatus(String statusCode)
statusCode - boolean isProposalLogLinkingEnabled()
boolean isInstitutionalProposalLinkingEnabled()
boolean isAwardLinkingEnabled()
boolean isSubawardLinkingEnabled()
boolean isNoModuleLinkingEnabled()
void checkForPropLogPromotion(Negotiation negotiation)
boolean isPersonIsAssociatedPerson(Negotiation negotiation, String personToCheckPersonId)
negotiation - personToCheckPersonId - NegotiationUnassociatedDetail findAndLoadNegotiationUnassociatedDetail(Negotiation negotiation)
negotiation - List<NegotiationActivityHistoryLineBean> getNegotiationActivityHistoryLineBeans(List<NegotiationActivity> activities)
List<NegotiationNotification> getNegotiationNotifications(Negotiation negotiation)
void promoteProposalLogNegotiation(String proposalLogProposalNumber, String institutionalProposalProposalNumber)
proposalLogProposalNumber - institutionalProposalProposalNumber - Copyright © 2013 The Kuali Foundation. All Rights Reserved.