|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Subscription
Method Summary | |
---|---|
java.util.Locale |
getLocale()
Returns the locale to use to format the notification mails, returns null if not set. |
boolean |
getReceiveAclEvents()
|
boolean |
getReceiveCollectionEvents()
|
boolean |
getReceiveCommentEvents()
|
boolean |
getReceiveDocumentEvents()
|
boolean |
getReceiveSchemaEvents()
|
boolean |
getReceiveUserEvents()
|
CollectionSubscriptionKey[] |
getSubscribedCollectionKeys()
|
org.outerj.daisy.repository.VariantKey[] |
getSubscribedVariantKeys()
|
long |
getUserId()
Returns the user to which this subscription applies. |
org.outerx.daisy.x10.SubscriptionDocument |
getXml()
|
void |
save()
|
void |
setFromXml(org.outerx.daisy.x10.SubscriptionDocument.Subscription subscriptionXml)
|
void |
setLocale(java.util.Locale locale)
Sets the locale used to format the notification mails. |
void |
setReceiveAclEvents(boolean value)
|
void |
setReceiveCollectionEvents(boolean value)
|
void |
setReceiveCommentEvents(boolean value)
|
void |
setReceiveDocumentEvents(boolean value)
|
void |
setReceiveSchemaEvents(boolean value)
|
void |
setReceiveUserEvents(boolean value)
|
void |
setSubscribedCollectionKeys(CollectionSubscriptionKey[] keys)
Note: if any of the CollectionSubscriptionKey components for an entry is '-1', it means 'any'. |
void |
setSubscribedVariantKeys(org.outerj.daisy.repository.VariantKey[] keys)
Note: if any of the VariantKey components for an entry is '-1', it means 'any'. |
Method Detail |
---|
long getUserId()
void setReceiveDocumentEvents(boolean value)
boolean getReceiveDocumentEvents()
void setReceiveSchemaEvents(boolean value)
boolean getReceiveSchemaEvents()
void setReceiveUserEvents(boolean value)
boolean getReceiveUserEvents()
void setReceiveCollectionEvents(boolean value)
boolean getReceiveCollectionEvents()
void setReceiveAclEvents(boolean value)
boolean getReceiveAclEvents()
void setReceiveCommentEvents(boolean value)
boolean getReceiveCommentEvents()
java.util.Locale getLocale()
void setLocale(java.util.Locale locale)
locale
- can be nullorg.outerj.daisy.repository.VariantKey[] getSubscribedVariantKeys()
void setSubscribedVariantKeys(org.outerj.daisy.repository.VariantKey[] keys)
CollectionSubscriptionKey[] getSubscribedCollectionKeys()
void setSubscribedCollectionKeys(CollectionSubscriptionKey[] keys)
void save() throws org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.RepositoryException
org.outerx.daisy.x10.SubscriptionDocument getXml()
void setFromXml(org.outerx.daisy.x10.SubscriptionDocument.Subscription subscriptionXml)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |