Table of Contents

Class: SubscriptionContainer SubscriptionContainer.py

Subscription Container Class

Placefull Object containing subscription information.

Base Classes   
PortalFolder
Methods   
__init__
getLanguage
getMailFrom
getSubscriptions
isAnonymousSubscriptionAllowed
isNotificationLocalOnly
isNotificationNoLocal
isSubscriptionAllowed
isUnSubscriptionAllowed
updateProperties
  __init__ 
__init__ (
        self,
        id,
        title='',
        )

Constructor

Parent's class and attributes intialization

  getLanguage 
getLanguage ( self )

Returns the subscription language

Will be use when sending emails to the mailing list

  getMailFrom 
getMailFrom ( self )

Returns the default mail from for the mails that are going to be sent by this container

More likely the WorkspaceManager

  getSubscriptions 
getSubscriptions ( self )

Get all Subscriptions contained in here.

  isAnonymousSubscriptionAllowed 
isAnonymousSubscriptionAllowed ( self )

Is Anonymous Subscription Allowed ?

  isNotificationLocalOnly 
isNotificationLocalOnly ( self )

Are notifications local only ?

Is the notifications only for user having local roles in here Do not infer with merged local roles.

  isNotificationNoLocal 
isNotificationNoLocal ( self )

Are notifications no local ?

Is the notifications only for users having local roles within the sub-folders

  isSubscriptionAllowed 
isSubscriptionAllowed ( self )

Is Subscription Allowed ?

  isUnSubscriptionAllowed 
isUnSubscriptionAllowed ( self )

Is UnSubscription Allowed ?

Usefull to provide the possibility to users to unsubscribe if they are computed as recipients based on their roles

  updateProperties 
updateProperties ( self,  **kw )

Update Subscription Folder Properties

Using kw parameter dictionnnary holding the properties


Table of Contents

This document was automatically generated on Wed Mar 31 00:28:10 2004 by HappyDoc version WORKING