Back to index

plone3  3.1.7
Public Member Functions
CMFPlone.interfaces.migration.IMigrationTool Class Reference
Inheritance diagram for CMFPlone.interfaces.migration.IMigrationTool:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.interfaces.migration.IMigrationTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getInstanceVersion
def setInstanceVersion
def knownVersions
def unsupportedVersion
def getFileSystemVersion
def getFSVersionTuple
def getInstanceVersionTuple
def needUpgrading
def coreVersions
def coreVersionsList
def needUpdateRole
def needRecatalog
def getProductInfo
def upgrade

Detailed Description

Handles migrations between Plone releases.

Definition at line 3 of file migration.py.


Member Function Documentation

Useful core version information.

Definition at line 34 of file migration.py.

00034 
00035     def coreVersions():
00036         """Useful core version information."""

Here is the caller graph for this function:

Useful core version information.

Definition at line 37 of file migration.py.

00037 
00038     def coreVersionsList():
00039         """Useful core version information."""

The version the filesystem code of Plone is on.

Definition at line 22 of file migration.py.

00022 
00023     def getFileSystemVersion():
00024         """The version the filesystem code of Plone is on."""

Here is the caller graph for this function:

Returns tuple representing filesystem version.

Definition at line 25 of file migration.py.

00025 
00026     def getFSVersionTuple():
00027         """Returns tuple representing filesystem version."""

The version this instance of Plone is on.

Definition at line 6 of file migration.py.

00006 
00007     def getInstanceVersion():
00008         """The version this instance of Plone is on."""

Here is the caller graph for this function:

Returns tuple representing instance version.

Definition at line 28 of file migration.py.

00028 
00029     def getInstanceVersionTuple():
00030         """Returns tuple representing instance version."""

Provide information about installed products for error reporting

Definition at line 46 of file migration.py.

00046 
00047     def getProductInfo():
00048         """Provide information about installed products for error reporting"""

All known version ids, except current one and unsupported
   migration paths.

Definition at line 12 of file migration.py.

00012 
00013     def knownVersions():
00014         """All known version ids, except current one and unsupported
00015            migration paths.
00016         """

Does this thing now need recataloging?

Definition at line 43 of file migration.py.

00043 
00044     def needRecatalog():
00045         """Does this thing now need recataloging?"""

Here is the caller graph for this function:

Do roles need to be updated?

Definition at line 40 of file migration.py.

00040 
00041     def needUpdateRole():
00042         """Do roles need to be updated?"""

Here is the caller graph for this function:

Need upgrading?

Definition at line 31 of file migration.py.

00031 
00032     def needUpgrading():
00033         """Need upgrading?"""

Here is the caller graph for this function:

The version this instance of Plone is on.

Definition at line 9 of file migration.py.

00009 
00010     def setInstanceVersion(version):
00011         """The version this instance of Plone is on."""

Here is the caller graph for this function:

Is the current instance version known to be a no longer supported
   version for migrations.

Definition at line 17 of file migration.py.

00017 
00018     def unsupportedVersion():
00019         """Is the current instance version known to be a no longer supported
00020            version for migrations.
00021         """

def CMFPlone.interfaces.migration.IMigrationTool.upgrade (   REQUEST = None,
  dry_run = None,
  swallow_errors = 1 
)
Perform the upgrade.

Definition at line 49 of file migration.py.

00049 
00050     def upgrade(REQUEST=None, dry_run=None, swallow_errors=1):
00051         """Perform the upgrade."""

The documentation for this class was generated from the following file: