OwlCyberSecurity - MANAGER
Edit File: idav.pyc
� �t�ac @ sl d Z d d d d d d d d d d g Z d d l m Z m Z d d l m Z d d l m Z m Z d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( s WebDAV interfaces t PropertyStoreErrort PropertyChangeNotAllowedErrort IPropertyNamet IPropertyStoret IDataStoret IDataStoreObjectt ITransactiont INotifiert IStoreNotifierFactoryt IStoreNotifieri����( t Attributet Interface( t IMapping( t Valuest ValueConstant( t PushPriorityc B s e Z d Z RS( s Property store error. ( t __name__t __module__t __doc__( ( ( s /opt/cpanel-ccs/txdav/idav.pyR - s c B s e Z d Z d � Z RS( s$ Property cannot be edited. c C s t j | | � | | _ d S( N( R t __init__t keys( t selft messageR ( ( s /opt/cpanel-ccs/txdav/idav.pyR 8 s ( R R R R ( ( ( s /opt/cpanel-ccs/txdav/idav.pyR 3 s c B s/ e Z d Z e d � Z e d � Z d � Z RS( s Property name. t Namespacet Namec C s d S( sd Returns the string representation of the property name. @return: a string N( ( ( ( s /opt/cpanel-ccs/txdav/idav.pyt toStringH t ( R R R R t namespacet nameR ( ( ( s /opt/cpanel-ccs/txdav/idav.pyR A s c B s e Z d Z d � Z d � Z RS( s2 WebDAV property store This interface is based on L{IMapping}, but any changed to data are not persisted until C{flush()} is called, and can be undone using C{abort()}. Also, keys must be L{IPropertyName} providers and values must be L{txweb2.element.dav.base.WeDAVElement}s. c C s d S( sD Flush the property store. @return: C{None} N( ( ( ( s /opt/cpanel-ccs/txdav/idav.pyt flush^ R c C s d S( sO Abort changes to the property store. @return: C{None} N( ( ( ( s /opt/cpanel-ccs/txdav/idav.pyt abortd R ( R R R R R ( ( ( s /opt/cpanel-ccs/txdav/idav.pyR P s c B s# e Z d Z d d � Z d � Z RS( s8 An L{IDataStore} is a storage of some objects. c C s d S( sY Create a new transaction. @param label: A label to assign to this transaction for diagnostic purposes. @type label: C{str} @return: a new transaction which provides L{ITransaction}, as well as sub-interfaces to request appropriate data objects. @rtype: L{ITransaction} N( ( t label( ( s /opt/cpanel-ccs/txdav/idav.pyt newTransactionp R c C s d S( s� Set the "migrating" state to either True or False. This state is used to supress push notifications and etag changes. @param state: the boolean value to set the migrating state to @type state: C{boolean} N( ( t state( ( s /opt/cpanel-ccs/txdav/idav.pyt setMigrating~ R N( R R R t NoneR R"