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:
parent
53acc23802
commit
821b922f6a
2 changed files with 9 additions and 1 deletions
|
@ -204,6 +204,11 @@ class IRegistration(Interface):
|
|||
client = Attribute('The client registered')
|
||||
|
||||
|
||||
class IRegistrationTemplate(Interface):
|
||||
""" Provides and processes data for a service registration form.
|
||||
"""
|
||||
|
||||
|
||||
class IResource(Interface):
|
||||
""" 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
|
||||
|
|
|
@ -32,6 +32,7 @@ from cybertools.util.jeep import Jeep
|
|||
from cybertools.composer.schema.interfaces import IClientManager
|
||||
from cybertools.organize.interfaces import IServiceManager
|
||||
from cybertools.organize.interfaces import IService, IScheduledService
|
||||
from cybertools.organize.interfaces import IRegistration, IRegistrationTemplate
|
||||
|
||||
|
||||
class ServiceManager(object):
|
||||
|
@ -97,11 +98,13 @@ class ScheduledService(Service):
|
|||
|
||||
class Registration(object):
|
||||
|
||||
implements(IRegistration)
|
||||
|
||||
def __init__(self, client):
|
||||
self.client = client
|
||||
|
||||
|
||||
class RegistrationTemplate(object):
|
||||
|
||||
pass
|
||||
implements(IRegistrationTemplate)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue