public interface MigrationResource extends AuthenticatedResource
Modifier and Type | Method and Description |
---|---|
GenericResponse |
cancelMigration()
Cancel the current tag type migration job, if one is being executed
|
ConstructListResponse |
getMigrationConstructs(MigrationTagsRequest request)
Get a list of constructs, that can be migrated for the given type
|
MigrationJobItemsResponse |
getMigrationJobItems(int jobId)
Get the migration job items for the given job
|
MigrationGetLogResponse |
getMigrationLog(int jobId)
Get the log for a given tag type migration job
|
MigrationGetLogsResponse |
getMigrationLogs()
Get a list of all tag type migration logs
|
MigrationStatusResponse |
getMigrationStatus()
Get the migration status for a given tag type migration job
|
MigrationTagsResponse |
getMigrationTagTypes(MigrationTagsRequest request)
Deprecated.
use
getMigrationConstructs(MigrationTagsRequest) instead |
MigrationPartsResponse |
getPartsForTagType(String id)
Get a list of parts for a single tag type
|
PossiblePartMappingsResponse |
getPossiblePartMappings(int fromTagTypeId,
int toTagTypeId)
Get a response that contains maps and lists with possible part mappings
between to both tagtypes
|
MigrationResponse |
performTagTypeMigration(TagTypeMigrationRequest request)
Perform tag migration process
|
MigrationResponse |
performTemplateMigration(TemplateMigrationRequest request) |
MigrationResponse |
reinvokeTagTypeMigration(MigrationReinvokeRequest request)
Reinvoke the tag type migration for the given object
|
setSessionId
GenericResponse cancelMigration()
MigrationStatusResponse getMigrationStatus()
MigrationJobItemsResponse getMigrationJobItems(int jobId)
jobId
- The jobId for which the items should be loadedMigrationGetLogsResponse getMigrationLogs()
MigrationGetLogResponse getMigrationLog(int jobId)
jobId
- the id of the migration jobMigrationResponse performTagTypeMigration(TagTypeMigrationRequest request)
request
- migration request objectMigrationResponse performTemplateMigration(TemplateMigrationRequest request)
MigrationResponse reinvokeTagTypeMigration(MigrationReinvokeRequest request)
request
- PossiblePartMappingsResponse getPossiblePartMappings(int fromTagTypeId, int toTagTypeId)
fromTagTypeId
- TagTypeId of the tagtype that should be mappedtoTagTypeId
- TagTypeId of the desired target tagtypeMigrationPartsResponse getPartsForTagType(String id)
id
- id of the tag type to return tags forMigrationTagsResponse getMigrationTagTypes(MigrationTagsRequest request)
getMigrationConstructs(MigrationTagsRequest)
insteadrequest
- migration tags request objectConstructListResponse getMigrationConstructs(MigrationTagsRequest request)
request
- request containing the migration typeCopyright © 2016 Gentics Software. All rights reserved.