public class DataTransformationService
extends org.gcube.common.core.porttypes.GCUBEPortType
DataTransformationService is the class implementing the WS-Interface of the DataTransformationServicePortType| Modifier and Type | Field and Description |
|---|---|
protected static org.gcube.common.core.utils.logging.GCUBELog |
log
Logs operations performed by
DataTransformationService class |
| Constructor and Description |
|---|
DataTransformationService() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.datatransformation.datatransformationservice.stubs.ArrayOfDataElementIDandContentType |
evaluateContentTypeByDataElementID(org.gcube.datatransformation.datatransformationservice.stubs.EvaluateContentTypeByDataElementID request)
Uses a
ContentType evaluator which is identified by its type in order to evaluate the ContentType of an object. |
org.gcube.datatransformation.datatransformationservice.stubs.FindApplicableTransformationUnitsResponse |
findApplicableTransformationUnits(org.gcube.datatransformation.datatransformationservice.stubs.FindApplicableTransformationUnits params)
Searches for
TransformationUnits that are able to perform a transformation from a source to a target ContentType. |
org.gcube.datatransformation.datatransformationservice.stubs.FindAvailableTargetContentTypesResponse |
findAvailableTargetContentTypes(org.gcube.datatransformation.datatransformationservice.stubs.FindAvailableTargetContentTypes request)
Searches for
ContentTypes to which an object can be transformed. |
protected org.gcube.common.core.contexts.GCUBEServiceContext |
getServiceContext() |
protected static void |
init()
This method is invoked by the
DTSContext on ready event
When the service is ready it is able to do all the required initialization steps
e.g. |
String |
queryTransformationPrograms(String query)
Performs a query to get information about the transformation programs.
|
org.gcube.datatransformation.datatransformationservice.stubs.TransformDataResponse |
transformData(org.gcube.datatransformation.datatransformationservice.stubs.TransformData params)
This method transforms the input data to the target
ContentType and stores the results to the output. |
org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationProgramResponse |
transformDataWithTransformationProgram(org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationProgram params)
This method transforms the input data to the target
ContentType and stores the results to the output. |
org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationUnitResponse |
transformDataWithTransformationUnit(org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationUnit params)
This method transforms the input data to the target
ContentType and stores the results to the output. |
protected static final org.gcube.common.core.utils.logging.GCUBELog log
DataTransformationService classprotected static void init()
throws Exception
DTSContext on ready event
When the service is ready it is able to do all the required initialization steps
e.g. find info from the ISException - If an underlying component could not be initialized.public org.gcube.datatransformation.datatransformationservice.stubs.TransformDataResponse transformData(org.gcube.datatransformation.datatransformationservice.stubs.TransformData params)
throws org.gcube.common.core.faults.GCUBEFault
ContentType and stores the results to the output. In this method the service by its self discovers the TransformationProgram to use.params - The input (type + value), the output, the target ContentType and a boolean that denotes if the reporting mechanism shall be enabled.org.gcube.common.core.faults.GCUBEFault - If an error in transformData method occurred.public org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationProgramResponse transformDataWithTransformationProgram(org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationProgram params)
throws org.gcube.common.core.faults.GCUBEFault
ContentType and stores the results to the output. The TransformationProgram which will be used by the service is indicated by the client.params - The input (type + value), the output, the target ContentType, the transformation program id and a boolean that denotes if the reporting mechanism shall be enabled.org.gcube.common.core.faults.GCUBEFault - If an error in transformDataWithTransformationProgram method occurred.public org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationUnitResponse transformDataWithTransformationUnit(org.gcube.datatransformation.datatransformationservice.stubs.TransformDataWithTransformationUnit params)
throws org.gcube.common.core.faults.GCUBEFault
ContentType and stores the results to the output. The TransformationUnit which will be used by the service is indicated by the client.The - input (type + value), the output, the target ContentType, the transformation program, unit id and a boolean that denotes if the reporting mechanism shall be enabled.org.gcube.common.core.faults.GCUBEFault - If an error in transformDataWithTransformationUnit method occurred.public org.gcube.datatransformation.datatransformationservice.stubs.FindApplicableTransformationUnitsResponse findApplicableTransformationUnits(org.gcube.datatransformation.datatransformationservice.stubs.FindApplicableTransformationUnits params)
throws org.gcube.common.core.faults.GCUBEFault
TransformationUnits that are able to perform a transformation from a source to a target ContentType.params - A source and a target ContentType.ContentType.org.gcube.common.core.faults.GCUBEFault - If an error in searching for transformation units occurred.public org.gcube.datatransformation.datatransformationservice.stubs.FindAvailableTargetContentTypesResponse findAvailableTargetContentTypes(org.gcube.datatransformation.datatransformationservice.stubs.FindAvailableTargetContentTypes request)
throws org.gcube.common.core.faults.GCUBEFault
ContentTypes to which an object can be transformed.request - The source ContentType.ContentTypes.org.gcube.common.core.faults.GCUBEFault - If an error in searching for available target ContentTypes occurred.public String queryTransformationPrograms(String query) throws org.gcube.common.core.faults.GCUBEFault
query - The query about the transformation programs.org.gcube.common.core.faults.GCUBEFault - If an error in performing the query occurred.public org.gcube.datatransformation.datatransformationservice.stubs.ArrayOfDataElementIDandContentType evaluateContentTypeByDataElementID(org.gcube.datatransformation.datatransformationservice.stubs.EvaluateContentTypeByDataElementID request)
throws org.gcube.common.core.faults.GCUBEFault
ContentType evaluator which is identified by its type in order to evaluate the ContentType of an object.request - The Data Element id and the type of the content type evaluatorContentType of the data element.org.gcube.common.core.faults.GCUBEFault - If an error in evaluating the ContentType occurred.protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortTypeCopyright © 2014. All Rights Reserved.