org.kuali.kfs.module.ec.document
Class EffortCertificationDocument

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kns.document.DocumentBase
              extended by org.kuali.rice.kns.document.TransactionalDocumentBase
                  extended by org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
                      extended by org.kuali.kfs.module.ec.document.EffortCertificationDocument
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, FinancialSystemTransactionalDocument, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject, org.kuali.rice.kns.document.Document, org.kuali.rice.kns.document.SessionDocument, org.kuali.rice.kns.document.TransactionalDocument
Direct Known Subclasses:
EffortCertificationDocumentBuild, OutstandingCertificationsByOrganization

public class EffortCertificationDocument
extends FinancialSystemTransactionalDocumentBase

Effort Certification Document Class.

See Also:
Serialized Form

Field Summary
protected static String DO_AWARD_SPLIT
           
protected static String DO_RECREATE_SPLIT
           
protected  List<EffortCertificationDetail> effortCertificationDetailLines
           
protected  boolean effortCertificationDocumentCode
           
protected  EffortCertificationReportDefinition effortCertificationReportDefinition
           
protected  String effortCertificationReportNumber
           
protected  String emplid
           
protected  org.kuali.rice.kim.bo.Person employee
           
protected  org.kuali.rice.kns.util.KualiDecimal financialDocumentTotalAmount
           
protected  org.kuali.rice.kim.bo.Person ledgerPerson
           
protected static org.apache.log4j.Logger LOG
           
protected  SystemOptions options
           
protected  Organization organization
           
protected  String organizationCode
           
protected  List<EffortCertificationDetail> summarizedDetailLines
           
protected  Integer totalEffortPercent
           
protected  Integer totalOriginalEffortPercent
           
protected  org.kuali.rice.kns.util.KualiDecimal totalOriginalPayrollAmount
           
protected  org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount
           
protected  Integer universityFiscalYear
           
 
Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
documentHeader
 
Fields inherited from class org.kuali.rice.kns.document.DocumentBase
documentBusinessObject, documentNumber
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
EffortCertificationDocument()
          Default constructor.
 
Method Summary
 boolean answerSplitNodeQuestion(String nodeName)
          Provides answers to the following splits: Do Award Split Do Recreate Split
 void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
          This is the default implementation which checks for a different workflow statuses, and updates the Kuali status accordingly.
 String getDefaultObjectCode()
          Finds the default object code for display based on the value for the detail line with the maximum effort
 String getDefaultPositionNumber()
          Finds the default position number for display based on the detail line with the maximum effort
 List<EffortCertificationDetail> getDetailLinesForPDRouting()
          Checks system parameter that indicates whether routing to project directors should occur only on lines with federal accounts or all lines.
static org.kuali.rice.kns.util.KualiDecimal getDocumentTotalAmount(EffortCertificationDocument effortCertificationDocument)
          get the total amount of the given effort certification document
 List<EffortCertificationDetail> getEffortCertificationDetailLines()
          Gets the effortCertificationDetailLines attribute.
 List<EffortCertificationDetail> getEffortCertificationDetailWithMaxPayrollAmount()
          find the detail lines that have max payroll amount
 boolean getEffortCertificationDocumentCode()
          Gets the effortCertificationDocumentCode attribute.
 EffortCertificationReportDefinition getEffortCertificationReportDefinition()
          Gets the effortCertificationReportDefinition attribute.
 String getEffortCertificationReportNumber()
          Gets the effortCertificationReportNumber attribute.
 String getEmplid()
          Gets the emplid attribute.
 org.kuali.rice.kim.bo.Person getEmployee()
          Gets the employee attribute.
 Integer getFederalTotalEffortPercent()
          Calculates the total updated effort for all federal detail lines
 org.kuali.rice.kns.util.KualiDecimal getFederalTotalFringeBenefit()
          Calculates the total fringe benefit amount for federal pass through detail lines
 Integer getFederalTotalOriginalEffortPercent()
          Calculates the total original effort for all federal detail lines
 org.kuali.rice.kns.util.KualiDecimal getFederalTotalOriginalFringeBenefit()
          Calculates the total original fringe benefit amount for federal pass through detail lines
 org.kuali.rice.kns.util.KualiDecimal getFederalTotalOriginalPayrollAmount()
          Calculates the total original salary for federal pass through detail lines
 org.kuali.rice.kns.util.KualiDecimal getFederalTotalPayrollAmount()
          Calculates the total salary for federal detail lines
 org.kuali.rice.kim.bo.Person getLedgerPerson()
          Gets the Person
