[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/versioncontrol/interfaces.py
Removed some permission promises we don't want to make.
Jim Fulton
jim at zope.com
Thu May 26 11:23:06 EDT 2005
Log message for revision 30512:
Removed some permission promises we don't want to make.
Changed:
U Zope3/trunk/src/zope/app/versioncontrol/interfaces.py
-=-
Modified: Zope3/trunk/src/zope/app/versioncontrol/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/versioncontrol/interfaces.py 2005-05-26 15:21:54 UTC (rev 30511)
+++ Zope3/trunk/src/zope/app/versioncontrol/interfaces.py 2005-05-26 15:22:36 UTC (rev 30512)
@@ -60,8 +60,6 @@
the resource is updated to a particular version, label, or date.
Useful for determining whether a call to checkoutResource()
will succeed.
-
- Permission: public
"""
def isResourceChanged(object):
@@ -69,8 +67,6 @@
Return true if the state of a resource has changed in a transaction
*after* the version bookkeeping was saved. Note that this method is
not appropriate for detecting changes within a transaction!
-
- Permission: public
"""
def getVersionInfo(object):
@@ -80,8 +76,6 @@
The VersionInfo object contains version control bookkeeping
information. If the object is not under version control, a
VersionControlError will be raised.
-
- Permission: public
"""
def applyVersionControl(object, message=None):
@@ -94,8 +88,6 @@
If no message is passed the 'Initial checkin.' message string is
written as the message log entry.
-
- Permission: Use version control
"""
def checkoutResource(object):
@@ -104,8 +96,6 @@
state, allowing changes to be made to the object. If the object is
not under version control or the object is already checked out, a
VersionControlError will be raised.
-
- Permission: Use version control
"""
def checkinResource(object, message=''):
@@ -115,8 +105,6 @@
message should describe the changes being committed. If the object
is not under version control or is already in the checked-in state,
a VersionControlError will be raised.
-
- Permission: Use version control
"""
def uncheckoutResource(object):
@@ -133,8 +121,6 @@
updated. The selector must be a string (version id, branch id,
label or date) that is used to select a version from the version
history.
-
- Permission: Use version control
"""
def labelResource(object, label, force=None):
@@ -144,8 +130,6 @@
replaced with the new association. If force is false and there is
an existing association with the given label, a VersionControlError
will be raised.
-
- Permission: Use version control
"""
def getVersionOfResource(history_id, selector):
@@ -155,8 +139,6 @@
acquisition context. The selector must be a string (version id,
branch id, label or date) that is used to select a version
from the version history.
-
- Permission: Use version control
"""
def getVersionIds(object):
@@ -164,8 +146,6 @@
Return a sequence of the (string) version ids corresponding to the
available versions of an object. This should be used by UI elements
to populate version selection widgets, etc.
-
- Permission: Use version control
"""
def getLabelsForResource(object):
@@ -174,16 +154,12 @@
versions of the given object that have been associated with a
label. This should be used by UI elements to populate version
selection widgets, etc.
-
- Permission: Use version control
"""
def getLogEntries(object):
"""
Return a sequence of LogEntry objects (most recent first) that
are associated with a version-controlled object.
-
- Permission: Use version control
"""
def makeBranch(object):
More information about the Zope3-Checkins
mailing list