| Trees | Index | Help |
|
|---|
| Package p6 :: Package metadata :: Module adapters |
|
| Function Summary | |
|---|---|
| sequence |
Adapts an IUpdateMetadataEvent to a particular interface, returning a list of Items which implement that interface. |
| sequence |
Adapts an IUpdateMetadataEvent to a particular interface, returning a list of Storage which implement that interface. |
Converts a Metadata Group to an XML string. | |
Event handler for p6.metadata.events.ILoadMetadataEvent. | |
Event handler for p6.metadata.events.IUpdateMetadataEvent. | |
| Function Details |
|---|
collectRootAppliesTo(event)Adapts an IUpdateMetadataEvent to a particular interface, returning a list of Items which implement that interface. Used for updating metadata when we know the interface, but not instance we want to apply the value to.
|
collectStorageAppliesTo(event)Adapts an IUpdateMetadataEvent to a particular interface, returning a list of Storage which implement that interface. Used for updating metadata when we know the interface, but not instance we want to apply the value to.
|
groupToXml(metaGroup)Converts a Metadata Group to an XML string. |
loadMetadata(event)Event handler forp6.metadata.events.ILoadMetadataEvent.
Attempts to load the value for the field from persistant storage.
|
updateMetadata(event)Event handler forp6.metadata.events.IUpdateMetadataEvent.
Attempts to adapt the event's item to IMetadataStorage and set the
value. If the field is flagged for persistant storage, it's value is
stored.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jun 24 12:01:20 2005 | http://epydoc.sf.net |