Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ec.notification
Class NotificationImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.ec.notification.NotificationImpl
All Implemented Interfaces:
Serializable, Notification

public class NotificationImpl
extends Object
implements Notification

A notification that a user can subscribe to.

It has:

Author:
Narcis Paslaru, Thierry Martins
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.platform.notification.api.Notification
EMAIL_NOTIFICATION
 
Constructor Summary
NotificationImpl(String name, String template, String channel, String subjectTemplate, boolean autoSubscribed, String subject, String availableIn, String label)
           
 
Method Summary
 boolean equals(Object obj)
           
 boolean getAutoSubscribed()
           
 String getAvailableIn()
           
 String getChannel()
           
 boolean getEnabled()
           
 String getLabel()
           
 String getName()
           
 String getSubject()
           
 String getSubjectTemplate()
           
 String getTemplate()
           
 int hashCode()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationImpl

public NotificationImpl(String name,
                        String template,
                        String channel,
                        String subjectTemplate,
                        boolean autoSubscribed,
                        String subject,
                        String availableIn,
                        String label)
Method Detail

getName

public String getName()
Specified by:
getName in interface Notification
Returns:
the name.

getChannel

public String getChannel()
Specified by:
getChannel in interface Notification
Returns:
the channel.

getTemplate

public String getTemplate()
Specified by:
getTemplate in interface Notification
Returns:
the template.

getAutoSubscribed

public boolean getAutoSubscribed()
Specified by:
getAutoSubscribed in interface Notification
Returns:
the autoSubscribed.

getSubject

public String getSubject()
Specified by:
getSubject in interface Notification
Returns:
the subject.

getSubjectTemplate

public String getSubjectTemplate()
Specified by:
getSubjectTemplate in interface Notification
Returns:
the subject template.

getAvailableIn

public String getAvailableIn()
Specified by:
getAvailableIn in interface Notification
Returns:
the availableIn.

getLabel

public String getLabel()
Specified by:
getLabel in interface Notification

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getEnabled

public boolean getEnabled()
Specified by:
getEnabled in interface Notification

setEnabled

public void setEnabled(boolean enabled)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.