Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


oracle.adf.view.rich.remote.task
Class MapTaskHandler<K,V>

java.lang.Object
  extended by oracle.adf.view.rich.remote.TaskHandler
      extended by oracle.adf.view.rich.remote.task.MapTaskHandler<K,V>

Direct Known Subclasses:
RequestAttributes, RequestHeaders, RequestParameters

public abstract class MapTaskHandler<K,V>
extends TaskHandler

Constructor Summary
MapTaskHandler()
           

 

Method Summary
 void beginExecute(javax.faces.context.ExternalContext ec, java.util.Map<K,V> map)
           
 void beginExecute(javax.faces.context.ExternalContext ec, java.io.Serializable[] params)
          Run at the begin of an execution so that the environment may be set up correctly.
 java.io.Serializable endExecute(javax.faces.context.ExternalContext ec, java.util.Map<K,V> map)
           
 java.io.Serializable endExecute(javax.faces.context.ExternalContext ec, java.io.Serializable[] params)
          Run at the end of an execution so that a result may be returned and the environment can be cleaned up properly.
 java.io.Serializable invoke(javax.faces.context.ExternalContext ec, java.util.Map<K,V> map)
           
 java.io.Serializable invoke(javax.faces.context.ExternalContext ec, java.io.Serializable[] params)
          Run durring an invoke request.
 java.io.Serializable validateExecution(javax.faces.context.ExternalContext ec, java.util.Map<K,V> map)
           
 java.io.Serializable validateExecution(javax.faces.context.ExternalContext ec, java.io.Serializable[] params)
          Run before the beginExecute or the invoke methods in a request.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MapTaskHandler

public MapTaskHandler()

Method Detail

beginExecute

public void beginExecute(javax.faces.context.ExternalContext ec,
                         java.io.Serializable[] params)
Description copied from class: TaskHandler
Run at the begin of an execution so that the environment may be set up correctly. Handler's overriding this method "should not" execute the superclass logic as it will impact the default logic of the endExecute method.
Overrides:
beginExecute in class TaskHandler

beginExecute

public void beginExecute(javax.faces.context.ExternalContext ec,
                         java.util.Map<K,V> map)

endExecute

public java.io.Serializable endExecute(javax.faces.context.ExternalContext ec,
                                       java.io.Serializable[] params)
Description copied from class: TaskHandler
Run at the end of an execution so that a result may be returned and the environment can be cleaned up properly.
Overrides:
endExecute in class TaskHandler
Returns:

endExecute

public java.io.Serializable endExecute(javax.faces.context.ExternalContext ec,
                                       java.util.Map<K,V> map)

invoke

public java.io.Serializable invoke(javax.faces.context.ExternalContext ec,
                                   java.io.Serializable[] params)
Description copied from class: TaskHandler
Run durring an invoke request.
Overrides:
invoke in class TaskHandler
Returns:

invoke

public java.io.Serializable invoke(javax.faces.context.ExternalContext ec,
                                   java.util.Map<K,V> map)

validateExecution

public java.io.Serializable validateExecution(javax.faces.context.ExternalContext ec,
                                              java.io.Serializable[] params)
Description copied from class: TaskHandler
Run before the beginExecute or the invoke methods in a request. Generally this method will not be overridden, but it essentially allows for validation of the environment before execution continues. If a result other then "null" is returned, then the current request will return immedietly without executing the faces lifecycle or any other task handlers and a FAILED_VALIDATION response will be returned to the server with this return value as the result.
Overrides:
validateExecution in class TaskHandler

validateExecution

public java.io.Serializable validateExecution(javax.faces.context.ExternalContext ec,
                                              java.util.Map<K,V> map)

Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.