Package bscw :: Package api :: Module ap_set_metadata
[hide private]

Module ap_set_metadata

Set metadata attributes (list of attribute, value pairs). these attributes are stored in a MetaData object. names should be given as 'namespace:name' (bscw:, dc:, priv:,). to remove a metadata give it a value of '__None__'. (similar to ap_set_attributes, with a soap compatible interface) returns list of names of metadata

API definition:

API = (('object_id', 'ASCII string', 1),
       ('metadata', 'array', 0, [('item', 'struct', 0, [('name', 'ASCII string', 0),
       ('data', 'Unicode string', 0)])]))

(c) 2010, Fraunhofer FIT and OrbiTeam Software, www.bscw.de/copyright.html


Version: $Rev: 24619 $

Functions [hide private]
 
param_def()
return the parameter definition
 
return_def()
return the result definition
 
do_it(request, object_id, metadata=[])
see above.
Variables [hide private]
  __package__ = 'bscw.api'