Liferay 6.0.5

com.liferay.portal.service.persistence
Class BatchSessionUtil

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

public class BatchSessionUtil
extends Object

See Also:
BatchSession

Constructor Summary
BatchSessionUtil()
           
 
Method Summary
static BatchSession getBatchSession()
           
static boolean isEnabled()
           
 void setBatchSession(BatchSession batchSession)
           
static void setEnabled(boolean enabled)
           
static void update(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(Session session,
                          BaseModel<?> model,
                          boolean merge)
                   throws ORMException
Throws:
ORMException

setBatchSession

public void setBatchSession(BatchSession batchSession)

Liferay 6.0.5