EduploneExam/interfaces IExamAnswer.py,1.23,1.23.2.1 IExamConfig.py,1.5,1.5.2.1 IExamContext.py,1.17,1.17.2.1 IExamNotifier.py,1.23,1.23.2.1 IExamNotifyable.py,1.23,1.23.2.1 IExamQuestion.py,1.23,1.23.2.1 IExamResponse.py,1.18,1.18.2.1 __init__.py,1.6,1.6.2.1
Nils Haagen <[email protected]> Sun, 02 Oct 2005 21:21:14 +0000
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneExam/interfaces
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3645/interfaces
Modified Files:
Tag: exam-1_1
IExamAnswer.py IExamConfig.py IExamContext.py IExamNotifier.py
IExamNotifyable.py IExamQuestion.py IExamResponse.py
__init__.py
Log Message:
exam-1_1 init. moving to the next version...
Index: IExamQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamQuestion.py,v
retrieving revision 1.23
retrieving revision 1.23.2.1
diff -C2 -d -r1.23 -r1.23.2.1
*** IExamQuestion.py 8 Apr 2005 09:18:10 -0000 1.23
--- IExamQuestion.py 2 Oct 2005 21:21:12 -0000 1.23.2.1
***************
*** 1,11 ****
# File: IExamQuestion.py
! """\
! unknown
!
! """
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! #
! # Generator: ArchGenXML Version 1.4 devel 1 http://sf.net/projects/archetypes/
#
# GNU General Public Licence (GPL)
--- 1,8 ----
# File: IExamQuestion.py
! #
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! # Generator: ArchGenXML Version 1.4.0-beta2 devel
! # http://plone.org/products/archgenxml
#
# GNU General Public Licence (GPL)
***************
*** 28,31 ****
--- 25,29 ----
+
from Interface import Base
***************
*** 37,64 ****
#Methods
! def processResponse():
! '''
! gets a request.RESPONSE and returns a evaluated ExamResponse
object
! '''
pass
def getQuestionType():
! '''
! '''
pass
- #manually created methods
-
- def getContext():
- '''
-
- '''
-
- pass
# end of class IExamQuestion
--- 35,56 ----
#Methods
! def processResponse(REQUEST):
! """
! gets a request.RESPONSE and returns an evaluated ExamResponse
object
! by calling deliverResponse from IExamContext
! """
pass
+
def getQuestionType():
! """
! """
pass
# end of class IExamQuestion
Index: IExamResponse.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamResponse.py,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -C2 -d -r1.18 -r1.18.2.1
*** IExamResponse.py 8 Apr 2005 09:18:10 -0000 1.18
--- IExamResponse.py 2 Oct 2005 21:21:12 -0000 1.18.2.1
***************
*** 1,11 ****
# File: IExamResponse.py
! """\
! unknown
!
! """
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! #
! # Generator: ArchGenXML Version 1.4 devel 1 http://sf.net/projects/archetypes/
#
# GNU General Public Licence (GPL)
--- 1,8 ----
# File: IExamResponse.py
! #
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! # Generator: ArchGenXML Version 1.4.0-beta2 devel
! # http://plone.org/products/archgenxml
#
# GNU General Public Licence (GPL)
***************
*** 28,31 ****
--- 25,29 ----
+
from Interface import Base
***************
*** 37,136 ****
#Methods
! def setQuestion(self, questionobject):
! '''
!
! '''
!
pass
- def getQuestion(self, instance):
- '''
-
- '''
pass
- def getQuestionTitle(self):
- '''
-
- '''
pass
- def getQuestionType(self):
- '''
-
- '''
pass
- def setContext(self, contextobject):
- '''
-
- '''
pass
- def getContext(self, instance):
- '''
-
- '''
pass
- def setScore(self, score):
- '''
-
- '''
pass
- def getScore(self):
- '''
-
- '''
pass
- def getMaxScore(self):
- '''
-
- '''
pass
- def getResponseValues(self):
- '''
-
- '''
pass
- def setResponseValues(self, **kwargs):
- '''
- kwargs is a dictionary where key is AnswerUID and value is what a
- user said.
- '''
pass
- def __getitem__(self, key):
- '''
- returns a specific response value
- '''
pass
# end of class IExamResponse
--- 35,145 ----
#Methods
! def setQuestion(questionobject):
! """
!
! """
!
pass
+ def getQuestion():
+ """
+
+ """
+
pass
+ def getQuestionTitle():
+ """
+
+ """
+
pass
+ def getQuestionType():
+ """
+
+ """
+
pass
+ def setContext(contextobject):
+ """
+
+ """
+
pass
+ def getContext():
+ """
+
+ """
+
pass
+ def setScore(score):
+ """
+
+ """
+
pass
+ def getScore():
+ """
+
+ """
+
pass
+ def getMaxScore():
+ """
+
+ """
+
pass
+ def getResponseValues():
+ """
+
+ """
+
pass
+ def setResponseValues(**kwargs):
+ """
+
+ """
+
pass
+ def __getitem__():
+ """
+ <p>returns a specific response value</p>
+ """
+
pass
+
# end of class IExamResponse
Index: IExamNotifyable.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamNotifyable.py,v
retrieving revision 1.23
retrieving revision 1.23.2.1
diff -C2 -d -r1.23 -r1.23.2.1
*** IExamNotifyable.py 8 Apr 2005 09:18:10 -0000 1.23
--- IExamNotifyable.py 2 Oct 2005 21:21:12 -0000 1.23.2.1
***************
*** 1,11 ****
# File: IExamNotifyable.py
! """\
! unknown
!
! """
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! #
! # Generator: ArchGenXML Version 1.4 devel 1 http://sf.net/projects/archetypes/
#
# GNU General Public Licence (GPL)
--- 1,8 ----
# File: IExamNotifyable.py
! #
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! # Generator: ArchGenXML Version 1.4.0-beta2 devel
! # http://plone.org/products/archgenxml
#
# GNU General Public Licence (GPL)
***************
*** 28,31 ****
--- 25,29 ----
+
from Interface import Base
***************
*** 37,47 ****
#Methods
! def receiveNotification():
! '''
! '''
pass
# end of class IExamNotifyable
--- 35,46 ----
#Methods
! def receiveNotification(fromobject):
! """
! """
pass
+
# end of class IExamNotifyable
Index: __init__.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/__init__.py,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -d -r1.6 -r1.6.2.1
*** __init__.py 8 Apr 2005 09:18:10 -0000 1.6
--- __init__.py 2 Oct 2005 21:21:12 -0000 1.6.2.1
***************
*** 4,8 ****
##code-section init-module-header #fill in your manual code here
##/code-section init-module-header
!
#subpackages
--- 4,8 ----
##code-section init-module-header #fill in your manual code here
##/code-section init-module-header
!
#subpackages
***************
*** 19,20 ****
--- 19,21 ----
##code-section init-module-footer #fill in your manual code here
##/code-section init-module-footer
+
Index: IExamConfig.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamConfig.py,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -d -r1.5 -r1.5.2.1
*** IExamConfig.py 8 Apr 2005 09:18:10 -0000 1.5
--- IExamConfig.py 2 Oct 2005 21:21:12 -0000 1.5.2.1
***************
*** 1,11 ****
# File: IExamConfig.py
! """\
! unknown
!
! """
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! #
! # Generator: ArchGenXML Version 1.4 devel 1 http://sf.net/projects/archetypes/
#
# GNU General Public Licence (GPL)
--- 1,8 ----
# File: IExamConfig.py
! #
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! # Generator: ArchGenXML Version 1.4.0-beta2 devel
! # http://plone.org/products/archgenxml
#
# GNU General Public Licence (GPL)
***************
*** 28,31 ****
--- 25,29 ----
+
from Interface import Base
***************
*** 38,63 ****
def getParam_ShowPossibleScore():
! '''
! '''
pass
def getParam_BatchSize():
! '''
! '''
pass
def getPararam_FinalPage():
! '''
! '''
pass
# end of class IExamConfig
--- 36,64 ----
def getParam_ShowPossibleScore():
! """
! """
pass
+
def getParam_BatchSize():
! """
! """
pass
+
def getPararam_FinalPage():
! """
! """
pass
+
# end of class IExamConfig
Index: IExamAnswer.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamAnswer.py,v
retrieving revision 1.23
retrieving revision 1.23.2.1
diff -C2 -d -r1.23 -r1.23.2.1
*** IExamAnswer.py 8 Apr 2005 09:18:10 -0000 1.23
--- IExamAnswer.py 2 Oct 2005 21:21:12 -0000 1.23.2.1
***************
*** 1,11 ****
# File: IExamAnswer.py
! """\
! unknown
!
! """
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! #
! # Generator: ArchGenXML Version 1.4 devel 1 http://sf.net/projects/archetypes/
#
# GNU General Public Licence (GPL)
--- 1,8 ----
# File: IExamAnswer.py
! #
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! # Generator: ArchGenXML Version 1.4.0-beta2 devel
! # http://plone.org/products/archgenxml
#
# GNU General Public Licence (GPL)
***************
*** 28,31 ****
--- 25,29 ----
+
from Interface import Base
***************
*** 37,47 ****
#Methods
! def processValue():
! '''
! '''
pass
# end of class IExamAnswer
--- 35,46 ----
#Methods
! def processValue(value):
! """
! """
pass
+
# end of class IExamAnswer
Index: IExamContext.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamContext.py,v
retrieving revision 1.17
retrieving revision 1.17.2.1
diff -C2 -d -r1.17 -r1.17.2.1
*** IExamContext.py 8 Apr 2005 09:18:10 -0000 1.17
--- IExamContext.py 2 Oct 2005 21:21:12 -0000 1.17.2.1
***************
*** 1,11 ****
# File: IExamContext.py
! """\
! unknown
!
! """
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! #
! # Generator: ArchGenXML Version 1.4 devel 1 http://sf.net/projects/archetypes/
#
# GNU General Public Licence (GPL)
--- 1,8 ----
# File: IExamContext.py
! #
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! # Generator: ArchGenXML Version 1.4.0-beta2 devel
! # http://plone.org/products/archgenxml
#
# GNU General Public Licence (GPL)
***************
*** 28,31 ****
--- 25,29 ----
+
from Interface import Base
***************
*** 37,47 ****
#Methods
! def deliverResponse(self,questionuid):
! '''
! Returns an object that implements IExamResponse.
! '''
!
pass
# end of class IExamContext
--- 35,46 ----
#Methods
! def deliverResponse(question,create):
! """
! <p>Returns an object that implements IExamResponse. </p>
! """
!
pass
+
# end of class IExamContext
Index: IExamNotifier.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamNotifier.py,v
retrieving revision 1.23
retrieving revision 1.23.2.1
diff -C2 -d -r1.23 -r1.23.2.1
*** IExamNotifier.py 8 Apr 2005 09:18:10 -0000 1.23
--- IExamNotifier.py 2 Oct 2005 21:21:12 -0000 1.23.2.1
***************
*** 1,11 ****
# File: IExamNotifier.py
! """\
! <p></p>
!
! """
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! #
! # Generator: ArchGenXML Version 1.4 devel 1 http://sf.net/projects/archetypes/
#
# GNU General Public Licence (GPL)
--- 1,8 ----
# File: IExamNotifier.py
! #
# Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
! # Generator: ArchGenXML Version 1.4.0-beta2 devel
! # http://plone.org/products/archgenxml
#
# GNU General Public Licence (GPL)
***************
*** 28,31 ****
--- 25,29 ----
+
from Interface import Base
***************
*** 37,71 ****
#Methods
! def registerNotifierOnView():
! '''
register an object
! '''
pass
! def registerNotifierAfterProcess():
! '''
! '''
pass
def notifyOnView():
! '''
! '''
pass
def notifyAfterProcess():
! '''
! '''
pass
# end of class IExamNotifier
--- 35,73 ----
#Methods
! def registerNotifierOnView(object):
! """
register an object
! """
pass
!
! def registerNotifierAfterProcess(object):
! """
! """
pass
+
def notifyOnView():
! """
! """
pass
+
def notifyAfterProcess():
! """
! """
pass
+
# end of class IExamNotifier
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl