add missing parameter, change some names according to Hartmut's suggestions
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@406 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
parent
d1608780ab
commit
65438ac13a
|
@ -33,14 +33,14 @@ class UserDelivery:
|
|||
self.config=config
|
||||
pass
|
||||
|
||||
def sendNotice(self,recipient,information):
|
||||
def sendNotice(self,recipient,subject,information):
|
||||
"""
|
||||
Send the 'information' text (multi-line string) to the given
|
||||
'recipient'.
|
||||
"""
|
||||
pass
|
||||
|
||||
def sendFile(self,recipient,information,file,format):
|
||||
def sendFile(self,recipient,subject,information,file,format):
|
||||
"""
|
||||
Send the 'file' together with the given 'information' (multi-line
|
||||
string) to 'recipient'. If necessary, the file is converted to the
|
||||
|
|
|
@ -36,27 +36,27 @@ class ItemStorage:
|
|||
self.config=config
|
||||
pass
|
||||
|
||||
def itemDone(self,name):
|
||||
def setDone(self,id):
|
||||
"""
|
||||
Move an item from the sendq to the done state/dir.
|
||||
"""
|
||||
pass
|
||||
|
||||
def itemFailed(self,name):
|
||||
def setFailed(self,id):
|
||||
"""
|
||||
Move an item from the sendq to the finally failed state/dir.
|
||||
"""
|
||||
pass
|
||||
|
||||
def getItem(self,queue,name):
|
||||
def getItem(self,queue,id):
|
||||
"""
|
||||
Get entry 'name' from the queue 'queue'. Must return a file name in
|
||||
the local filesystem because the core can only handle files. It should
|
||||
Get entry with name 'id' from the queue 'queue'. Must return a file name
|
||||
in the local filesystem because the core can only handle files. It should
|
||||
also check file permissions if necessary.
|
||||
"""
|
||||
pass
|
||||
|
||||
def addItem(self,queue,name,description):
|
||||
def addItem(self,queue,id,description):
|
||||
"""
|
||||
Add an item to a certain queue with the given description.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue