public interface BankService
Modifier and Type | Field and Description |
---|---|
static String[] |
PERMANENT_BANK_SPECIFICATION_ENABLED_DOCUMENT_TYPES |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isBankSpecificationEnabledForDocument(Class<?> documentClass)
Determines if the bank specification is enabled for the given document by a) the document being one of the permanent
bank code documents (AD's, CMD's, and ND's) or by the document being listed in the KFS-SYS / Bank / BANK_CODE_DOCUMENT_TYPES parameter
|
static final String[] PERMANENT_BANK_SPECIFICATION_ENABLED_DOCUMENT_TYPES
Bank getByPrimaryId(String bankCode)
bankCode
- The bank code to be looked up by.Bank getDefaultBankByDocType(Class<?> documentClass)
documentClass
- Class
for the document typeBank
object retrieved by default bank codeBank getDefaultBankByDocType(String documentTypeCode)
documentTypeCode
- the document type codeBank
object retrieved by default bank codeboolean isBankSpecificationEnabled()
boolean isBankSpecificationEnabledForDocument(Class<?> documentClass)
documentClass
- the class of the document to determine if it has bank specifications enabledCopyright © 2004–2015 The Kuali Foundation. All rights reserved.