|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.external.kc.service.impl.BudgetAdjustmentServiceImpl
public class BudgetAdjustmentServiceImpl
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
|
Constructor Summary | |
---|---|
BudgetAdjustmentServiceImpl()
|
Method Summary | |
---|---|
protected boolean |
checkforEmptyField(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO,
String fieldName,
String value,
int lineNumber)
|
protected org.kuali.rice.kns.document.Document |
createBADocument(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO)
This method will use the DocumentService to create a new document. |
BudgetAdjustmentCreationStatusDTO |
createBudgetAdjustment(BudgetAdjustmentParametersDTO budgetAdjustmentParameters)
This is the web service method that facilitates budget adjustment 1. |
protected BudgetAdjustmentDocument |
createBudgetAdjustmentObject(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatus)
This method creates an account to be used for automatic maintenance document |
protected BudgetAdjustmentSourceAccountingLine |
createBudgetAdjustmentSourceAccountingLine(BudgetAdjustmentParametersDTO.Details detail,
Integer postingYear)
|
protected BudgetAdjustmentTargetAccountingLine |
createBudgetAdjustmentTargetAccountingLine(BudgetAdjustmentParametersDTO.Details detail,
Integer postingYear)
|
protected boolean |
generateIncomeAccountingLine(Integer postingYear,
String sponsorType,
BudgetAdjustmentDocument baDoc,
org.kuali.rice.kns.util.KualiDecimal amount)
|
protected org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute. |
protected org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
|
protected org.kuali.rice.kns.service.DocumentService |
getDocumentService()
Gets the documentService attribute. |
protected org.kuali.rice.kns.service.ParameterService |
getParameterService()
Gets the parameterService attribute. |
protected boolean |
isValidParameters(Integer postingFiscalYear,
BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO,
BudgetAdjustmentParametersDTO budgetAdjustmentParameters)
|
protected boolean |
isValidUser(String principalId)
This method check to see if the user can create the account maintenance document and set the user session |
protected void |
populateAccountingLine(BudgetAdjustmentAccountingLine acctLine,
Integer postingYear,
String chart,
String accountNumber,
String proj,
String objCode,
org.kuali.rice.kns.util.KualiDecimal currentBudgetAdjustmentAmount)
|
protected boolean |
populateBudgetAdjustmentDocDetails(BudgetAdjustmentParametersDTO parameters,
BudgetAdjustmentDocument budgetAdjustmentDocument,
BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatus)
|
protected boolean |
routeBudgetAdjustmentDocument(BudgetAdjustmentDocument budgetAdjustmentDocument,
BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatus)
This method processes the workflow document actions like save, route and blanket approve depending on the ACCOUNT_AUTO_CREATE_ROUTE system parameter value. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
|
void |
setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
Sets the documentService attribute value. |
protected void |
setFailStatus(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO,
String message)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
Constructor Detail |
---|
public BudgetAdjustmentServiceImpl()
Method Detail |
---|
public BudgetAdjustmentCreationStatusDTO createBudgetAdjustment(BudgetAdjustmentParametersDTO budgetAdjustmentParameters)
createBudgetAdjustment
in interface BudgetAdjustmentService
BudgetAdjustmentParametersDTO
-
protected boolean checkforEmptyField(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO, String fieldName, String value, int lineNumber)
protected void setFailStatus(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO, String message)
protected boolean isValidParameters(Integer postingFiscalYear, BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO, BudgetAdjustmentParametersDTO budgetAdjustmentParameters)
protected BudgetAdjustmentDocument createBudgetAdjustmentObject(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatus)
AccountParametersDTO
-
protected boolean populateBudgetAdjustmentDocDetails(BudgetAdjustmentParametersDTO parameters, BudgetAdjustmentDocument budgetAdjustmentDocument, BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatus)
protected void populateAccountingLine(BudgetAdjustmentAccountingLine acctLine, Integer postingYear, String chart, String accountNumber, String proj, String objCode, org.kuali.rice.kns.util.KualiDecimal currentBudgetAdjustmentAmount)
protected BudgetAdjustmentSourceAccountingLine createBudgetAdjustmentSourceAccountingLine(BudgetAdjustmentParametersDTO.Details detail, Integer postingYear)
protected BudgetAdjustmentTargetAccountingLine createBudgetAdjustmentTargetAccountingLine(BudgetAdjustmentParametersDTO.Details detail, Integer postingYear)
protected boolean generateIncomeAccountingLine(Integer postingYear, String sponsorType, BudgetAdjustmentDocument baDoc, org.kuali.rice.kns.util.KualiDecimal amount)
protected org.kuali.rice.kns.document.Document createBADocument(BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatusDTO)
AccountCreationStatusDTO
-
protected boolean routeBudgetAdjustmentDocument(BudgetAdjustmentDocument budgetAdjustmentDocument, BudgetAdjustmentCreationStatusDTO budgetAdjustmentCreationStatus)
maintenanceAccountDocument,
- errorMessages
protected boolean isValidUser(String principalId)
String
- principalId
protected org.kuali.rice.kns.service.DocumentService getDocumentService()
public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
documentService
- protected org.kuali.rice.kns.service.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The parameterService to set.protected org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |