Package org.kuali.rice.krad.service.impl
Class PersistenceServiceStructureImplBase
java.lang.Object
org.kuali.rice.krad.service.impl.PersistenceServiceStructureImplBase
- Direct Known Subclasses:
PersistenceServiceImplBase
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.logging.log4j.LoggerDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a PersistenceServiceImpl instance. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends PersistableBusinessObjectExtension> getBusinessObjectAttributeClass(Class<? extends PersistableBusinessObject> clazz, String attributeName) Deprecated.protected org.apache.ojb.broker.metadata.ClassDescriptorgetClassDescriptor(Class persistableClass) Deprecated.protected org.apache.ojb.broker.metadata.DescriptorRepositoryDeprecated.booleanisJpaEnabledForKradClass(Class clazz) Deprecated.Determines if JPA is enabled for the KNS and for the given classlistPrimaryKeyFieldNames(Class clazz) Deprecated.This method returns a list of primary key field names.
-
Field Details
-
LOG
protected static final org.apache.logging.log4j.Logger LOGDeprecated.
-
-
Constructor Details
-
PersistenceServiceStructureImplBase
public PersistenceServiceStructureImplBase()Deprecated.Constructs a PersistenceServiceImpl instance.
-
-
Method Details
-
getDescriptorRepository
protected org.apache.ojb.broker.metadata.DescriptorRepository getDescriptorRepository()Deprecated.- Returns:
- DescriptorRepository containing everything OJB knows about persistable classes
-
listPrimaryKeyFieldNames
Deprecated.This method returns a list of primary key field names. This method uses the CacheNoCopy caching method. "NoCopy" is the faster of the caching annotations, but because it does not make a copy the list that is returned must not be modified. To enforce this the returned list is wrapped in a Collections.unmodifiableList method. This will cause an exception to be thrown if the list is altered.- Parameters:
clazz-- Returns:
- unmodifiableList of field names. Any attempt to alter list will result in an UnsupportedOperationException
-
getClassDescriptor
Deprecated.- Parameters:
persistableClass-- Returns:
- ClassDescriptor for the given Class
- Throws:
IllegalArgumentException- if the given Class is nullClassNotPersistableException- if the given Class is unknown to OJB
-
isJpaEnabledForKradClass
Deprecated.Determines if JPA is enabled for the KNS and for the given class- Parameters:
clazz- the class to check for JPA enabling of- Returns:
- true if JPA is enabled for the class, false otherwise
-
getBusinessObjectAttributeClass
public Class<? extends PersistableBusinessObjectExtension> getBusinessObjectAttributeClass(Class<? extends PersistableBusinessObject> clazz, String attributeName) Deprecated.- See Also:
-