Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.mobilealert
Interface AlertConditionMeta

All Superinterfaces:
java.io.Serializable

public interface AlertConditionMeta
extends java.io.Serializable

Interface provides accessor methods for the condition meta data for each condition belonging to a master alert service.


Method Summary
 java.lang.String getCaption()
          Get the caption for this condition.
 java.lang.String getConditionDefaultValue()
          Returns the default value of the condition.
 java.lang.String getConditionName()
          Returns The condition name.
 java.lang.String getConditionParamName()
          Returns the condition param name a.k.a trigger name.
 java.lang.String getConditionParamType()
          Get the condition param type.
 AlertConditionType getConditionType()
          Returns the condition type.
 long getId()
          Get id for the condition meta data.
 FeedMetaData getTriggerParameter()
          Returns the FeedMetaData object for this condition meta data.
 org.w3c.dom.Element getXML()
          Get the condition information in XML format.
 void save()
          Applies the changes to the persistent store.
 void setCaption(java.lang.String newCaption)
          Set the caption for this condition.
 void setConditionDefaultValue(java.lang.String condValue)
          Sets the condition default value.
 void setConditionType(AlertConditionType condType)
          Set the condition type.

 

Method Detail

getCaption

public java.lang.String getCaption()
Get the caption for this condition.
Returns:
Caption for the condition

getConditionDefaultValue

public java.lang.String getConditionDefaultValue()
Returns the default value of the condition.
Returns:
Default value

getConditionName

public java.lang.String getConditionName()
Returns The condition name.
Returns:
Condition name

getConditionParamName

public java.lang.String getConditionParamName()
Returns the condition param name a.k.a trigger name.
Returns:
Condition param name a.k.a trigger name

getConditionParamType

public java.lang.String getConditionParamType()
Get the condition param type.
Returns:
Condition param type i.e. NUMBER, TEXT
See Also:
AlertConditionType

getConditionType

public AlertConditionType getConditionType()
Returns the condition type.
Returns:
Alert condition type
See Also:
AlertConditionType

getId

public long getId()
Get id for the condition meta data.
Returns:
id

getTriggerParameter

public FeedMetaData getTriggerParameter()
Returns the FeedMetaData object for this condition meta data.
Returns:
Feed meta data object

getXML

public org.w3c.dom.Element getXML()
Get the condition information in XML format.
Returns:
EAlement condition in XML format

save

public void save()
          throws PanamaException
Applies the 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

setCaption

public void setCaption(java.lang.String newCaption)
Set the caption for this condition.
Parameters:
newCaption - for the condition

setConditionDefaultValue

public void setConditionDefaultValue(java.lang.String condValue)
Sets the condition default value.
Parameters:
condValue - the condition default value

setConditionType

public void setConditionType(AlertConditionType condType)
Set the condition type.
Parameters:
condType - AlertConditionType object to set as
See Also:
AlertConditionType

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.