Skip navigation links


oracle.iam.platform.kernel.vo
Class AbstractGenericOrchestration

java.lang.Object
  extended by oracle.iam.platform.kernel.vo.AbstractGenericOrchestration

Direct Known Subclasses:
BulkOrchestration, Orchestration

public abstract class AbstractGenericOrchestration
extends java.lang.Object

Abstract class which will be extended by supported orchestrations

See Also:
Serialized Form

Constructor Summary
AbstractGenericOrchestration()
           
AbstractGenericOrchestration(java.lang.String operation, boolean sync, OrchestrationTarget target)
          Constructs a new orchestration

 

Method Summary
 void addParameter(java.lang.String name, java.io.Serializable value)
          Adds a parameter to the orchestration
 void deleteParameter(java.lang.String name)
          Deletes a parameter from the orchestration
 java.lang.String getContextVal()
          Returns the context associated with this orchestration in an XML format
 java.util.HashMap getInterEventData()
          Returns a map containing data that is used between event handlers participating in this orchestration.
 java.lang.String getOperation()
          Returns the operation name
 java.util.HashMap getParameters()
          Returns a map containing orchestration parameters.
 OrchestrationTarget getTarget()
          Returns orchestration target
 void incrementSaveCount()
           
 boolean isSync()
          Returns whether operation is sync or async
 void setContextVal(java.lang.String contextVal)
          This API is internal.
 void setInterEventData(java.util.HashMap interEventData)
          Sets the inter event data for orchestration.
 void setParameter(java.util.HashMap params)
          Method to set orchestration parameters
 void setSync(boolean sync)
          Method to indicate if orchestration should be carried out as sync or async

 

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

 

Constructor Detail

AbstractGenericOrchestration

public AbstractGenericOrchestration()

AbstractGenericOrchestration

public AbstractGenericOrchestration(java.lang.String operation,
                                    boolean sync,
                                    OrchestrationTarget target)
Constructs a new orchestration
Parameters:
operation - name of the operation being orchestrated. Example operations are CREATE, MODIFY, DELETE
sync - indicates whether operation is sync or async. If the value set is to true, kernel would run everything till post process in synchronous mode.
target - type of orchestration such as Entity orchestration, Toplink orchestration

Method Detail

getOperation

public java.lang.String getOperation()
Returns the operation name

isSync

public boolean isSync()
Returns whether operation is sync or async

getTarget

public OrchestrationTarget getTarget()
Returns orchestration target

addParameter

public void addParameter(java.lang.String name,
                         java.io.Serializable value)
Adds a parameter to the orchestration
Parameters:
name - name of the parameter
value - value of the parameter

deleteParameter

public void deleteParameter(java.lang.String name)
Deletes a parameter from the orchestration
Parameters:
name - name of the parameter to be deleted

getParameters

public java.util.HashMap getParameters()
Returns a map containing orchestration parameters. key of the map contains parameter name and value is either a ContextAware object or Object. These are the values that are used for carrying out the operation
Returns:

setParameter

public void setParameter(java.util.HashMap params)
Method to set orchestration parameters
Parameters:
params - parameters to set

getContextVal

public java.lang.String getContextVal()
Returns the context associated with this orchestration in an XML format

getInterEventData

public java.util.HashMap getInterEventData()
Returns a map containing data that is used between event handlers participating in this orchestration. This data is not used for carrying out the operation rather this data is used for communication between handlers

setInterEventData

public void setInterEventData(java.util.HashMap interEventData)
Sets the inter event data for orchestration. This data is not used for carrying out the operation rather this data is used for communication between handlers
Parameters:
interEventData - inter event data to set

setContextVal

public void setContextVal(java.lang.String contextVal)
This API is internal. DO NOT USE THIS API
Parameters:
contextVal -

setSync

public void setSync(boolean sync)
Method to indicate if orchestration should be carried out as sync or async
Parameters:
sync - boolean to indicate sync or async

incrementSaveCount

public void incrementSaveCount()

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.