com.gentics.api.contentnode.migration
Interface IMigrationPostprocessor


public interface IMigrationPostprocessor

Implementations of this interface can be configured during Tag migration to apply post-processing to migrated objects following the migration process.

Author:
Taylor

Method Summary
 void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.File file, com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request, org.apache.log4j.Logger logger)
          Performs post-processing on a file following a tag type migration.
 void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Folder folder, com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request, org.apache.log4j.Logger logger)
          Performs post-processing on a folder following a tag type migration.
 void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Image image, com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request, org.apache.log4j.Logger logger)
          Performs post-processing on a image following a tag type migration.
 void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Page page, com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request, org.apache.log4j.Logger logger)
          Performs post-processing on a page following a tag type migration.
 void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Page page, com.gentics.contentnode.rest.model.request.migration.TemplateMigrationRequest request, org.apache.log4j.Logger logger)
          Performs post-processing on a page following a template migration.
 void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Template template, com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request, org.apache.log4j.Logger logger)
          Performs post-processing on a template following a tag type migration.
 

Method Detail

applyPostMigrationProcessing

void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Template template,
                                  com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request,
                                  org.apache.log4j.Logger logger)
                                  throws MigrationException
Performs post-processing on a template following a tag type migration.

Parameters:
template - the template to apply the post-processing to
request - the TtmMigrationRequest which initiated the migration process, containing the tag migration mappings
logger - the tag type migration logger
Throws:
NodeException
MigrationException

applyPostMigrationProcessing

void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Page page,
                                  com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request,
                                  org.apache.log4j.Logger logger)
                                  throws MigrationException
Performs post-processing on a page following a tag type migration.

Parameters:
page - the page to apply the post-processing to
request - the TtmMigrationRequest which initiated the migration process, containing the tag migration mappings
logger - the tag type migration logger
Throws:
NodeException
MigrationException

applyPostMigrationProcessing

void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Folder folder,
                                  com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request,
                                  org.apache.log4j.Logger logger)
                                  throws MigrationException
Performs post-processing on a folder following a tag type migration.

Parameters:
folder - the folder to apply the post-processing to
request - the TtmMigrationRequest which initiated the migration process, containing the tag migration mappings
logger - the tag type migration logger
Throws:
NodeException
MigrationException

applyPostMigrationProcessing

void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Image image,
                                  com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request,
                                  org.apache.log4j.Logger logger)
                                  throws MigrationException
Performs post-processing on a image following a tag type migration.

Parameters:
image - the image to apply the post-processing to
request - the TtmMigrationRequest which initiated the migration process, containing the tag migration mappings
logger - the tag type migration logger
Throws:
NodeException
MigrationException

applyPostMigrationProcessing

void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.File file,
                                  com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest request,
                                  org.apache.log4j.Logger logger)
                                  throws MigrationException
Performs post-processing on a file following a tag type migration.

Parameters:
file - the file to apply the post-processing to
request - the TtmMigrationRequest which initiated the migration process, containing the tag migration mappings
logger - the tag type migration logger
Throws:
NodeException
MigrationException

applyPostMigrationProcessing

void applyPostMigrationProcessing(com.gentics.contentnode.rest.model.Page page,
                                  com.gentics.contentnode.rest.model.request.migration.TemplateMigrationRequest request,
                                  org.apache.log4j.Logger logger)
                                  throws MigrationException
Performs post-processing on a page following a template migration.

Parameters:
page - the page to apply the post-processing to
request - the TemplateMigrationRequest which initiated the migration process, containing the template migration mappings
logger - the template migration logger
Throws:
NodeException
MigrationException


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.