provide basic information for RegistrationTemplate

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1856 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2007-08-01 08:33:17 +00:00
parent 53acc23802
commit 821b922f6a
2 changed files with 9 additions and 1 deletions

View file

@ -204,6 +204,11 @@ class IRegistration(Interface):
client = Attribute('The client registered') client = Attribute('The client registered')
class IRegistrationTemplate(Interface):
""" Provides and processes data for a service registration form.
"""
class IResource(Interface): class IResource(Interface):
""" A resource is needed by a service to be able to work, e.g. a """ A resource is needed by a service to be able to work, e.g. a
room or a bus. A resource may have a limited capacity so that room or a bus. A resource may have a limited capacity so that

View file

@ -32,6 +32,7 @@ from cybertools.util.jeep import Jeep
from cybertools.composer.schema.interfaces import IClientManager from cybertools.composer.schema.interfaces import IClientManager
from cybertools.organize.interfaces import IServiceManager from cybertools.organize.interfaces import IServiceManager
from cybertools.organize.interfaces import IService, IScheduledService from cybertools.organize.interfaces import IService, IScheduledService
from cybertools.organize.interfaces import IRegistration, IRegistrationTemplate
class ServiceManager(object): class ServiceManager(object):
@ -97,11 +98,13 @@ class ScheduledService(Service):
class Registration(object): class Registration(object):
implements(IRegistration)
def __init__(self, client): def __init__(self, client):
self.client = client self.client = client
class RegistrationTemplate(object): class RegistrationTemplate(object):
pass implements(IRegistrationTemplate)