Oracle Application Server Wireless Java API Reference
B10400-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()
           
 org.w3c.dom.Element getXML()
          Get the condition information in XML format
 void save()
          Applies the changes to the persistent store Note that this method DOES NOT perform a commit.
 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

getId

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

getConditionName

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

getConditionType

public AlertConditionType getConditionType()
Returns the condition type
Returns:
AlertConditionType The alert Condition type
See Also:
AlertCondtionType

setConditionType

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

getConditionDefaultValue

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

setConditionDefaultValue

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

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

getConditionParamName

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

getConditionParamType

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

getCaption

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

setCaption

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

getTriggerParameter

public FeedMetaData getTriggerParameter()

getXML

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

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.