Products.MightyCal.Calendar.CalendarRegistry (version 1.11)
index
/home/zope/lib/python/Products/MightyCal/Calendar/CalendarRegistry.py

CalendarRegistry Class.  Contains the Calendars defined for the MightyCal

 
Modules
            
Acquisition
Dumper
os
sys

 
Classes
            
Acquisition.Acquirer
CalendarRegistry(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
Acquisition.ExplicitAcquirer
CalendarRegistry(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
Products.MightyCal.SFolder.SFolder(OFS.Folder.Folder, Acquisition.ExplicitAcquirer, Acquisition.Acquirer)
CalendarRegistry(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)

 
class CalendarRegistry
      CalendarRegistry Class.  Holds all defined Calendars for a MightyCal
 
  
__init__(self)
Construct a new instance of CalendarRegistry
createCalendar(self, id, title, description, useExisting, userInfo, REQUEST=None)
Handles the various steps for creating a new Calendar
deleteCalendars(self, ids, REQUEST=None)
Delete the given list of Calendars from our registry
getCalendarAdmins(self, REQUEST=None)
Fetch a list of currently defined CalendarAdmin users, if any
getCalendarDescriptor(self, calendarId, REQUEST=None)
Returns a single Calendar descriptor dictionary from the Calendars container
getCalendarDescriptors(self, REQUEST=None)
Returns a List of Calendar descriptor dictionaries from the Calendars container
getDefaultCalendar(self)
Return the Calendar object that is set as the default

 
Functions
            
manage_addCalendarRegistry(container, id)
# Not available via ZMI
manage_addCalendarRegistryForm()
# Not available via ZMI

 
Data
             ADD_CALENDAR_METHOD = 'addCalendar'

CALENDAR_ADMIN_ROLE = 'CalendarAdmin'

CALENDAR_OBJECT = 'Calendar'

CALENDAR_REGISTRY = 'CalendarRegistry'

COMMON_ID = 'Common'

DEFAULT_CALENDAR_SLOT = 'calendar'

DEFAULT_FORMAT_SLOT = 'format'

DEFAULT_STYLESHEET_SLOT = 'stylesheet'

DEFAULT_TEMPLATE_SLOT = 'template'

DESCRIPTION_PROPERTY = 'description'

DIALOG_BOX = 'dialogBox'

DOMAINS = 'domains'

DTML_DIR = 'dtml'

EDIT_PROPERTIES_METHOD = 'manage_main'

EVENT_CATALOG = 'EventCatalog'

EVENT_TYPES_PROPERTY = 'eventTypes'

EVENT_TYPE_REGISTRY = 'EventTypeRegistry'

EXISTING_USER = 'existingUser'

ID_PROPERTY = 'id'

INFO = 0

MessageDialog = <HTML instance at 82c28f8>

NAME = 'name'

OWNER_PROPERTY = 'owner'

PACKAGE_NAME = 'Calendar'

ROLES = 'roles'

TITLE_PROPERTY = 'title'

USER_REGISTRY = 'acl_users'

__file__ = '/home/zope/lib/python/Products/MightyCal/Calendar/CalendarRegistry.pyc'

__name__ = 'Products.MightyCal.Calendar.CalendarRegistry'

__version__ = '$Revision: 1.11 $'

permAddCalendar = 'Add Calendars'

permViewMgmtScreen = 'View management screens'