org.kuali.kfs.sys.service.impl
Class BankServiceImpl

java.lang.Object
  extended by org.kuali.kfs.sys.service.impl.BankServiceImpl
All Implemented Interfaces:
BankService

public class BankServiceImpl
extends Object
implements BankService

Default implementation of the BankService interface.

See Also:
org.kuali.kfs.fp.service.BankService

Constructor Summary
BankServiceImpl()
           
 
Method Summary
 Bank getByPrimaryId(String bankCode)
          Retrieves a bank object who's primary id matches the values provided.
 org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
          Gets the dataDictionaryService attribute.
 Bank getDefaultBankByDocType(Class documentClass)
          Retrieves the default bank code for the given document type from system parameter.
 Bank getDefaultBankByDocType(String documentTypeCode)
          Retrieves the default bank code for the given document type from system parameter.
 boolean isBankSpecificationEnabled()
          Determines if the bank specification is enabled in the system by system parameter.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
          Sets the dataDictionaryService attribute value.
 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
 

Constructor Detail

BankServiceImpl

public BankServiceImpl()
Method Detail

getByPrimaryId

public Bank getByPrimaryId(String bankCode)
Description copied from interface: BankService
Retrieves a bank object who's primary id matches the values provided.

Specified by:
getByPrimaryId in interface BankService
Parameters:
bankCode - The bank code to be looked up by.
Returns:
A Bank object with a matching primary id.
See Also:
org.kuali.kfs.fp.service.BankService#getByPrimaryId(java.lang.String)

getDefaultBankByDocType

public Bank getDefaultBankByDocType(String documentTypeCode)
Description copied from interface: BankService
Retrieves the default bank code for the given document type from system parameter. .

Specified by:
getDefaultBankByDocType in interface BankService
Parameters:
documentTypeCode - the document type code
Returns:
Bank object retrieved by default bank code
See Also:
BankService.getDefaultBankByDocType(java.lang.String)

getDefaultBankByDocType

public Bank getDefaultBankByDocType(Class documentClass)
Description copied from interface: BankService
Retrieves the default bank code for the given document type from system parameter. .

Specified by:
getDefaultBankByDocType in interface BankService
Parameters:
documentClass - Class for the document type
Returns:
Bank object retrieved by default bank code
See Also:
BankService.getDefaultBankByDocType(java.lang.Class)

isBankSpecificationEnabled

public boolean isBankSpecificationEnabled()
Description copied from interface: BankService
Determines if the bank specification is enabled in the system by system parameter.

Specified by:
isBankSpecificationEnabled in interface BankService
Returns:
true if specification is enabled
See Also:
BankService.isBankSpecificationEnabled()

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.

Parameters:
businessObjectService - The businessObjectService to set.

getDataDictionaryService

public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
Gets the dataDictionaryService attribute.

Returns:
Returns the dataDictionaryService.

setDataDictionaryService

public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value.

Parameters:
dataDictionaryService - The dataDictionaryService to set.

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value.

Parameters:
parameterService - The parameterService to set.


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