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

Module ap_forwardwbtask

forwards a task
   returns id of forwarded task

   The user delegates his current reposibility on the task. Normally this is
   either the requestor role or the contractor role.
   If the user is both, requestor and contractor, the delegated role depends
   on the task's current status.
   If the requestor role is delegated and no contractors are designated, the
   new requestors can act as contractors too.

   Resposibilities of other users are not changed.

API definition::

 API = (('task_id', 'ASCII string', 1),
        ('users', 'array', 1, [('username', 'ASCII string', 1)]),
        ('keep_me', 'boolean', 1),
        ('comment', 'Unicode string', 0))

(c) Orbiteam Software GmbH, 2003


Version: $Rev: 20268 $

Functions [hide private]
 
param_def()
return the parameter definition
 
do_it(request, task_id, users, keep_me, comment='')
see above
 
user_delegates(task)
 
do_it1(request, task, users, keep_me, comment)
 
check_it(request, task, users, keep_me, comment, delegates)
 
do_it2(*args)
 
do_it3(request, task, users, keep_me, comment, delegates)
Variables [hide private]
  __package__ = 'bscw.api.Tasks'