BasePersistenceService¶
-
public abstract class
BasePersistenceService
¶ The
BasePersistenceService
class provides utility methods for communication with the database forHistoryServiceImpl
andTrashServiceImpl
. 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)¶