org.ow2.jasmine.event.beans
Class JasmineEventNotificationUpdate

java.lang.Object
  extended by org.ow2.jasmine.event.beans.JasmineEventNotificationUpdate
All Implemented Interfaces:
java.io.Serializable, IJasmineEventNotification

public class JasmineEventNotificationUpdate
extends java.lang.Object
implements IJasmineEventNotification, java.io.Serializable

Contains informations to update a stored JasmineEventNotification. The update will add a JasmineEventNotificationDetail, or a JasmineEventNotificationExecutedAction. Filters have to be set to get a unique notification to update.

Author:
Guillaume Renault
See Also:
Serialized Form

Constructor Summary
JasmineEventNotificationUpdate(JasmineEventNotificationDetail p_detail)
          Initialize the SearchFilter list and set the detail to add.
JasmineEventNotificationUpdate(JasmineEventNotificationExecutedAction p_action)
          Initialize the SearchFilter list and set the action to add.
 
Method Summary
 void addSearchFilter(SearchFilter searchFilter)
          Add a SearchFilter to the list.
 JasmineEventNotificationExecutedAction getAction()
           
 java.lang.String getComment()
           
 JasmineEventNotificationDetail getDetail()
           
 java.lang.String getRule()
           
 java.util.List<SearchFilter> getSearchFilters()
           
 java.lang.String getUser()
           
 void setAction(JasmineEventNotificationExecutedAction action)
           
 void setComment(java.lang.String comment)
           
 void setDetail(JasmineEventNotificationDetail detail)
           
 void setRule(java.lang.String rule)
           
 void setUser(java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasmineEventNotificationUpdate

public JasmineEventNotificationUpdate(JasmineEventNotificationDetail p_detail)
Initialize the SearchFilter list and set the detail to add.

Parameters:
p_detail - the JasmineEventNotificationDetail to add.

JasmineEventNotificationUpdate

public JasmineEventNotificationUpdate(JasmineEventNotificationExecutedAction p_action)
Initialize the SearchFilter list and set the action to add.

Parameters:
p_detail - the JasmineEventNotificationExecutedAction to add.
Method Detail

getDetail

public JasmineEventNotificationDetail getDetail()
Returns:
the detail

setDetail

public final void setDetail(JasmineEventNotificationDetail detail)
Parameters:
detail - the detail to set

getAction

public final JasmineEventNotificationExecutedAction getAction()
Returns:
the action

setAction

public final void setAction(JasmineEventNotificationExecutedAction action)
Parameters:
action - the action to set

getSearchFilters

public java.util.List<SearchFilter> getSearchFilters()
Returns:
the filters

addSearchFilter

public void addSearchFilter(SearchFilter searchFilter)
Add a SearchFilter to the list.

Parameters:
searchFilter - the SearchFilter to add.

getComment

public final java.lang.String getComment()
Returns:
the comment

setComment

public final void setComment(java.lang.String comment)
Parameters:
comment - the comment to set

getUser

public final java.lang.String getUser()
Returns:
the user

setUser

public final void setUser(java.lang.String user)
Parameters:
user - the user to set

getRule

public java.lang.String getRule()

setRule

public void setRule(java.lang.String rule)


Copyright © 2011 OW2 Consortium. All Rights Reserved.