| Trees | Indices | Help |
|
|---|
|
|
list events (used by portal widgets)
If sort is None: events are sorted by hierarchy
If period is None: no period is applied
If flter is None: no filter is applied
filter may be set to the following (string) values:
all | others | new | newothers
If attributes is empty: default attributes are returned
If maxcount is not 0: return no more than 'maxcount' entries
If offset is not 0: return items starting from 'offset'
If modified is not 0:
return items with last-modified date > 'modified' (UTC timestamp)
returns list of events matching the query
and the remaining events
and the last modified time
note: only unconfirmed events are considered
API definition::
API = (('object_id', 'ASCII string', 1),
('sort', 'ASCII string', 0),
('period', 'ASCII string', 0),
('flter', 'ASCII string', 0),
('attributes', 'array', 0, [('item', 'ASCII string', 1)]),
('maxcount', 'int', 0),
('offset', 'int', 0),
('modified', 'double', 0))
(c) OrbiTeam Software, 2009-2010
Version: $Rev: 25268 $
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
log_api = logging.getLogger('api')
|
|||
ignore_CantCommit = True
|
|||
default_attributes =
|
|||
FILTER_OTHER =
|
|||
FILTER_OWN =
|
|||
FILTER_NEW =
|
|||
__package__ =
|
|||
|
|||
return anchor'ed path to object (w/o object itself) cf. get_attributes param 'anchor_path_head' |
|
|||
default_attributes
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Apr 5 14:47:54 2012 | http://epydoc.sourceforge.net |