com.liferay.portal.service.persistence
Class BatchSessionUtil
java.lang.Object
com.liferay.portal.service.persistence.BatchSessionUtil
public class BatchSessionUtil
- extends Object
- See Also:
BatchSession
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchSessionUtil
public BatchSessionUtil()
delete
public static void delete(Session session,
BaseModel<?> model)
throws ORMException
- Throws:
ORMException
getBatchSession
public static BatchSession getBatchSession()
isEnabled
public static boolean isEnabled()
setEnabled
public static void setEnabled(boolean enabled)
update
public static void update(Session session,
BaseModel<?> model,
boolean merge)
throws ORMException
- Throws:
ORMException
setBatchSession
public void setBatchSession(BatchSession batchSession)