@Path(value="/migration") 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
@GET @Path(value="/cancelMigration") GenericResponse cancelMigration()
@GET @Path(value="/getMigrationStatus") MigrationStatusResponse getMigrationStatus()
@GET @Path(value="/getMigrationJobItems/{jobId}") MigrationJobItemsResponse getMigrationJobItems(@PathParam(value="jobId") int jobId)
jobId
- The jobId for which the items should be loaded@GET @Path(value="/getMigrationLogs") MigrationGetLogsResponse getMigrationLogs()
@GET @Path(value="/getMigrationLog/{jobId}") MigrationGetLogResponse getMigrationLog(@PathParam(value="jobId") int jobId)
jobId
- the id of the migration job@POST @Path(value="/performMigration") MigrationResponse performTagTypeMigration(TagTypeMigrationRequest request)
request
- migration request object@POST @Path(value="/performTemplateMigration") MigrationResponse performTemplateMigration(TemplateMigrationRequest request)
@POST @Path(value="/reinvokeMigration") MigrationResponse reinvokeTagTypeMigration(MigrationReinvokeRequest request)
request
- @GET @Path(value="/getPossiblePartMappings") PossiblePartMappingsResponse getPossiblePartMappings(@QueryParam(value="fromTagTypeId") int fromTagTypeId, @QueryParam(value="toTagTypeId") int toTagTypeId)
fromTagTypeId
- TagTypeId of the tagtype that should be mappedtoTagTypeId
- TagTypeId of the desired target tagtype@GET @Path(value="/getPartsForTagType/{id}") MigrationPartsResponse getPartsForTagType(@PathParam(value="id") String id)
id
- id of the tag type to return tags for@POST @Path(value="/getMigrationTagTypes") MigrationTagsResponse getMigrationTagTypes(MigrationTagsRequest request)
getMigrationConstructs(MigrationTagsRequest)
insteadrequest
- migration tags request object@POST @Path(value="/getMigrationConstructs") ConstructListResponse getMigrationConstructs(MigrationTagsRequest request)
request
- request containing the migration typeCopyright © 2024 Gentics Software. All rights reserved.