protected  EffortCertificationDetail getMaxEffortLine()
          Finds the detail line with the maximum effort
 List<String> getObjectCodeList()
          Finds the list of unique object codes contained in this document
 SystemOptions getOptions()
          Gets the options attribute.
 Organization getOrganization()
          Gets the organization attribute.
 String getOrganizationCode()
          Gets the organizationCode attribute.
 Integer getOtherTotalEffortPercent()
          Calculates the total updated effort for non federal pass through detail lines
 org.kuali.rice.kns.util.KualiDecimal getOtherTotalFringeBenefit()
          Calculates total fringe benenfit amount for non federal pass through detail lines
 Integer getOtherTotalOriginalEffortPercent()
          Calculates the total original effor for non federal pass through detail lines
 org.kuali.rice.kns.util.KualiDecimal getOtherTotalOriginalFringeBenefit()
          Calculates total original fringe benenfit amount for non federal pass through detail lines
 org.kuali.rice.kns.util.KualiDecimal getOtherTotalOriginalPayrollAmount()
          Calculates the total original salary for non federal pass through detail lines
 org.kuali.rice.kns.util.KualiDecimal getOtherTotalPayrollAmount()
          Calculates total updated salary for non federal pass through detail lines
 List<String> getPositionList()
          Finds the list of unique position numbers for this document
 List<EffortCertificationDetail> getSummarizedDetailLines()
          Gets the summarizedDetailLines attribute.
 Integer getTotalEffortPercent()
          Gets the totalEffortPercent attribute.
 org.kuali.rice.kns.util.KualiDecimal getTotalFringeBenefit()
          Gets the totalFringeBenefit attribute.
 Integer getTotalOriginalEffortPercent()
          Gets the totalOriginalEffortPercent attribute.
 org.kuali.rice.kns.util.KualiDecimal getTotalOriginalFringeBenefit()
          Gets the totalOriginalFringeBenefit attribute.
 org.kuali.rice.kns.util.KualiDecimal getTotalOriginalPayrollAmount()
          Gets the totalOriginalPayrollAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getTotalPayrollAmount()
          Gets the totalPayrollAmount attribute.
 Integer getUniversityFiscalYear()
          Gets the universityFiscalYear attribute.
protected  boolean isDoAwardSplit()
           
protected  boolean isDoRecreateSplit()
           
 boolean isEffortDistributionChanged()
          Checks if the effort has changed for any of the detail lines.
 void populateDocumentForRouting()
           
 void processAfterRetrieve()
          This is the default implementation which ensures that document note attachment references are loaded.
 void setEffortCertificationDetailLines(List<EffortCertificationDetail> effortCertificationDetailLines)
          Deprecated. 
 void setEffortCertificationDocumentCode(boolean effortCertificationDocumentCode)
          Sets the effortCertificationDocumentCode attribute value.
 void setEffortCertificationReportDefinition(EffortCertificationReportDefinition effortCertificationReportDefinition)
          Deprecated. 
 void setEffortCertificationReportNumber(String effortCertificationReportNumber)
          Sets the effortCertificationReportNumber attribute value.
 void setEmplid(String emplid)
          Sets the emplid attribute value.
 void setEmployee(org.kuali.rice.kim.bo.Person employee)
          Sets the employee attribute value.
 void setLedgerPerson(org.kuali.rice.kim.bo.Person ledgerPerson)
          Sets the ledgerPerson
 void setOptions(SystemOptions options)
          Sets the options attribute value.
 void setOrganization(Organization organization)
          Sets the organization attribute value.
 void setOrganizationCode(String organizationCode)
          Sets the organizationCode attribute value.
 void setSummarizedDetailLines(List<EffortCertificationDetail> summarizedDetailLines)
          Sets the summarizedDetailLines attribute value.
 void setTotalOriginalPayrollAmount(org.kuali.rice.kns.util.KualiDecimal totalOriginalPayrollAmount)
          This is a marker setter method and does nothing.
 void setUniversityFiscalYear(Integer universityFiscalYear)
          Sets the universityFiscalYear attribute value.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
getDocumentHeader, prepareForSave, setDocumentHeader, toErrorCorrection
 
Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase
getAllowsCopy, isSessionDocument
 
