|
Package bscw ::
Package api ::
Module ap_replace
|
|
Module ap_replace
Replace a document
returns id of document
API definition::
API = (('object_id', 'ASCII string', 1),
('data', 'base64', 1),
('type', 'ASCII string', 0),
('encoding', 'ASCII string', 0),
('description', 'Unicode string', 0),
('checkin', 'boolean', 0))
(c) Fraunhofer FIT & OrbiTeam Software, 2002-2008
|
|
param_def()
return the parameter definition |
|
|
|
|
do_it(request,
object_id,
data,
type='',
encoding='',
descr='',
checkin=False)
see above |
|
|
|
|
replace_doc(doc,
request,
fname,
fsize,
type,
encoding,
descr='',
check_in=0,
vidNew=None,
state=None,
changes='',
auto_version=0) |
|
|
|
|
|
|
|
log_api = logging.getLogger('api')
|
|
|
__package__ = 'bscw.api'
|