1 """Base class for dynamically loaded objects manipulated in the web interface |
1 """Base class for dynamically loaded objects manipulated in the web interface |
2 |
2 |
3 :organization: Logilab |
3 :organization: Logilab |
4 :copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 """ |
6 """ |
7 __docformat__ = "restructuredtext en" |
7 __docformat__ = "restructuredtext en" |
8 |
8 |
9 from warnings import warn |
9 from warnings import warn |
10 |
10 |
11 from mx.DateTime import now, oneSecond |
11 from mx.DateTime import now, oneSecond |
12 from simplejson import dumps |
12 from simplejson import dumps |
13 |
13 |
14 from logilab.common.deprecation import obsolete |
14 from logilab.common.deprecation import obsolete |
|
15 |
|
16 from rql.nodes import VariableRef, SubQuery |
15 from rql.stmts import Union, Select |
17 from rql.stmts import Union, Select |
16 |
18 |
17 from cubicweb import Unauthorized |
19 from cubicweb import Unauthorized |
18 from cubicweb.vregistry import VObject |
20 from cubicweb.vregistry import VObject |
19 from cubicweb.common.utils import UStringIO |
21 from cubicweb.common.utils import UStringIO |