| java.lang.Object com.liferay.util.dao.hibernate.LiferaySession
All known Subclasses: com.liferay.util.dao.hibernate.LiferayClassicSession,
LiferaySession | public class LiferaySession implements Session(Code) | | View Source
See http://support.liferay.com/browse/LEP-2996.
author: Brian Wing Shun Chan |
Method Summary | |
public Transaction | beginTransaction() | public void | cancelQuery() | public void | clear() | public Connection | close() | public Connection | connection() | public boolean | contains(Object object) | public Criteria | createCriteria(Class persistentClass) | public Criteria | createCriteria(Class persistentClass, String alias) | public Criteria | createCriteria(String entityName) | public Criteria | createCriteria(String entityName, String alias) | public Query | createFilter(Object collection, String queryString) | public Query | createQuery(String queryString) | public SQLQuery | createSQLQuery(String queryString) | public void | delete(Object object) | public void | delete(String entityName, Object object) | public void | disableFilter(String filterName) | public Connection | disconnect() | public Filter | enableFilter(String filterName) | public void | evict(Object object) | public void | flush() | public Object | get(Class clazz, Serializable id) | public Object | get(Class clazz, Serializable id, LockMode lockMode) | public Object | get(String entityName, Serializable id) | public Object | get(String entityName, Serializable id, LockMode lockMode) | public CacheMode | getCacheMode() | public LockMode | getCurrentLockMode(Object object) | public Filter | getEnabledFilter(String filterName) | public EntityMode | getEntityMode() | public String | getEntityName(Object object) | public FlushMode | getFlushMode() | public Session | getHibernateSession() | public Serializable | getIdentifier(Object object) | public Query | getNamedQuery(String queryName) | public Session | getSession(EntityMode entityMode) | public SessionFactory | getSessionFactory() | public SessionStatistics | getStatistics() | public Transaction | getTransaction() | public boolean | isConnected() | public boolean | isDirty() | public boolean | isOpen() | public Object | load(Class theClass, Serializable id, LockMode lockMode) | public Object | load(String entityName, Serializable id, LockMode lockMode) | public Object | load(Class theClass, Serializable id) | public Object | load(String entityName, Serializable id) | public void | load(Object object, Serializable id) | public void | lock(Object object, LockMode lockMode) | public void | lock(String entityName, Object object, LockMode lockMode) | public Object | merge(Object object) | public Object | merge(String entityName, Object object) | public void | persist(Object object) | public void | persist(String entityName, Object object) | public void | reconnect() | public void | reconnect(Connection connection) | public void | refresh(Object object) | public void | refresh(Object object, LockMode lockMode) | public void | replicate(Object object, ReplicationMode replicationMode) | public void | replicate(String entityName, Object object, ReplicationMode replicationMode) | public Serializable | save(Object object) | public Serializable | save(String entityName, Object object) | public void | saveOrUpdate(Object object) | public void | saveOrUpdate(String entityName, Object object) | public void | setCacheMode(CacheMode cacheMode) | public void | setFlushMode(FlushMode flushMode) | public void | setReadOnly(Object entity, boolean readOnly) | public void | update(Object object) | public void | update(String entityName, Object object) |
LiferaySession | public LiferaySession(Session session)(Code) | | |
beginTransaction | public Transaction beginTransaction() throws HibernateException(Code) | | |
cancelQuery | public void cancelQuery() throws HibernateException(Code) | | |
clear | public void clear()(Code) | | |
createCriteria | public Criteria createCriteria(Class persistentClass)(Code) | | |
createCriteria | public Criteria createCriteria(Class persistentClass, String alias)(Code) | | |
createCriteria | public Criteria createCriteria(String entityName)(Code) | | |
createFilter | public Query createFilter(Object collection, String queryString) throws HibernateException(Code) | | |
createQuery | public Query createQuery(String queryString) throws HibernateException(Code) | | |
createSQLQuery | public SQLQuery createSQLQuery(String queryString) throws HibernateException(Code) | | |
delete | public void delete(Object object) throws HibernateException(Code) | | |
delete | public void delete(String entityName, Object object) throws HibernateException(Code) | | |
disableFilter | public void disableFilter(String filterName)(Code) | | |
enableFilter | public Filter enableFilter(String filterName)(Code) | | |
evict | public void evict(Object object) throws HibernateException(Code) | | |
flush | public void flush() throws HibernateException(Code) | | |
getCacheMode | public CacheMode getCacheMode()(Code) | | |
getCurrentLockMode | public LockMode getCurrentLockMode(Object object) throws HibernateException(Code) | | |
getEnabledFilter | public Filter getEnabledFilter(String filterName)(Code) | | |
getEntityMode | public EntityMode getEntityMode()(Code) | | |
getFlushMode | public FlushMode getFlushMode()(Code) | | |
getHibernateSession | public Session getHibernateSession()(Code) | | |
getNamedQuery | public Query getNamedQuery(String queryName) throws HibernateException(Code) | | |
getSession | public Session getSession(EntityMode entityMode)(Code) | | |
getSessionFactory | public SessionFactory getSessionFactory()(Code) | | |
getStatistics | public SessionStatistics getStatistics()(Code) | | |
getTransaction | public Transaction getTransaction()(Code) | | |
isConnected | public boolean isConnected()(Code) | | |
isDirty | public boolean isDirty() throws HibernateException(Code) | | |
isOpen | public boolean isOpen()(Code) | | |
lock | public void lock(Object object, LockMode lockMode) throws HibernateException(Code) | | |
lock | public void lock(String entityName, Object object, LockMode lockMode) throws HibernateException(Code) | | |
persist | public void persist(Object object) throws HibernateException(Code) | | |
persist | public void persist(String entityName, Object object) throws HibernateException(Code) | | |
reconnect | public void reconnect() throws HibernateException(Code) | | |
reconnect | public void reconnect(Connection connection) throws HibernateException(Code) | | |
refresh | public void refresh(Object object) throws HibernateException(Code) | | |
refresh | public void refresh(Object object, LockMode lockMode) throws HibernateException(Code) | | |
replicate | public void replicate(Object object, ReplicationMode replicationMode) throws HibernateException(Code) | | |
replicate | public void replicate(String entityName, Object object, ReplicationMode replicationMode) throws HibernateException(Code) | | |
saveOrUpdate | public void saveOrUpdate(Object object) throws HibernateException(Code) | | |
saveOrUpdate | public void saveOrUpdate(String entityName, Object object) throws HibernateException(Code) | | |
setCacheMode | public void setCacheMode(CacheMode cacheMode)(Code) | | |
setFlushMode | public void setFlushMode(FlushMode flushMode)(Code) | | |
setReadOnly | public void setReadOnly(Object entity, boolean readOnly)(Code) | | |
update | public void update(Object object) throws HibernateException(Code) | | |
update | public void update(String entityName, Object object) throws HibernateException(Code) | | |
|
|