|
Oracle Collaboration Suite Discussions Web Services Java API Reference 10g (10.1.2.2) Part No. B28210-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.discussions.ws.beans.Subscription
Represents a watch that an user holds on any discussions element.
An user can subscribe to any of his favorite elements.
A notification will be sent to that user, in case if there is any change in the state of the element, or any of its children he has subscribed to.
Constructor Summary | |
Subscription() Default constructor |
Method Summary | |
long |
getContainerId() Returns the container id of the container subscribed. |
java.lang.String |
getEmailAddress() Returns the email address of the user,retrieving the subscription. |
int |
getTopicId() Returns the id of the topic subscribed to. |
int |
getType() Returns the type of notification set. |
void |
setContainerId(long containerId) Sets the container id of the container being subscribed. |
void |
setEmailAddress(java.lang.String email) Sets the email address of the user, requesting subscription. |
void |
setTopicId(int topicId) Sets the id of the topic being subscribed. |
void |
setType(int type) Sets the type of notification. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Subscription()
Method Detail |
public void setEmailAddress(java.lang.String email)
All the notifications to be sent to the email specified.
public java.lang.String getEmailAddress()
public void setType(int type)
Two subscription notifications are possible.
type
- - Notification type.public int getType()
Two subscription notifications are possible.
public void setContainerId(long containerId)
containerId
- - id of the container, being subscribed.public long getContainerId()
public void setTopicId(int topicId)
If the subscription is a container subscription, topic id is set to -1.
topicId
- - id of the topic,being subscribed.public int getTopicId()
If the subscription is a container subscription, topic id is set to -1.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |