org.primefaces.extensions.util.visitcallback
Interface VisitTaskExecutor


public interface VisitTaskExecutor

Interface for all executor classes which are called by visit callbacks.

Since:
0.7
Version:
$Revision: 1.0 $
Author:
Oleg Varaksin

Method Summary
 javax.faces.component.visit.VisitResult execute(javax.faces.component.UIComponent component)
          Execute some task on the given component.
 boolean shouldExecute(javax.faces.component.UIComponent component)
          Should the task on the given component be executed?
 

Method Detail

execute

javax.faces.component.visit.VisitResult execute(javax.faces.component.UIComponent component)
Execute some task on the given component.

Parameters:
component - UIComponent
Returns:
VisitResult (ACCEPT, REJECT, COMPLETE)

shouldExecute

boolean shouldExecute(javax.faces.component.UIComponent component)
Should the task on the given component be executed?

Parameters:
component - UIComponent
Returns:
boolean true - the task should be executed, false - otherwise


Copyright © 2011-2013. All Rights Reserved.