Package CMFDefault :: Package tests :: Module test_MetadataTool :: Class Bar
[show private | hide private]
[frames | no frames]

Type Bar

           object --+                
                    |                
                 Base --+            
                        |            
         Node --+       |            
                |       |            
          Element --+   |            
                    |   |            
ElementWithAttributes --+            
                        |            
          PropertyManager --+        
                            |        
        DefaultDublinCoreImpl --+    
                                |    
                              Foo --+
                                    |
                                   Bar


Mix-in class which provides Dublin Core methods.
Method Summary
  getPortalTypeName(self)
    Inherited from Foo
  __init__(self)
    Inherited from DefaultDublinCoreImpl
  addCreator(self, creator)
Add creator to Dublin Core creators.
  content_type(self)
WebDAV needs this to do the Right Thing (TM).
  Contributors(self)
Deprecated alias of listContributors.
  created(self)
Dublin Core Date element - date resource created.
  CreationDate(self)
Dublin Core Date element - date resource created.
  Creator(self)
Dublin Core Creator element - resource author.
  Date(self)
Dublin Core Date element - default date.
  Description(self)
Dublin Core Description element - resource summary.
  editMetadata(self, title, subject, description, contributors, effective_date, expiration_date, format, language, rights)
Need to add check for webDAV locked resource for TTW methods.
  effective(self)
Dublin Core Date element - date resource becomes effective.
  EffectiveDate(self)
Dublin Core Date element - date resource becomes effective.
  ExpirationDate(self)
Dublin Core Date element - date resource expires.
  expires(self)
Dublin Core Date element - date resource expires.
  Format(self)
Dublin Core Format element - resource format.
  getMetadataHeaders(self)
Return RFC-822-style headers.
  Identifier(self)
Dublin Core Identifier element - resource ID.
  isEffective(self, date)
Is the date within the resource's effective range?
  Language(self)
Dublin Core Language element - resource language.
  listContributors(self)
Dublin Core Contributor elements - resource collaborators.
  listCreators(self)
List Dublin Core Creator elements - resource authors.
  manage_editMetadata(self, title, subject, description, contributors, effective_date, expiration_date, format, language, rights, REQUEST)
Update metadata from the ZMI.
  ModificationDate(self)
Dublin Core Date element - date resource last modified.
  modified(self)
Dublin Core Date element - date resource last modified.
  notifyModified(self)
Take appropriate action after the resource has been modified.
  Publisher(self)
Dublin Core Publisher element - resource publisher.
  Rights(self)
Dublin Core Rights element - resource copyright.
  setContributors(self, contributors)
Set Dublin Core Contributor elements - resource collaborators.
  setCreators(self, creators)
Set Dublin Core Creator elements - resource authors.
  setDescription(self, description)
Set Dublin Core Description element - resource summary.
  setEffectiveDate(self, effective_date)
Set Dublin Core Date element - date resource becomes effective.
  setExpirationDate(self, expiration_date)
Set Dublin Core Date element - date resource expires.
  setFormat(self, format)
Set Dublin Core Format element - resource format.
  setLanguage(self, language)
Set Dublin Core Language element - resource language.
  setModificationDate(self, modification_date)
Set the date when the resource was last modified.
  setRights(self, rights)
Set Dublin Core Rights element - resource copyright.
  setSubject(self, subject)
Set Dublin Core Subject element - resource keywords.
  setTitle(self, title)
Set Dublin Core Title element - resource name.
  Subject(self)
Dublin Core Subject element - resource keywords.
  Title(self)
Dublin Core Title element - resource name.
  Type(self)
Dublin Core Type element - resource type.
  _datify(self, attrib)
  _editMetadata(self, title, subject, description, contributors, effective_date, expiration_date, format, language, rights)
Update the editable metadata for this resource.
    Inherited from PropertyManager
  getProperty(self, id, d)
Get the property 'id'.
  getPropertyType(self, id)
Get the type of property 'id'.
  hasProperty(self, id)
