com.day.cq.wcm.notification.inbox
Interface Message

All Known Implementing Classes:
MessageImpl

public interface Message

This object describes a single message in the user inbox.


Method Summary
 String getId()
          The unique of the message.
 Date getModificationDate()
          The modification date .
 String getModificationType()
          The modification type .
 String getPath()
          The path .
 String getReason()
          The reason .
 String getReasonId()
          The reason id .
 String getTopic()
          The topic .
 String getUserId()
          The user id .
 boolean isRead()
          Is the message aleady read? .
 void save()
          Save the changes.
 void setIsRead(boolean value)
          Is the message aleady read? .
 void setModificationDate(Date value)
          The modification date .
 void setModificationType(String value)
          The modification type .
 void setPath(String value)
          The path .
 void setReason(String value)
          The reason .
 void setReasonId(String value)
          The reason id .
 void setTopic(String value)
          Change the topic.
 void setUserId(String value)
          The user id .
 

Method Detail

getId

String getId()
The unique of the message.


getTopic

String getTopic()
The topic .


setTopic

void setTopic(String value)
Change the topic.


getModificationType

String getModificationType()
The modification type .


setModificationType

void setModificationType(String value)
The modification type .


getPath

String getPath()
The path .


setPath

void setPath(String value)
The path .


getModificationDate

Date getModificationDate()
The modification date .


setModificationDate

void setModificationDate(Date value)
The modification date .


isRead

boolean isRead()
Is the message aleady read? .


setIsRead

void setIsRead(boolean value)
Is the message aleady read? .


getReason

String getReason()
The reason .


setReason

void setReason(String value)
The reason .


getReasonId

String getReasonId()
The reason id .


setReasonId

void setReasonId(String value)
The reason id .


getUserId

String getUserId()
The user id .


setUserId

void setUserId(String value)
The user id .


save

void save()
          throws IOException
Save the changes.

Throws:
IOException


Copyright © 2008 Day Management AG. All Rights Reserved.