Class descriptions

CatalogAware (Zope2)

This is a Mix-In class to make objects automaticly catalog and uncatalog themselves in Zope, and to provide some other basic attributes that are useful to catalog. Note that if your class or ZClass subclasses CatalogAware, it will only catalog itself when it is added or copied in Zope. If you make changes to your own object, you are responsible for calling your object's index_object method.

Attributes
Operations

ObjectManager (Zope2)

This class provides core behavior for collections of heterogeneous objects.

Attributes
Operations

SmallObligationFolder ()

This is a simple folder. It only allows instances of Small Obligation inside. It also has an XML-RPC method that returns a list of obligations, but each obligation should also be grouped with the URL of the Small Obligation Folder The XML-RPC returns a list of dictionaries like; [{'TITLE': 'Air quality 3-year reporting obligation', 'SOURCE_TITLE': '<title of small obligations folder>', 'PK_SOURCE_ID': '<url-of-website>/obligations', 'PK_RA_ID': '<url-of-website>/obligations/163'}, ]

Attributes
Operations
list_obligations Return a list of obligations suitable for Reportek/CDR

SmallObligation ()

Similarly simple.

Attributes
title
localities
description Description is a large text field 60x15 that contain information for the responsible on what to collect, to whom and how to send it.
requester The requester is an email address of the "owner" of the obligation. Emails sent out are sent out in his name.
Operations
email_notifications

SmallLocalityFolder ()

This is a simple folder. It only allows instances of Small Locality inside. It has an XML-RPC method that returns a list of localities with just id and title. If the Small Locality Folder is created as /localities in the website and there is a locality called "21" then the id returned in the XML-RPC method is <url-of-website>/localities/21

Attributes
Operations
list_localities Return a list of localities in XML-RPC suitable for CDR/Reportek

SmallLocality ()

This is a simple object with only id, title and a list of email addresses that can be used to send out notifications.

Attributes
title
responsibles An array of email addresses that can be used to send out notifications
Operations

PropertyManager (Zope2)

The PropertyManager mixin class provides an object with transparent property management. An object which wants to have properties should inherit from PropertyManager. An object may specify that it has one or more predefined properties, by specifying an _properties structure in its class: The _properties structure is a sequence of dictionaries, where each dictionary represents a predefined property. Note that if a predefined property is defined in the _properties structure, you must provide an attribute with that name in your class or instance that contains the default value of the predefined property.

Attributes
Operations