com.liferay.portal.kernel.dao.orm
Interface Session
- All Known Implementing Classes:
- ClassLoaderSession, NewSessionImpl, SessionImpl, SessionImpl
public interface Session
clear
void clear()
throws ORMException
- Throws:
ORMException
close
Connection close()
throws ORMException
- Throws:
ORMException
contains
boolean contains(Object object)
throws ORMException
- Throws:
ORMException
createQuery
Query createQuery(String queryString)
throws ORMException
- Throws:
ORMException
createQuery
Query createQuery(String queryString,
boolean strictName)
throws ORMException
- Throws:
ORMException
createSQLQuery
SQLQuery createSQLQuery(String queryString)
throws ORMException
- Throws:
ORMException
createSQLQuery
SQLQuery createSQLQuery(String queryString,
boolean strictName)
throws ORMException
- Throws:
ORMException
delete
void delete(Object object)
throws ORMException
- Throws:
ORMException
evict
void evict(Object object)
throws ORMException
- Throws:
ORMException
flush
void flush()
throws ORMException
- Throws:
ORMException
get
Object get(Class<?> clazz,
Serializable id)
throws ORMException
- Throws:
ORMException
get
Object get(Class<?> clazz,
Serializable id,
LockMode lockMode)
throws ORMException
- Throws:
ORMException
getWrappedSession
Object getWrappedSession()
throws ORMException
- Throws:
ORMException
load
Object load(Class<?> clazz,
Serializable id)
throws ORMException
- Throws:
ORMException
merge
Object merge(Object object)
throws ORMException
- Throws:
ORMException
save
Serializable save(Object object)
throws ORMException
- Throws:
ORMException
saveOrUpdate
void saveOrUpdate(Object object)
throws ORMException
- Throws:
ORMException