OwlCyberSecurity - MANAGER
Edit File: idirectoryservice.pyc
� �t�ac @ s� d Z d d l m Z m Z d d g Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( s% Common directory service interfaces i����( t Interfacet Attributet IStoreDirectoryServicet IStoreDirectoryRecordt IStoreDirectoryErrorc B s e Z d Z RS( s2 Base class for directory related errors. ( t __name__t __module__t __doc__( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyR s t DirectoryRecordNotFoundErrorc B s e Z d Z RS( s% Directory record not found. ( R R R ( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyR $ s c B s e Z d Z d � Z d � Z RS( s1 Directory Service for looking up users. c C s d S( s� Return the record for the specified store uid. @return: the record. @rtype: L{IStoreDirectoryRecord} N( ( t uid( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyt recordWithUID/ t c C s d S( s� Return the record for the specified store guid. @return: the record. @rtype: L{IStoreDirectoryRecord} N( ( t guid( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyt recordWithGUID7 R ( R R R R R ( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyR * s c B sY e Z d Z e d � Z e d � Z e d � Z e d � Z d � Z d � Z d � Z RS( sR Directory record object A record identifies a "user" in the system. s The record UID: C{str}s# Short names of the record: C{tuple}s; Full name for the entity associated with the record: C{str}s: Display name for entity associated with the record: C{str}c C s d S( so Return the URI for the record's server "pod". @return: a URI. @rtype: C{str} N( ( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyt serverURIO R c C s d S( s� Return the L{txdav.caldav.datastore.scheduling.localservers.Server} for the record's server "pod". @return: a pod server record. @rtype: L{txdav.caldav.datastore.scheduling.localservers.Server} N( ( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyt serverW R c C s d S( s� Indicates whether the record is hosted on this server "pod". @return: C{True} if hosted by this service. @rtype: C{bool} N( ( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyt thisServer_ R ( R R R R R t shortNamest fullNamet displayNameR R R ( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyR @ s N( R t zope.interface.interfaceR R t __all__t ExceptionR R R R ( ( ( s1 /opt/cpanel-ccs/txdav/common/idirectoryservice.pyt <module> s