Return true if object has a property 'id'.
  manage_addProperty(self, id, value, type, REQUEST)
Add a new property via the web.
  manage_changeProperties(self, REQUEST, **kw)
Change existing object properties.
  manage_changePropertyTypes(self, old_ids, props, REQUEST)
Replace one set of properties with another
  manage_delProperties(self, ids, REQUEST)
Delete one or more properties specified by 'ids'.
  manage_editProperties(self, REQUEST)
Edit object properties via the web.
  propdict(self)
  propertyIds(self)
Return a list of property ids.
  propertyItems(self)
Return a list of (id,property) tuples.
  propertyLabel(self, id)
Return a label for the given property id
  propertyMap(self)
Return a tuple of mappings, giving meta-data for properties.
  propertyValues(self)
Return a list of actual property objects.
  valid_property_id(self, id)
  _delProperty(self, id)
  _delPropValue(self, id)
  _propertyMap(self)
Return a tuple of mappings, giving meta-data for properties.
  _setProperty(self, id, value, type)
  _setPropValue(self, id, value)
  _updateProperty(self, id, value)
  _wrapperCheck(self, object)
    Inherited from ElementWithAttributes
  getAttribute(self, name)
Retrieves an attribute value by name.
  getAttributeNode(self, name)
Retrieves an Attr node by name or None if there is no such attribute.
  getAttributes(self)
Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise.
    Inherited from Element
  getChildNodes(self)
Returns a NodeList that contains all children of this node.
  getElementsByTagName(self, tagname)
Returns a NodeList of all the Elements with a given tag name in the order in which they would be encountered in a preorder traversal of the Document tree.
  getFirstChild(self)
The first child of this node.
  getLastChild(self)
The last child of this node.
  getNextSibling(self)
The node immediately preceding this node.
  getNodeName(self)
The name of this node, depending on its type
  getNodeType(self)
A code representing the type of the node.
  getParentNode(self)
The parent of this node.
  getPreviousSibling(self)
The node immediately preceding this node.
  getTagName(self)
The name of the element
    Inherited from Node
  getNodeValue(self)
The value of this node, depending on its type
  getOwnerDocument(self)
The Document object associated with this node.
  hasChildNodes(self)
Returns true if the node has any children, false if it doesn't.
    Inherited from Base
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __getnewargs__(...)
Get arguments to be passed to __new__
  __getstate__(...)
Get the object serialization state
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
Reduce an object to contituent parts for serialization
  __setstate__(...)
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
    Inherited from Foo
str description = ''
str format = ''
str language = ''
str rights = ''
tuple subject = ()
str title = ''
    Inherited from DefaultDublinCoreImpl