Methods inherited from class org.kuali.rice.kns.document.DocumentBase
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, postProcessSave, prepareForSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setPessimisticLocks, toCopy, toString, toStringBuilder, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.document.Document
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, postProcessSave, prepareForSave, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG

DO_AWARD_SPLIT

protected static final String DO_AWARD_SPLIT
See Also:
Constant Field Values

DO_RECREATE_SPLIT

protected static final String DO_RECREATE_SPLIT
See Also:
Constant Field Values

effortCertificationReportNumber

protected String effortCertificationReportNumber

effortCertificationDocumentCode

protected boolean effortCertificationDocumentCode

universityFiscalYear

protected Integer universityFiscalYear

emplid

protected String emplid

organizationCode

protected String organizationCode

financialDocumentTotalAmount

protected org.kuali.rice.kns.util.KualiDecimal financialDocumentTotalAmount

totalEffortPercent

protected Integer totalEffortPercent

totalOriginalEffortPercent

protected Integer totalOriginalEffortPercent

totalPayrollAmount

protected org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount

totalOriginalPayrollAmount

protected org.kuali.rice.kns.util.KualiDecimal totalOriginalPayrollAmount

effortCertificationReportDefinition

protected EffortCertificationReportDefinition effortCertificationReportDefinition

employee

protected org.kuali.rice.kim.bo.Person employee

organization

protected Organization organization

options

protected SystemOptions options

effortCertificationDetailLines

protected List<EffortCertificationDetail> effortCertificationDetailLines

summarizedDetailLines

protected List<EffortCertificationDetail> summarizedDetailLines

ledgerPerson

protected org.kuali.rice.kim.bo.Person ledgerPerson
Constructor Detail

EffortCertificationDocument

public EffortCertificationDocument()
Default constructor.

Method Detail

getEffortCertificationReportNumber

public String getEffortCertificationReportNumber()
Gets the effortCertificationReportNumber attribute.

Returns:
Returns the effortCertificationReportNumber.

setEffortCertificationReportNumber

public void setEffortCertificationReportNumber(String effortCertificationReportNumber)
Sets the effortCertificationReportNumber attribute value.

Parameters:
effortCertificationReportNumber - The effortCertificationReportNumber to set.

getEffortCertificationDocumentCode

public boolean getEffortCertificationDocumentCode()
Gets the effortCertificationDocumentCode attribute.

Returns:
Returns the effortCertificationDocumentCode.

setEffortCertificationDocumentCode

public void setEffortCertificationDocumentCode(boolean effortCertificationDocumentCode)
Sets the effortCertificationDocumentCode attribute value.

Parameters:
effortCertificationDocumentCode - The effortCertificationDocumentCode to set.

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Gets the universityFiscalYear attribute.

Returns:
Returns the universityFiscalYear.

setUniversityFiscalYear

public void setUniversityFiscalYear(Integer universityFiscalYear)
Sets the universityFiscalYear attribute value.

Parameters:
universityFiscalYear - The universityFiscalYear to set.

getOrganizationCode

public String getOrganizationCode()
Gets the organizationCode attribute.

Returns:
Returns the organizationCode.

setOrganizationCode

public void setOrganizationCode(String organizationCode)
Sets the organizationCode attribute value.

Parameters:
organizationCode - The organizationCode to set.

getOrganization

public Organization getOrganization()
Gets the organization attribute.

Returns:
Returns the organization.

setOrganization

public void setOrganization(Organization organization)
Sets the organization attribute value.

Parameters:
organization - The organization to set.

getEmplid

public String getEmplid()
Gets the emplid attribute.

Returns:
Returns the emplid.

setEmplid

public void setEmplid(String emplid)
Sets the emplid attribute value.

Parameters:
emplid - The emplid to set.

getEffortCertificationReportDefinition

public EffortCertificationReportDefinition getEffortCertificationReportDefinition()
Gets the effortCertificationReportDefinition attribute.

Returns:
Returns the effortCertificationReportDefinition.

setEffortCertificationReportDefinition

@Deprecated
public void setEffortCertificationReportDefinition(EffortCertificationReportDefinition effortCertificationReportDefinition)
Deprecated. 

Sets the effortCertificationReportDefinition attribute value.

Parameters:
effortCertificationReportDefinition - The effortCertificationReportDefinition to set.

getEmployee

public org.kuali.rice.kim.bo.Person getEmployee()
Gets the employee attribute.

