org.kuali.kfs.sys.service
Interface BankService

All Known Implementing Classes:
BankServiceImpl

public interface BankService

This service interface defines methods that a BankService implementation must provide.


Method Summary
 Bank getByPrimaryId(String bankCode)
          Retrieves a bank object who's primary id matches the values provided.
 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.
 

Method Detail

getByPrimaryId

Bank getByPrimaryId(String bankCode)
Retrieves a bank object who's primary id matches the values provided.

Parameters:
bankCode - The bank code to be looked up by.
Returns:
A Bank object with a matching primary id.

getDefaultBankByDocType

Bank getDefaultBankByDocType(Class documentClass)
Retrieves the default bank code for the given document type from system parameter. .

Parameters:
documentClass - Class for the document type
Returns:
Bank object retrieved by default bank code

getDefaultBankByDocType

Bank getDefaultBankByDocType(String documentTypeCode)
Retrieves the default bank code for the given document type from system parameter. .

Parameters:
documentTypeCode - the document type code
Returns:
Bank object retrieved by default bank code

isBankSpecificationEnabled

boolean isBankSpecificationEnabled()
Determines if the bank specification is enabled in the system by system parameter.

Returns:
true if specification is enabled


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