common/appobject.py
changeset 447 0e52d72104a6
parent 237 3df2e0ae2eba
child 631 99f5852f8604
child 1808 aa09e20dd8c0
equal deleted inserted replaced
446:3a3ab6bbccc5 447:0e52d72104a6
     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