Returns:
Returns the employee.

setEmployee

public void setEmployee(org.kuali.rice.kim.bo.Person employee)
Sets the employee attribute value.

Parameters:
employee - The employee to set.

getLedgerPerson

public org.kuali.rice.kim.bo.Person getLedgerPerson()
Gets the Person

Returns:
Returns the Person

setLedgerPerson

public void setLedgerPerson(org.kuali.rice.kim.bo.Person ledgerPerson)
Sets the ledgerPerson

Parameters:
ledgerPerson - The ledgerPerson to set.

getOptions

public SystemOptions getOptions()
Gets the options attribute.

Returns:
Returns the options.

setOptions

public void setOptions(SystemOptions options)
Sets the options attribute value.

Parameters:
options - The options to set.

getEffortCertificationDetailLines

public List<EffortCertificationDetail> getEffortCertificationDetailLines()
Gets the effortCertificationDetailLines attribute.

Returns:
Returns the effortCertificationDetailLines.

setEffortCertificationDetailLines

@Deprecated
public void setEffortCertificationDetailLines(List<EffortCertificationDetail> effortCertificationDetailLines)
Deprecated. 

Sets the effortCertificationDetailLines attribute value.

Parameters:
effortCertificationDetailLines - The effortCertificationDetailLines to set.

toStringMapper

protected LinkedHashMap toStringMapper()
Overrides:
toStringMapper in class org.kuali.rice.kns.document.DocumentBase
See Also:
BusinessObjectBase.toStringMapper()

getDocumentTotalAmount

public static org.kuali.rice.kns.util.KualiDecimal getDocumentTotalAmount(EffortCertificationDocument effortCertificationDocument)
get the total amount of the given effort certification document

Parameters:
effortCertificationDocument - the given effort certification document
Returns:
the total amount of the given effort certification document

doRouteStatusChange

public void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
Description copied from class: FinancialSystemTransactionalDocumentBase
This is the default implementation which checks for a different workflow statuses, and updates the Kuali status accordingly.

Specified by:
doRouteStatusChange in interface org.kuali.rice.kns.document.Document
Overrides:
doRouteStatusChange in class FinancialSystemTransactionalDocumentBase
See Also:
org.kuali.rice.kns.document.DocumentBase#doRouteStatusChange()

getTotalEffortPercent

public Integer getTotalEffortPercent()
Gets the totalEffortPercent attribute.

Returns:
Returns the totalEffortPercent.

getTotalOriginalEffortPercent

public Integer getTotalOriginalEffortPercent()
Gets the totalOriginalEffortPercent attribute.

Returns:
Returns the totalOriginalEffortPercent.

getTotalPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalPayrollAmount()
Gets the totalPayrollAmount attribute.

Returns:
Returns the totalPayrollAmount.

getTotalOriginalPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalOriginalPayrollAmount()
Gets the totalOriginalPayrollAmount attribute.

Returns:
Returns the totalOriginalPayrollAmount.

getEffortCertificationDetailWithMaxPayrollAmount

public List<EffortCertificationDetail> getEffortCertificationDetailWithMaxPayrollAmount()
find the detail lines that have max payroll amount

Returns:
the detail lines that have max payroll amount

getFederalTotalEffortPercent

public Integer getFederalTotalEffortPercent()
Calculates the total updated effort for all federal detail lines

Returns:
effortFederalTotal

getFederalTotalOriginalEffortPercent

public Integer getFederalTotalOriginalEffortPercent()
Calculates the total original effort for all federal detail lines

Returns:
original federal total

getFederalTotalOriginalFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal getFederalTotalOriginalFringeBenefit()
Calculates the total original fringe benefit amount for federal pass through detail lines

Returns:
total federal benefit amount

getOtherTotalOriginalFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal getOtherTotalOriginalFringeBenefit()
Calculates total original fringe benenfit amount for non federal pass through detail lines

Returns:
total non federal benefit amount

getFederalTotalFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal getFederalTotalFringeBenefit()
Calculates the total fringe benefit amount for federal pass through detail lines

Returns:
total federal benefit amount

getOtherTotalFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal getOtherTotalFringeBenefit()
Calculates total fringe benenfit amount for non federal pass through detail lines

Returns:
total non federal benefit amount

getOtherTotalOriginalEffortPercent

public Integer getOtherTotalOriginalEffortPercent()
Calculates the total original effor for non federal pass through detail lines

