/** * Determine whether this Proposal Log is a candidate to be merged with another Proposal Log. * * @return boolean */ public boolean isMergeCandidate() { return ProposalLogUtils.getProposalLogTemporaryTypeCode().equals(this.getProposalLogTypeCode()) && !ProposalLogUtils.getProposalLogMergedStatusCode().equals(this.getLogStatus()); }
/** * Determine whether this Proposal Log has been promoted to an Institutional Proposal. * * @return boolean */ public boolean isSubmitted() { return ProposalLogUtils.getProposalLogSubmittedStatusCode().equals(this.getLogStatus()); }
/** * Determine whether this Proposal Log has a proposal log type of Temporary. * * @return boolean */ public boolean isLogTypeTemporary() { return ProposalLogUtils.getProposalLogTemporaryTypeCode().equals(this.getProposalLogTypeCode()); }