gran.model
Class Notification

java.lang.Object
  extended bygran.model.Notification
All Implemented Interfaces:
java.io.Serializable

public class Notification
extends java.lang.Object
implements java.io.Serializable

This class describes email notification settings for specified task, filter and user.

See Also:
Serialized Form

Constructor Summary
Notification()
           
Notification(java.lang.String id)
           
Notification(java.lang.String userId, java.lang.String filterId, java.lang.String taskId, java.lang.String template)
           
Notification(User user, Filter filter, Task task, EmailType template)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Filter getFilter()
           
 java.lang.String getId()
           
 Task getTask()
           
 EmailType getTemplate()
           
 User getUser()
           
 void setFilter(Filter filter)
           
 void setId(java.lang.String id)
           
 void setTask(Task task)
           
 void setTemplate(EmailType template)
           
 void setTemplate(java.lang.String templateId)
           
 void setUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notification

public Notification(java.lang.String id)

Notification

public Notification(User user,
                    Filter filter,
                    Task task,
                    EmailType template)

Notification

public Notification(java.lang.String userId,
                    java.lang.String filterId,
                    java.lang.String taskId,
                    java.lang.String template)

Notification

public Notification()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getUser

public User getUser()

setUser

public void setUser(User user)

getFilter

public Filter getFilter()

setFilter

public void setFilter(Filter filter)

getTask

public Task getTask()

setTask

public void setTask(Task task)

equals

public boolean equals(java.lang.Object obj)

getTemplate

public EmailType getTemplate()

setTemplate

public void setTemplate(EmailType template)

setTemplate

public void setTemplate(java.lang.String templateId)


Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.