org.pentaho.reporting.engine.classic.core.states.process
Class JoinDetailsHandler

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.states.process.JoinDetailsHandler
All Implemented Interfaces:
AdvanceHandler

public class JoinDetailsHandler
extends Object
implements AdvanceHandler

This delays the actual test on whether the current detail-group should be finished until the subreports have been processed. The subreports can influence this test by declaring output-parameters.

Author:
Thomas Morgner

Field Summary
static AdvanceHandler HANDLER
           
 
Method Summary
 ProcessState advance(ProcessState state)
           
 ProcessState commit(ProcessState next)
           
 int getEventCode()
           
 boolean isFinish()
           
 boolean isRestoreHandler()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HANDLER

public static final AdvanceHandler HANDLER
Method Detail

getEventCode

public int getEventCode()
Specified by:
getEventCode in interface AdvanceHandler

advance

public ProcessState advance(ProcessState state)
                     throws ReportProcessingException
Specified by:
advance in interface AdvanceHandler
Throws:
ReportProcessingException

commit

public ProcessState commit(ProcessState next)
                    throws ReportProcessingException
Specified by:
commit in interface AdvanceHandler
Throws:
ReportProcessingException

isFinish

public boolean isFinish()
Specified by:
isFinish in interface AdvanceHandler

isRestoreHandler

public boolean isRestoreHandler()
Specified by:
isRestoreHandler in interface AdvanceHandler