equal
  deleted
  inserted
  replaced
  
    
    
         | 
     1 #!/usr/bin/env python  | 
         | 
     2 # -*- coding: UTF-8 -*-  | 
         | 
     3 # Copyright 2008 VEB IT  | 
         | 
     4 # See COPYING for distribution information.  | 
         | 
     5 # $Id$  | 
         | 
     6   | 
         | 
     7 """Virtual Mail Manager's DomainAlias class to manage alias domains."""  | 
         | 
     8   | 
         | 
     9 from constants.VERSION import VERSION  | 
         | 
    10   | 
         | 
    11 __author__ = 'Pascal Volk <p.volk@veb-it.de>'  | 
         | 
    12 __version__ = VERSION  | 
         | 
    13 __revision__ = 'rev '+'$Rev$'.split()[1]  | 
         | 
    14 __date__ = '$Date$'.split()[1]  | 
         | 
    15   | 
         | 
    16 from Exceptions import VMMDomainAliasException as VDAE  | 
         | 
    17 import constants.ERROR as ERR  | 
         | 
    18   | 
         | 
    19 class DomainAlias:  | 
         | 
    20     """Class to manage e-mail alias domains."""  | 
         | 
    21     def __init__(self, dbh, domainname, targetDomain):  | 
         | 
    22         self._dbh = dbh  | 
         | 
    23   | 
         | 
    24     def _exists(self):  | 
         | 
    25         pass  | 
         | 
    26   | 
         | 
    27     def save(self):  | 
         | 
    28         pass  | 
         | 
    29   | 
         | 
    30     def info(self):  | 
         | 
    31         pass  | 
         | 
    32       | 
         | 
    33     def delete(self):  | 
         | 
    34         pass  |