Ignore:
Timestamp:
24 Mar 2010, 13:00:31 (15 years ago)
Author:
uli
Message:

Add interface for batch container and let access code interface derive
from IWAeUPObject.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/interfaces.py

    r5078 r5081  
    44from zope import schema
    55from zope.interface import Interface
     6from waeup.sirp.interfaces import IWAeUPObject
    67
    7 class IAccessCode(Interface):
     8class IAccessCode(IWAeUPObject):
    89    """An access code.
    910    """
     
    4950        title = u'Batch number',
    5051        )
     52
     53class IAccessCodeBatchContainer(IWAeUPObject):
     54    """A container for access code batches.
     55    """
     56
     57    def addBatch(batch):
     58        """Add a batch.
     59        """
Note: See TracChangeset for help on using the changeset viewer.