public interface AccountPersistenceStructureService extends org.kuali.rice.krad.service.PersistenceStructureService
Modifier and Type | Method and Description |
---|---|
String |
getAccountNumberName(org.kuali.rice.krad.bo.PersistableBusinessObject bo,
String chartOfAccountsCodeFieldName)
Gets the name of the accountNumber field as one foreign key, paired with the specified chartOfAccountsCode field
as the other, of the reference account (or other account-involved BO) contained within the specified parent object.
|
String |
getChartOfAccountsCodeName(org.kuali.rice.krad.bo.PersistableBusinessObject bo,
String accountNumberFieldName)
Gets the name of the chartOfAccountsCode field as one foreign key, paired with the specified accountNumber field
as the other, of the reference account (or other account-involved BO) contained within the specified parent object.
|
boolean |
isAccountRelatedClass(Class clazz)
Decides if the specified class is an account related class, i.e.
|
Map<String,String> |
listAccountNumberChartCodePairs(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Determines the list of accountNumber-chartOfAccountsCode pairs as (part of) the foreign keys of the reference accounts
(or other account-involved BOs) contained within the specified parent object.
|
Set<String> |
listAccountNumberNames(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Determines the list of accountNumber fields as one of the foreign keys of the reference accounts
(or other account-involved BOs) contained within the specified parent object.
|
Map<String,String> |
listChartCodeAccountNumberPairs(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Determines the list of chartOfAccountsCode-accountNumber pairs as (part of) the foreign keys of the reference accounts
(or other account-involved BOs) contained within the specified parent object.
|
Set<String> |
listChartOfAccountsCodeNames(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Determines the list of chartOfAccountsCode fields as one of the foreign keys of the reference accounts
(or other account-involved BOs) contained within the specified parent object.
|
Map<String,Class> |
listCollectionAccountFields(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Determines the list of collection accounts (or other account-involved BOs) contained within the specified parent object.
|
Set<String> |
listCollectionChartOfAccountsCodeNames(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Determines the list of chartOfAccountsCode fields as one of the primary keys in the collection accounts
(or other account-involved BOs) contained within the specified parent object.
|
Map<String,Class> |
listReferenceAccountFields(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Determines the list of reference accounts (or other account-involved BOs) contained within the specified parent object.
|
clearPrimaryKeyFields, getBusinessObjectAttributeClass, getForeignKeyFieldName, getForeignKeyFieldsPopulationState, getForeignKeysForReference, getInverseForeignKeysForCollection, getNestedForeignKeyMap, getPrimaryKeys, getReferencesForForeignKey, getRelationshipMetadata, getRelationshipMetadata, getTableName, hasCollection, hasPrimaryKeyFieldValues, hasReference, isCollectionUpdatable, isPersistable, isReferenceUpdatable, listCollectionObjectTypes, listCollectionObjectTypes, listFieldNames, listPersistableSubclasses, listPrimaryKeyFieldNames, listReferenceObjectFields, listReferenceObjectFields
boolean isAccountRelatedClass(Class clazz)
clazz
- the specified classMap<String,Class> listCollectionAccountFields(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for collection accounts.Set<String> listCollectionChartOfAccountsCodeNames(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for collection accounts.Map<String,Class> listReferenceAccountFields(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.Map<String,String> listChartCodeAccountNumberPairs(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.Map<String,String> listAccountNumberChartCodePairs(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.Set<String> listChartOfAccountsCodeNames(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.Set<String> listAccountNumberNames(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.String getChartOfAccountsCodeName(org.kuali.rice.krad.bo.PersistableBusinessObject bo, String accountNumberFieldName)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.accountNumberFieldName
- the name of the foreign key corresponding to the primary key accountNumber of the reference account.String getAccountNumberName(org.kuali.rice.krad.bo.PersistableBusinessObject bo, String chartOfAccountsCodeFieldName)
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.chartOfAccountsCodeFieldName
- the name of the foreign key corresponding to the primary key chartOfAccountsCode of the reference account.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.