| java.lang.Object com.liferay.util.dao.hibernate.LiferaySession com.liferay.util.dao.hibernate.LiferayClassicSession
LiferayClassicSession | public class LiferayClassicSession extends LiferaySession implements Session(Code) | | View Source
See http://support.liferay.com/browse/LEP-2996.
author: Brian Wing Shun Chan |
Method Summary | |
public Query | createSQLQuery(String sql, String returnAlias, Class returnClass) | public Query | createSQLQuery(String sql, String[] returnAliases, Class[] returnClasses) | public int | delete(String query) | public int | delete(String query, Object value, Type type) | public int | delete(String query, Object[] values, Type[] types) | public Collection | filter(Object collection, String filter) | public Collection | filter(Object collection, String filter, Object value, Type type) | public Collection | filter(Object collection, String filter, Object[] values, Type[] types) | public List | find(String query) | public List | find(String query, Object value, Type type) | public List | find(String query, Object[] values, Type[] types) | public Session | getHibernateClassicSession() | public Iterator | iterate(String query) | public Iterator | iterate(String query, Object value, Type type) | public Iterator | iterate(String query, Object[] values, Type[] types) | public void | save(Object object, Serializable id) | public void | save(String entityName, Object object, Serializable id) | public Object | saveOrUpdateCopy(Object object) | public Object | saveOrUpdateCopy(Object object, Serializable id) | public Object | saveOrUpdateCopy(String entityName, Object object) | public Object | saveOrUpdateCopy(String entityName, Object object, Serializable id) | public void | update(Object object, Serializable id) | public void | update(String entityName, Object object, Serializable id) |
LiferayClassicSession | public LiferayClassicSession(Session session)(Code) | | |
delete | public int delete(String query) throws HibernateException(Code) | | |
delete | public int delete(String query, Object value, Type type) throws HibernateException(Code) | | |
delete | public int delete(String query, Object[] values, Type[] types) throws HibernateException(Code) | | |
getHibernateClassicSession | public Session getHibernateClassicSession()(Code) | | |
saveOrUpdateCopy | public Object saveOrUpdateCopy(Object object) throws HibernateException(Code) | | |
Methods inherited from com.liferay.util.dao.hibernate.LiferaySession | public Transaction beginTransaction() throws HibernateException(Code)(Java Doc) public void cancelQuery() throws HibernateException(Code)(Java Doc) public void clear()(Code)(Java Doc) public Connection close() throws HibernateException(Code)(Java Doc) public Connection connection() throws HibernateException(Code)(Java Doc) public boolean contains(Object object)(Code)(Java Doc) public Criteria createCriteria(Class persistentClass)(Code)(Java Doc) public Criteria createCriteria(Class persistentClass, String alias)(Code)(Java Doc) public Criteria createCriteria(String entityName)(Code)(Java Doc) public Criteria createCriteria(String entityName, String alias)(Code)(Java Doc) public Query createFilter(Object collection, String queryString) throws HibernateException(Code)(Java Doc) public Query createQuery(String queryString) throws HibernateException(Code)(Java Doc) public SQLQuery createSQLQuery(String queryString) throws HibernateException(Code)(Java Doc) public void delete(Object object) throws HibernateException(Code)(Java Doc) public void delete(String entityName, Object object) throws HibernateException(Code)(Java Doc) public void disableFilter(String filterName)(Code)(Java Doc) public Connection disconnect() throws HibernateException(Code)(Java Doc) public Filter enableFilter(String filterName)(Code)(Java Doc) public void evict(Object object) throws HibernateException(Code)(Java Doc) public void flush() throws HibernateException(Code)(Java Doc) public Object get(Class clazz, Serializable id) throws HibernateException(Code)(Java Doc) public Object get(Class clazz, Serializable id, LockMode lockMode) throws HibernateException(Code)(Java Doc) public Object get(String entityName, Serializable id) throws HibernateException(Code)(Java Doc) public Object get(String entityName, Serializable id, LockMode lockMode) throws HibernateException(Code)(Java Doc) public CacheMode getCacheMode()(Code)(Java Doc) public LockMode getCurrentLockMode(Object object) throws HibernateException(Code)(Java Doc) public Filter getEnabledFilter(String filterName)(Code)(Java Doc) public EntityMode getEntityMode()(Code)(Java Doc) public String getEntityName(Object object) throws HibernateException(Code)(Java Doc) public FlushMode getFlushMode()(Code)(Java Doc) public Session getHibernateSession()(Code)(Java Doc) public Serializable getIdentifier(Object object) throws HibernateException(Code)(Java Doc) public Query getNamedQuery(String queryName) throws HibernateException(Code)(Java Doc) public Session getSession(EntityMode entityMode)(Code)(Java Doc) public SessionFactory getSessionFactory()(Code)(Java Doc) public SessionStatistics getStatistics()(Code)(Java Doc) public Transaction getTransaction()(Code)(Java Doc) public boolean isConnected()(Code)(Java Doc) public boolean isDirty() throws HibernateException(Code)(Java Doc) public boolean isOpen()(Code)(Java Doc) public Object load(Class theClass, Serializable id, LockMode lockMode) throws HibernateException(Code)(Java Doc) public Object load(String entityName, Serializable id, LockMode lockMode) throws HibernateException(Code)(Java Doc) public Object load(Class theClass, Serializable id) throws HibernateException(Code)(Java Doc) public Object load(String entityName, Serializable id) throws HibernateException(Code)(Java Doc) public void load(Object object, Serializable id) throws HibernateException(Code)(Java Doc) public void lock(Object object, LockMode lockMode) throws HibernateException(Code)(Java Doc) public void lock(String entityName, Object object, LockMode lockMode) throws HibernateException(Code)(Java Doc) public Object merge(Object object) throws HibernateException(Code)(Java Doc) public Object merge(String entityName, Object object) throws HibernateException(Code)(Java Doc) public void persist(Object object) throws HibernateException(Code)(Java Doc) public void persist(String entityName, Object object) throws HibernateException(Code)(Java Doc) public void reconnect() throws HibernateException(Code)(Java Doc) public void reconnect(Connection connection) throws HibernateException(Code)(Java Doc) public void refresh(Object object) throws HibernateException(Code)(Java Doc) public void refresh(Object object, LockMode lockMode) throws HibernateException(Code)(Java Doc) public void replicate(Object object, ReplicationMode replicationMode) throws HibernateException(Code)(Java Doc) public void replicate(String entityName, Object object, ReplicationMode replicationMode) throws HibernateException(Code)(Java Doc) public Serializable save(Object object) throws HibernateException(Code)(Java Doc) public Serializable save(String entityName, Object object) throws HibernateException(Code)(Java Doc) public void saveOrUpdate(Object object) throws HibernateException(Code)(Java Doc) public void saveOrUpdate(String entityName, Object object) throws HibernateException(Code)(Java Doc) public void setCacheMode(CacheMode cacheMode)(Code)(Java Doc) public void setFlushMode(FlushMode flushMode)(Code)(Java Doc) public void setReadOnly(Object entity, boolean readOnly)(Code)(Java Doc) public void update(Object object) throws HibernateException(Code)(Java Doc) public void update(String entityName, Object object) throws HibernateException(Code)(Java Doc)
|
|
|