Returns:
original other total

getOtherTotalEffortPercent

public Integer getOtherTotalEffortPercent()
Calculates the total updated effort for non federal pass through detail lines

Returns:
effort total for non federal pass through accounts

getFederalTotalPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getFederalTotalPayrollAmount()
Calculates the total salary for federal detail lines

Returns:
total salary

getFederalTotalOriginalPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getFederalTotalOriginalPayrollAmount()
Calculates the total original salary for federal pass through detail lines

Returns:
total salary

getOtherTotalOriginalPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getOtherTotalOriginalPayrollAmount()
Calculates the total original salary for non federal pass through detail lines

Returns:
total original salary

getOtherTotalPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getOtherTotalPayrollAmount()
Calculates total updated salary for non federal pass through detail lines

Returns:
total salary

getTotalFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal getTotalFringeBenefit()
Gets the totalFringeBenefit attribute.

Returns:
Returns the totalFringeBenefit.

getTotalOriginalFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal getTotalOriginalFringeBenefit()
Gets the totalOriginalFringeBenefit attribute.

Returns:
Returns the totalOriginalFringeBenefit.

processAfterRetrieve

public void processAfterRetrieve()
Description copied from class: FinancialSystemTransactionalDocumentBase
This is the default implementation which ensures that document note attachment references are loaded.

Specified by:
processAfterRetrieve in interface org.kuali.rice.kns.document.Document
Overrides:
processAfterRetrieve in class FinancialSystemTransactionalDocumentBase
See Also:
DocumentBase.processAfterRetrieve()

isEffortDistributionChanged

public boolean isEffortDistributionChanged()
Checks if the effort has changed for any of the detail lines.

Returns:
true if effort has changed, false otherwise

getDefaultPositionNumber

public String getDefaultPositionNumber()
Finds the default position number for display based on the detail line with the maximum effort

Returns:
default position number

getDefaultObjectCode

public String getDefaultObjectCode()
Finds the default object code for display based on the value for the detail line with the maximum effort

Returns:
default object code

getMaxEffortLine

protected EffortCertificationDetail getMaxEffortLine()
Finds the detail line with the maximum effort

Returns:
max effort line

populateDocumentForRouting

public void populateDocumentForRouting()
Specified by:
populateDocumentForRouting in interface org.kuali.rice.kns.document.Document
Overrides:
populateDocumentForRouting in class org.kuali.rice.kns.document.DocumentBase
See Also:
DocumentBase.populateDocumentForRouting()

getObjectCodeList

public List<String> getObjectCodeList()
Finds the list of unique object codes contained in this document

Returns:
list of unique object codes

getPositionList

public List<String> getPositionList()
Finds the list of unique position numbers for this document

Returns:
list of unique position numbers

setTotalOriginalPayrollAmount

public void setTotalOriginalPayrollAmount(org.kuali.rice.kns.util.KualiDecimal totalOriginalPayrollAmount)
This is a marker setter method and does nothing.


getSummarizedDetailLines

public List<EffortCertificationDetail> getSummarizedDetailLines()
Gets the summarizedDetailLines attribute.

Returns:
Returns the summarizedDetailLines.

setSummarizedDetailLines

public void setSummarizedDetailLines(List<EffortCertificationDetail> summarizedDetailLines)
Sets the summarizedDetailLines attribute value.

Parameters:
summarizedDetailLines - The summarizedDetailLines to set.

answerSplitNodeQuestion

public boolean answerSplitNodeQuestion(String nodeName)
                                throws UnsupportedOperationException
Provides answers to the following splits: Do Award Split Do Recreate Split

Specified by:
answerSplitNodeQuestion in interface FinancialSystemTransactionalDocument
Overrides:
answerSplitNodeQuestion in class FinancialSystemTransactionalDocumentBase
Throws:
UnsupportedOperationException
See Also:
FinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(java.lang.String)

getDetailLinesForPDRouting

public List<EffortCertificationDetail> getDetailLinesForPDRouting()
Checks system parameter that indicates whether routing to project directors should occur only on lines with federal accounts or all lines.

Returns:
detail lines with federal accounts if parameter is true, otherwise all detail lines

isDoAwardSplit

protected boolean isDoAwardSplit()
Returns:
boolean value

isDoRecreateSplit

protected boolean isDoRecreateSplit()
Returns:
boolean value


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