| Trees | Index | Help |
|---|
| Package CMFSetup :: Module context :: Class SnapshotImportContext |
|
object--+ |Base--+ |Acquirer--+ | SnapshotImportContext
| Method Summary | |
|---|---|
__init__(self,
tool,
snapshot_id,
should_purge,
encoding)
| |
Return the encoding used in data files. | |
See IImportContext. | |
See ISetupContext. | |
See IImportContext. | |
See IImportContext. | |
See IImportContext. | |
See IImportContext. | |
| Inherited from Base | |
x.__getattribute__('name') <==> x.name | |
Get arguments to be passed to __new__ | |
Get the object serialization state | |
Reduce an object to contituent parts for serialization | |
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('Manage portal', ('getEncoding', ...
|
tuple |
__implements__ = (<Interface CMFSetup.interfaces.IImport...
|
tuple |
_getSnapshotFolder__roles__ = ()
|
PermissionRole |
getEncoding__roles__ = <PermissionRole object at 0xb4852...
|
PermissionRole |
getLastModified__roles__ = <PermissionRole object at 0xb...
|
PermissionRole |
getSite__roles__ = <PermissionRole object at 0xb4852fe0>
|
PermissionRole |
isDirectory__roles__ = <PermissionRole object at 0xb4852...
|
PermissionRole |
listDirectory__roles__ = <PermissionRole object at 0xb48...
|
PermissionRole |
readDataFile__roles__ = <PermissionRole object at 0xb485...
|
PermissionRole |
shouldPurge__roles__ = <PermissionRole object at 0xb4852...
|
| Method Details |
|---|
getEncoding(self)Return the encoding used in data files. o Return None if the data should not be encoded. |
getLastModified(self, path)See IImportContext. |
getSite(self)See ISetupContext. |
isDirectory(self, path)See IImportContext. |
listDirectory(self, path, skip=())See IImportContext. |
readDataFile(self, filename, subdir=None)See IImportContext. |
shouldPurge(self)See IImportContext. |
| Class Variable Details |
|---|
__ac_permissions__
|
__implements__
|
_getSnapshotFolder__roles__
|
getEncoding__roles__
|
getLastModified__roles__
|
getSite__roles__
|
isDirectory__roles__
|
listDirectory__roles__
|
readDataFile__roles__
|
shouldPurge__roles__
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Nov 30 03:59:37 2005 | http://epydoc.sf.net |