public abstract class AccountCreationClientBase extends Object implements AccountCreationClient
| Modifier and Type | Field and Description |
|---|---|
protected static QName |
SERVICE_NAME |
protected static String |
SOAP_SERVICE_NAME |
| Constructor and Description |
|---|
AccountCreationClientBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
createAwardAccount(Award award)
This method calls the web service on KFS to create a C&G account.
|
protected AccountParametersDTO |
getAccountParameters(Award award)
This method sets the necessary values in the AccountParametersDTO object to be sent
across to the financial service.
|
protected String |
getIndirectCostTypeCode(String rateClassCode,
String rateTypeCode) |
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
protected abstract AccountCreationService |
getServiceHandle() |
String |
isValidAccountNumber(String accountNumber)
This method checks if the financial account number is valid.
|
String |
isValidChartAccount(String chartOfAccountsCode,
String accountNumber)
This method checks if the combination of account number and chart is valid.
|
protected void |
setAdminAddress(Award award,
AccountParametersDTO accountParameters)
This method sets the admin address.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
protected void |
setDefaultAddress(Award award,
AccountParametersDTO accountParameters)
This method sets the default address.
|
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
Sets the documentService attribute value.
|
protected void |
setIncomeGuidelineText(Award award,
AccountParametersDTO accountParameters)
This method sets the income guideline text.
|
protected void |
setName(Award award,
AccountParametersDTO accountParameters)
This method sets the name.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
protected static final String SOAP_SERVICE_NAME
protected static final QName SERVICE_NAME
protected abstract AccountCreationService getServiceHandle()
public String isValidAccountNumber(String accountNumber)
AccountCreationClientisValidAccountNumber in interface AccountCreationClientAccountCreationClient.isValidAccountNumber(java.lang.String)public String isValidChartAccount(String chartOfAccountsCode, String accountNumber)
AccountCreationClientisValidChartAccount in interface AccountCreationClientAccountCreationClient.isValidChartAccount(java.lang.String, java.lang.String)public void createAwardAccount(Award award) throws DatatypeConfigurationException, org.kuali.rice.kew.api.exception.WorkflowException
createAwardAccount in interface AccountCreationClientDatatypeConfigurationExceptionorg.kuali.rice.kew.api.exception.WorkflowExceptionAccountCreationClient.createAwardAccount(org.kuali.kra.award.home.Award)protected AccountParametersDTO getAccountParameters(Award award) throws DatatypeConfigurationException
award - DatatypeConfigurationExceptionprotected String getIndirectCostTypeCode(String rateClassCode, String rateTypeCode)
protected void setName(Award award, AccountParametersDTO accountParameters)
award - protected void setDefaultAddress(Award award, AccountParametersDTO accountParameters)
award - protected void setAdminAddress(Award award, AccountParametersDTO accountParameters)
award - protected void setIncomeGuidelineText(Award award, AccountParametersDTO accountParameters)
award - public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
setDocumentService in interface AccountCreationClientdocumentService - The documentService to set.public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
setBusinessObjectService in interface AccountCreationClientpublic org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
setParameterService in interface AccountCreationClientCopyright © 2013 The Kuali Foundation. All Rights Reserved.