Package | Description |
---|---|
com.liferay.portal.kernel.dao.orm | |
com.liferay.portal.kernel.service.persistence |
This package defines the portal service persistence interfaces, classes, and utilities.
|
com.liferay.portal.kernel.service.persistence.impl |
This package defines the portal service persistence implementation base classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassLoaderSession |
Modifier and Type | Method and Description |
---|---|
Session |
SessionFactory.getCurrentSession() |
Session |
SessionFactory.openNewSession(Connection connection) |
Session |
SessionFactory.openSession() |
Modifier and Type | Method and Description |
---|---|
void |
SessionFactory.closeSession(Session session) |
void |
DynamicQuery.compile(Session session) |
Constructor and Description |
---|
ClassLoaderSession(Session session,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
Session |
BasePersistence.getCurrentSession() |
Session |
BasePersistence.openSession() |
Modifier and Type | Method and Description |
---|---|
void |
BasePersistence.closeSession(Session session) |
static void |
BatchSessionUtil.delete(Session session,
BaseModel<?> model)
Deprecated.
|
void |
BatchSession.delete(Session session,
BaseModel<?> model)
Deprecated.
Deletes the model instance in the database, and possibly flushes the
session.
|
static void |
BatchSessionUtil.update(Session session,
BaseModel<?> model,
boolean merge)
Deprecated.
|
void |
BatchSession.update(Session session,
BaseModel<?> model,
boolean merge)
Deprecated.
Updates the model instance in the database or adds it if it does not yet
exist, and possibly flushes the session.
|
Modifier and Type | Method and Description |
---|---|
Session |
BasePersistenceImpl.getCurrentSession() |
Session |
BasePersistenceImpl.openNewSession(Connection connection) |
Session |
BasePersistenceImpl.openSession() |
Modifier and Type | Method and Description |
---|---|
void |
BasePersistenceImpl.closeSession(Session session) |