|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.service.impl.PersistenceServiceStructureImplBase org.kuali.rice.krad.service.impl.PersistenceServiceImplBase org.kuali.rice.krad.service.impl.PersistenceServiceOjbImpl
@Deprecated @Transactional public class PersistenceServiceOjbImpl
This class is the service implementation for the Persistence structure. OjbRepositoryExplorer provides functions for extracting information from the OJB repository at runtime. This is the default implementation, that is delivered with Kuali.
Constructor Summary | |
---|---|
PersistenceServiceOjbImpl()
Deprecated. |
Method Summary | |
---|---|
boolean |
allForeignKeyValuesPopulatedForReference(PersistableBusinessObject bo,
String referenceName)
Deprecated. This method examines whether all the foreign key fields for the specified reference contain values. |
void |
clearCache()
Deprecated. |
String |
getFlattenedPrimaryKeyFieldValues(Object persistableObject)
Deprecated. |
boolean |
isProxied(Object object)
Deprecated. Asks persistenceDao if this represents a proxy |
void |
linkObjects(Object persistableObject)
Deprecated. For each reference object to the parent persistableObject, sets the key values for that object. |
void |
loadRepositoryDescriptor(String ojbRepositoryFilePath)
Deprecated. |
void |
refreshAllNonUpdatingReferences(PersistableBusinessObject bo)
Deprecated. This method refreshes all reference objects to this main object that are 'non-updateable'. |
Object |
resolveProxy(Object o)
Deprecated. |
void |
retrieveNonKeyFields(Object persistableObject)
Deprecated. |
void |
retrieveReferenceObject(Object persistableObject,
String referenceObjectName)
Deprecated. |
void |
retrieveReferenceObjects(List persistableObjects,
List referenceObjectNames)
Deprecated. |
void |
retrieveReferenceObjects(Object persistableObject,
List referenceObjectNames)
Deprecated. |
void |
setPersistenceDao(PersistenceDao persistenceDao)
Deprecated. Sets the persistenceDao attribute value. |
Methods inherited from class org.kuali.rice.krad.service.impl.PersistenceServiceImplBase |
---|
getPrimaryKeyFieldValues, getPrimaryKeyFieldValues |
Methods inherited from class org.kuali.rice.krad.service.impl.PersistenceServiceStructureImplBase |
---|
getBusinessObjectAttributeClass, getClassDescriptor, getDescriptorRepository, isJpaEnabledForKradClass, 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.krad.service.PersistenceService |
---|
getPrimaryKeyFieldValues, getPrimaryKeyFieldValues, isJpaEnabledForKradClass |
Constructor Detail |
---|
public PersistenceServiceOjbImpl()
Method Detail |
---|
public void clearCache()
clearCache
in interface PersistenceService
public Object resolveProxy(Object o)
resolveProxy
in interface PersistenceService
public void loadRepositoryDescriptor(String ojbRepositoryFilePath)
loadRepositoryDescriptor
in interface PersistenceService
public void retrieveNonKeyFields(Object persistableObject)
retrieveNonKeyFields
in interface PersistenceService
persistableObject
- object whose objects need to be filled in based on primary keysPersistenceService.retrieveNonKeyFields(java.lang.Object)
public void retrieveReferenceObject(Object persistableObject, String referenceObjectName)
retrieveReferenceObject
in interface PersistenceService
persistableObject
- object whose specified reference object needs to be filled in based on primary keysreferenceObjectName
- the name of the reference object that will be filled in based on primary key valuesPersistenceService.retrieveReferenceObject(java.lang.Object,
String referenceObjectName)
public void retrieveReferenceObjects(Object persistableObject, List referenceObjectNames)
retrieveReferenceObjects
in interface PersistenceService
persistableObject
- object whose specified reference objects need to be filled in based on primary keysreferenceObjectNames
- the names of the reference objects that will be filled in based on primary key valuesPersistenceService.retrieveReferenceObject(java.lang.Object,
String referenceObjectName)
public void retrieveReferenceObjects(List persistableObjects, List referenceObjectNames)
retrieveReferenceObjects
in interface PersistenceService
persistableObjects
- objects whose specified reference objects need to be filled in based on primary keysreferenceObjectNames
- the names of the reference objects that will be filled in based on primary key valuesPersistenceService.retrieveReferenceObject(java.lang.Object,
String referenceObjectName)
public String getFlattenedPrimaryKeyFieldValues(Object persistableObject)
getFlattenedPrimaryKeyFieldValues
in interface PersistenceService
persistableObject
- object whose primary key field name,value pairs you want
PersistenceService.getFlattenedPrimaryKeyFieldValues(java.lang.Object)
public void linkObjects(Object persistableObject)
linkObjects
in interface PersistenceService
persistableObject
- object whose objects need to have keys filledorg.kuali.rice.krad.service.PersistenceService#getReferencedObject(java.lang.Object,
org.apache.ojb.broker.metadata.ObjectReferenceDescriptor)
public boolean allForeignKeyValuesPopulatedForReference(PersistableBusinessObject bo, String referenceName)
PersistenceService
allForeignKeyValuesPopulatedForReference
in interface PersistenceService
org.kuali.rice.krad.service.PersistenceService#allForeignKeyValuesPopulatedForReference(org.kuali.rice.krad.bo.BusinessObject,
java.lang.String)
public void refreshAllNonUpdatingReferences(PersistableBusinessObject bo)
PersistenceService
refreshAllNonUpdatingReferences
in interface PersistenceService
bo
- - the businessObject to be refreshedorg.kuali.rice.krad.service.PersistenceService#refreshAllNonUpdatingReferences(org.kuali.rice.krad.bo.BusinessObject)
public boolean isProxied(Object object)
isProxied
in interface PersistenceService
object
- the object to determine if it is a proxy
PersistenceService.isProxied(java.lang.Object)
public void setPersistenceDao(PersistenceDao persistenceDao)
persistenceDao
- The persistenceDao to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |