Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.mobilealert
Interface AlertChainParamMeta

All Superinterfaces:
java.io.Serializable

public interface AlertChainParamMeta
extends java.io.Serializable

Interface exposes the alert chain param meta data attributes This interface defines the parameter mapping between an alert parameter (input or output) and service input argument, so that required values can be passed while invoking a service from the notification engine. AlertChainParamMeta objects are children of a MAlertServiceMapping object, which defines the mapping between master alert service and master service objects.

See Also:
MAlertServiceMapping

Method Summary
 long getId()
          Get the chain param meta data id
 AlertParameterMeta getSourceParameter()
          Get the source parameter which resides on the alert side.
 InputArgument getTargetParameter()
          Get the target parameter on the service side (service input argument).
 void remove()
          Marks this chain param meta data as removed so that it can be removed at the next save() call.
 void save()
          Applies changes to the persistent store
Note that this method DOES NOT perform a commit.
 void setSourceParameter(AlertParameterMeta sSourceParam)
          Set the source parameter This is the parameter that holds the required value at runtime, and this value will be passed to the target parameter.
 void setTargetParameter(InputArgument sTargetParam)
          Set the target parameter Alert engine will be passing the value of the source parameter to this target parameter at runtime.

 

Method Detail

getId

public long getId()
Get the chain param meta data id
Returns:
long id of the chain parameter meta data

getSourceParameter

public AlertParameterMeta getSourceParameter()
Get the source parameter which resides on the alert side. This is the parameter that holds the required value at runtime, and this value will be passed to the target parameter.
Returns:
AlertParameterMeta Source parameter
See Also:
AlertInputParamMeta

getTargetParameter

public InputArgument getTargetParameter()
Get the target parameter on the service side (service input argument). Alert engine will be passing the value of the source parameter to this target parameter at runtime.
Returns:
InputArgument target parameter which resides on the service side
See Also:
InputArgument

setSourceParameter

public void setSourceParameter(AlertParameterMeta sSourceParam)
Set the source parameter This is the parameter that holds the required value at runtime, and this value will be passed to the target parameter.
Parameters:
sSourceParam - Source parameter
See Also:
AlertInputParamMeta

setTargetParameter

public void setTargetParameter(InputArgument sTargetParam)
Set the target parameter Alert engine will be passing the value of the source parameter to this target parameter at runtime.
Parameters:
sTargetParam - Source parameter
See Also:
InputArgument

remove

public void remove()
Marks this chain param meta data as removed so that it can be removed at the next save() call.

save

public void save()
          throws PanamaException
Applies changes to the persistent store
Note that this method DOES NOT perform a commit. MasterAlertService.save has to be called at the end to commit changes!
Throws:
PanamaException - exception thrown when commit failes

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.