API Documentation

class PropertyManager

A Property Manager object has a collection of typed attributes called properties. Properties can be managed through the web or via DTML.

In addition to having a type, properties can be writable or read-only and can have default values.


Methods

propertyItems():

Return a list of (id, property) tuples.

Permission
Access contents information

propertyValues():

Returns a list of property values.

Permission
Access contents information

propertyMap():

Returns a tuple of mappings, giving meta-data for properties. The meta-data includes id, type, and mode.

Permission
Access contents information

propertyIds():

Returns a list of property ids.

Permission
Access contents information

getPropertyType(id):

Get the type of property id. Returns None if no such property exists.

Permission
Access contents information

getProperty(id, d=None):

Return the value of the property id. If the property is not found the optional second argument or None is returned.

Permission
Access contents information

hasProperty(id):

Returns a true value if the Property Manager has the property id. Otherwise returns a false value.

Permission
Access contents information