com.liferay.portal.service.persistence
Class BatchSessionUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.BatchSessionUtil

public class BatchSessionUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
BatchSessionUtil()
           
 
Method Summary
static BatchSession getBatchSession()
           
static boolean isEnabled()
           
 void setBatchSession(BatchSession batchSession)
           
static void setEnabled(boolean enabled)
           
static void update(com.liferay.portal.kernel.dao.orm.Session session, BaseModel model, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchSessionUtil

public BatchSessionUtil()
Method Detail

getBatchSession

public static BatchSession getBatchSession()

isEnabled

public static boolean isEnabled()

setEnabled

public static void setEnabled(boolean enabled)

update

public static void update(com.liferay.portal.kernel.dao.orm.Session session,
                          BaseModel model,
                          boolean merge)
                   throws com.liferay.portal.kernel.dao.orm.ORMException
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

setBatchSession

public void setBatchSession(BatchSession batchSession)