Package bscw :: Package api :: Package Tasks :: Module ap_objectwbtask
[hide private]

Module ap_objectwbtask

Object to a task input,
   return id of task.

API definition::

 API = (('task_id', 'ASCII string', 1),
        ('reason', 'ASCII string', 0),
        ('objections', 'array', 0, [('name_objection', 'array', 1, [('item', 'Unicode string', 0)])]))

(c) Orbiteam Software GmbH, 2003


Version: $Rev: 20242 $

Functions [hide private]
 
param_def()
Return the parameter definition.
 
do_it(request, task_id, reason=None, objections=[])
See above.
 
object_task(request, task, objections, reason)
Object to task with objections, return task (for user requests).
 
objection_details(request, task, objections, IO_TYPE)
Apply given objections or fetch objections from task according IO_TYPE.
Variables [hide private]
  __package__ = None
Function Details [hide private]

object_task(request, task, objections, reason)

 

Object to task with objections, return task (for user requests).

objections is a list of (field name, objection string) pairs. When no non-empty objection strings are given, reason is taken when non-empty and added to the task discussion instead of the objections summary.

objection_details(request, task, objections, IO_TYPE)

 

Apply given objections or fetch objections from task according IO_TYPE. Return details for transition or system note.