Class PersistenceServiceStructureImplBase

java.lang.Object
org.kuali.rice.krad.service.impl.PersistenceServiceStructureImplBase
Direct Known Subclasses:
PersistenceServiceImplBase

@Deprecated public class PersistenceServiceStructureImplBase extends Object
Deprecated.
  • Field Details

    • LOG

      protected static final org.apache.logging.log4j.Logger LOG
      Deprecated.
  • 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

      public List listPrimaryKeyFieldNames(Class clazz)
      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

      protected org.apache.ojb.broker.metadata.ClassDescriptor getClassDescriptor(Class persistableClass)
      Deprecated.
      Parameters:
      persistableClass -
      Returns:
      ClassDescriptor for the given Class
      Throws:
      IllegalArgumentException - if the given Class is null
      ClassNotPersistableException - if the given Class is unknown to OJB
    • isJpaEnabledForKradClass

      public boolean isJpaEnabledForKradClass(Class clazz)
      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: