class documentation

class FilterItem(object): (source)

View In Hierarchy

Mixin exposing helper methods to initialise and execute filter exports.

Method execProcessFilter Execute one process step inside a filter pipeline.
Method initExportFilter Prepare export context, temp workspace, and initial export input file.
def execProcessFilter(self, ob_process, folder, filename, REQUEST): (source)

Execute one process step inside a filter pipeline.

Parameters
ob_process:dictFilter-process assignment record.
folder:strWorking folder for temp process artefacts.
filename:strCurrent pipeline filename.
REQUEST:ZPublisher.HTTPRequestActive request context.
Returns
strUpdated pipeline filename.
def initExportFilter(self, id, REQUEST): (source)

Prepare export context, temp workspace, and initial export input file.

Parameters
id:strFilter id.
REQUEST:ZPublisher.HTTPRequestActive request used for env/session variables.
Returns
tupleTuple (tempfolder, outfilename) used by subsequent steps.