[Zope-Checkins] CVS: Zope/lib/python/Products/Sessions - SessionInterfaces.py:1.9

Tres Seaver tseaver@zope.com
Wed, 13 Mar 2002 11:39:35 -0500


Update of /cvs-repository/Zope/lib/python/Products/Sessions
In directory cvs.zope.org:/tmp/cvs-serv1764/lib/python/Products/Sessions

Modified Files:
	SessionInterfaces.py 
Log Message:


  - Removed spurious 'self' argument from scarecrow interfaces;  suppressed
    'self' in interface methods created from actual method objects.


=== Zope/lib/python/Products/Sessions/SessionInterfaces.py 1.8 => 1.9 ===
     related to the browser id.
     """
-    def encodeUrl(self, url):
+    def encodeUrl(url):
         """
         Encodes a provided URL with the current request's browser id
         and returns the result.  For example, the call
@@ -46,7 +46,7 @@
         Raises:  BrowserIdManagerErr.  If there is no current browser id.
         """
 
-    def getBrowserIdName(self):
+    def getBrowserIdName():
         """
         Returns a string with the name of the cookie/form variable which is
         used by the current browser id manager as the name to look up when
@@ -55,7 +55,7 @@
         Permission required: Access contents information
         """
 
-    def getBrowserId(self, create=1):
+    def getBrowserId(create=1):
         """
         If create=0, returns a the current browser id or None if there
         is no browser id associated with the current request.  If create=1,
@@ -72,14 +72,14 @@
         is found in REQUEST.
         """
 
-    def hasBrowserId(self):
+    def hasBrowserId():
         """
         Returns true if there is a browser id for this request.
 
         Permission required: Access contents information
         """
 
-    def isBrowserIdNew(self):
+    def isBrowserIdNew():
         """
         Returns true if browser id is 'new'.  A browser id is 'new'
         when it is first created and the client has therefore not sent it
@@ -90,7 +90,7 @@
         Raises:  BrowserIdManagerErr.  If there is no current browser id.
         """
 
-    def isBrowserIdFromForm(self):
+    def isBrowserIdFromForm():
         """
         Returns true if browser id comes from a form variable (query
         string or post).
@@ -100,7 +100,7 @@
         Raises:  BrowserIdManagerErr.  If there is no current browser id.
         """
 
-    def isBrowserIdFromCookie(self):
+    def isBrowserIdFromCookie():
         """
         Returns true if browser id comes from a cookie.
 
@@ -109,7 +109,7 @@
         Raises:  BrowserIdManagerErr.  If there is no current browser id.
         """
 
-    def flushBrowserIdCookie(self):
+    def flushBrowserIdCookie():
         """
         Deletes the browser id cookie from the client browser, iff the
         'cookies' browser id namespace is being used.
@@ -120,7 +120,7 @@
         a browser id namespace at the time of the call.
         """
 
-    def setBrowserIdCookieByForce(self, bid):
+    def setBrowserIdCookieByForce(bid):
         """
         Sets the browser id cookie to browser id 'bid' by force.
         Useful when you need to 'chain' browser id cookies across domains
@@ -143,7 +143,7 @@
     related to Session Data Objects.  It also communicates with a Browser
     Id Manager to provide information about browser ids.
     """
-    def getBrowserIdManager(self):
+    def getBrowserIdManager():
         """
         Returns the nearest acquirable browser id manager.
 
@@ -152,7 +152,7 @@
         Permission required: Access session data
         """
 
-    def getSessionData(self, create=1):
+    def getSessionData(create=1):
         """
         Returns a Session Data Object associated with the current
         browser id.  If there is no current browser id, and create is true,
@@ -162,7 +162,7 @@
         Permission required: Access session data
         """
 
-    def hasSessionData(self):
+    def hasSessionData():
         """
         Returns true if a Session Data Object associated with the
         current browser id is found in the Session Data Container.  Does
@@ -171,7 +171,7 @@
         Permission required: Access session data
         """
 
-    def getSessionDataByKey(self, key):
+    def getSessionDataByKey(key):
         """
         Returns a Session Data Object associated with 'key'.  If there is
         no Session Data Object associated with 'key' return None.