tuple __ac_permissions__ = (('Modify portal content', ('setTit...
Implements __implemented__ = <implementedBy Products.CMFDefault.Dub...
tuple __implements__ = (<Interface Products.CMFCore.interfaces...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
tuple _datify__roles__ = ()
tuple _editMetadata__roles__ = ()
PermissionRole addCreator__roles__ = <PermissionRole object at 0xb6fec0...
PermissionRole Contributors__roles__ = <PermissionRole object at 0xb6fe...
PermissionRole created__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole CreationDate__roles__ = <PermissionRole object at 0xb6fe...
PermissionRole Creator__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole Date__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole Description__roles__ = <PermissionRole object at 0xb6fec...
PermissionRole editMetadata__roles__ = <PermissionRole object at 0xb6fe...
PermissionRole effective__roles__ = <PermissionRole object at 0xb6fec4e...
PermissionRole EffectiveDate__roles__ = <PermissionRole object at 0xb6f...
PermissionRole ExpirationDate__roles__ = <PermissionRole object at 0xb6...
PermissionRole expires__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole Format__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole getMetadataHeaders__roles__ = <PermissionRole object at ...
PermissionRole Identifier__roles__ = <PermissionRole object at 0xb6fec4...
PermissionRole isEffective__roles__ = <PermissionRole object at 0xb6fec...
PermissionRole Language__roles__ = <PermissionRole object at 0xb6fec4e8...
PermissionRole listContributors__roles__ = <PermissionRole object at 0x...
PermissionRole listCreators__roles__ = <PermissionRole object at 0xb6fe...
PermissionRole manage_editMetadata__roles__ = <PermissionRole object at...
DTMLFile manage_metadata = <App.special_dtml.DTMLFile object at 0...
PermissionRole manage_metadata__roles__ = <PermissionRole object at 0xb...
NoneType modification_date = None                                                                  
PermissionRole ModificationDate__roles__ = <PermissionRole object at 0x...
PermissionRole modified__roles__ = <PermissionRole object at 0xb6fec4e8...
tuple notifyModified__roles__ = ()
PermissionRole Publisher__roles__ = <PermissionRole object at 0xb6fec4e...
PermissionRole Rights__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole setContributors__roles__ = <PermissionRole object at 0xb...
PermissionRole setCreators__roles__ = <PermissionRole object at 0xb6fec...
PermissionRole setDescription__roles__ = <PermissionRole object at 0xb6...
PermissionRole setEffectiveDate__roles__ = <PermissionRole object at 0x...
PermissionRole setExpirationDate__roles__ = <PermissionRole object at 0...
PermissionRole setFormat__roles__ = <PermissionRole object at 0xb6fec0b...
PermissionRole setLanguage__roles__ = <PermissionRole object at 0xb6fec...
PermissionRole setModificationDate__roles__ = <PermissionRole object at...
PermissionRole setRights__roles__ = <PermissionRole object at 0xb6fec0b...
PermissionRole setSubject__roles__ = <PermissionRole object at 0xb6fec0...
PermissionRole setTitle__roles__ = <PermissionRole object at 0xb6fec0b0...
PermissionRole Subject__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole Title__roles__ = <PermissionRole object at 0xb6fec4e8>
PermissionRole Type__roles__ = <PermissionRole object at 0xb6fec4e8>
DateTime _DefaultDublinCoreImpl__CEILING_DATE = DateTime('2499/12...
DateTime _DefaultDublinCoreImpl__FLOOR_DATE = DateTime('1969/12/3...
    Inherited from PropertyManager
tuple __propsets__ = ()
PermissionRole __roles__ = <PermissionRole object at 0xb74577b8>
PermissionRole getProperty__roles__ = <PermissionRole object at 0xb7457...
PermissionRole getPropertyType__roles__ = <PermissionRole object at 0xb...
PermissionRole hasProperty__roles__ = <PermissionRole object at 0xb7457...
PermissionRole manage_addProperty__roles__ = <PermissionRole object at ...
PermissionRole manage_changeProperties__roles__ = <PermissionRole objec...
PermissionRole manage_changePropertyTypes__roles__ = <PermissionRole ob...
PermissionRole manage_delProperties__roles__ = <PermissionRole object a...
PermissionRole manage_editProperties__roles__ = <PermissionRole object ...
tuple manage_options = ({'action': 'manage_propertiesForm', 'h...
DTMLFile manage_propertiesForm = <App.special_dtml.DTMLFile objec...
PermissionRole manage_propertiesForm__roles__ = <PermissionRole object ...
DTMLFile manage_propertyTypeForm = <App.special_dtml.DTMLFile obj...
PermissionRole manage_propertyTypeForm__roles__ = <PermissionRole objec...
PermissionRole propertyIds__roles__ = <PermissionRole object at 0xb7457...
PermissionRole propertyItems__roles__ = <PermissionRole object at 0xb74...
PermissionRole propertyMap__roles__ = <PermissionRole object at 0xb7457...
vps propertysheets = <OFS.PropertySheets.vps object at 0xb74...
PermissionRole propertyValues__roles__ = <PermissionRole object at 0xb7...
tuple _properties = ({'type': 'string', 'id': 'title', 'mode':...
tuple _reserved_names = ()
    Inherited from Node
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Generated by Epydoc 2.1 on Wed Nov 30 03:58:56 2005 http://epydoc.sf.net