|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.service.impl.PersistenceServiceStructureImplBase
org.kuali.rice.kns.service.impl.PersistenceServiceImplBase
org.kuali.rice.kns.service.impl.PersistenceStructureServiceImpl
org.kuali.kfs.coa.service.impl.AccountPersistenceStructureServiceImpl
public class AccountPersistenceStructureServiceImpl
Field Summary |
---|
Fields inherited from class org.kuali.rice.kns.service.impl.PersistenceStructureServiceImpl |
---|
referenceConversionMap |
Constructor Summary | |
---|---|
AccountPersistenceStructureServiceImpl()
|
Method Summary | |
---|---|
String |
getAccountNumberName(org.kuali.rice.kns.bo.PersistableBusinessObject bo,
String chartOfAccountsCodeName)
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.kns.bo.PersistableBusinessObject bo,
String accountNumberName)
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.kns.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.kns.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.kns.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.kns.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.kns.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.kns.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.kns.bo.PersistableBusinessObject bo)
Determines the list of reference accounts (or other account-involved BOs) contained within the specified parent object. |
Map<String,Class> |
listReferenceObjectFields(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
Need to stop this method from running for objects which are not bound into the ORM layer (OJB), for ex. |
void |
setMaintenanceDocumentDictionaryService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService)
|
Methods inherited from class org.kuali.rice.kns.service.impl.PersistenceStructureServiceImpl |
---|
clearPrimaryKeyFields, getForeignKeyFieldName, getForeignKeyFieldsPopulationState, getForeignKeysForReference, getInverseForeignKeysForCollection, getNestedForeignKeyMap, getPrimaryKeys, getReferencesForForeignKey, getRelationshipMetadata, getRelationshipMetadata, getTableName, hasCollection, hasPrimaryKeyFieldValues, hasReference, isCollectionUpdatable, isPersistable, isReferenceUpdatable, listCollectionObjectTypes, listCollectionObjectTypes, listFieldNames, listPersistableSubclasses, listReferenceObjectFields, setPersistenceStructureServiceJpa, setPersistenceStructureServiceOjb |
Methods inherited from class org.kuali.rice.kns.service.impl.PersistenceServiceImplBase |
---|
getPrimaryKeyFieldValues, getPrimaryKeyFieldValues |
Methods inherited from class org.kuali.rice.kns.service.impl.PersistenceServiceStructureImplBase |
---|
getBusinessObjectAttributeClass, getClassDescriptor, getDescriptorRepository, listPrimaryKeyFieldNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.kns.service.PersistenceStructureService |
---|
clearPrimaryKeyFields, getBusinessObjectAttributeClass, getForeignKeyFieldName, getForeignKeyFieldsPopulationState, getForeignKeysForReference, getInverseForeignKeysForCollection, getNestedForeignKeyMap, getPrimaryKeys, getReferencesForForeignKey, getRelationshipMetadata, getRelationshipMetadata, getTableName, hasCollection, hasPrimaryKeyFieldValues, hasReference, isCollectionUpdatable, isPersistable, isReferenceUpdatable, listCollectionObjectTypes, listCollectionObjectTypes, listFieldNames, listPersistableSubclasses, listPrimaryKeyFieldNames, listReferenceObjectFields |
Constructor Detail |
---|
public AccountPersistenceStructureServiceImpl()
Method Detail |
---|
public boolean isAccountRelatedClass(Class clazz)
AccountPersistenceStructureService
isAccountRelatedClass
in interface AccountPersistenceStructureService
clazz
- the specified class
public void setMaintenanceDocumentDictionaryService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService)
public Map<String,Class> listCollectionAccountFields(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
AccountPersistenceStructureService
listCollectionAccountFields
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for collection accounts.
public Set<String> listCollectionChartOfAccountsCodeNames(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
AccountPersistenceStructureService
listCollectionChartOfAccountsCodeNames
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for collection accounts.
public Map<String,Class> listReferenceAccountFields(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
AccountPersistenceStructureService
listReferenceAccountFields
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.
public Map<String,String> listChartCodeAccountNumberPairs(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
AccountPersistenceStructureService
listChartCodeAccountNumberPairs
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.
public Map<String,String> listAccountNumberChartCodePairs(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
AccountPersistenceStructureService
listAccountNumberChartCodePairs
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.
public Set<String> listChartOfAccountsCodeNames(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
AccountPersistenceStructureService
listChartOfAccountsCodeNames
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.
public Set<String> listAccountNumberNames(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
AccountPersistenceStructureService
listAccountNumberNames
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.
public String getChartOfAccountsCodeName(org.kuali.rice.kns.bo.PersistableBusinessObject bo, String accountNumberName)
AccountPersistenceStructureService
getChartOfAccountsCodeName
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.accountNumberName
- the name of the foreign key corresponding to the primary key accountNumber of the reference account.
public String getAccountNumberName(org.kuali.rice.kns.bo.PersistableBusinessObject bo, String chartOfAccountsCodeName)
AccountPersistenceStructureService
getAccountNumberName
in interface AccountPersistenceStructureService
bo
- BusinessObject (or subclass) instance that would like to be analyzed for reference accounts.chartOfAccountsCodeName
- the name of the foreign key corresponding to the primary key chartOfAccountsCode of the reference account.
public Map<String,Class> listReferenceObjectFields(org.kuali.rice.kns.bo.PersistableBusinessObject bo)
listReferenceObjectFields
in interface org.kuali.rice.kns.service.PersistenceStructureService
listReferenceObjectFields
in class org.kuali.rice.kns.service.impl.PersistenceStructureServiceImpl
PersistenceStructureServiceImpl.listReferenceObjectFields(org.kuali.rice.kns.bo.PersistableBusinessObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |