BasePersistenceService¶
-
public abstract class
BasePersistenceService¶ The
BasePersistenceServiceclass provides utility methods for communication with the database forHistoryServiceImplandTrashServiceImpl. It allows to create and retrieve instances, load proper classes and parse values.
Methods¶
convertToIdsCollection¶
-
protected Collection<Long>
convertToIdsCollection(Collection collection)¶
getBundleContext¶
-
protected BundleContext
getBundleContext()¶
getPersistenceManagerFactory¶
-
protected PersistenceManagerFactory
getPersistenceManagerFactory()¶
setAppContext¶
-
public void
setAppContext(ApplicationContext appContext)¶
setBundleContext¶
-
public void
setBundleContext(BundleContext bundleContext)¶
setPersistenceManagerFactory¶
-
public void
setPersistenceManagerFactory(PersistenceManagerFactory persistenceManagerFactory)¶