org.gcube.portlets.user.occurrencemanagement.server.service
Class GxtReconciliationServiceConverter
java.lang.Object
org.gcube.portlets.user.occurrencemanagement.server.service.GxtReconciliationServiceConverter
public class GxtReconciliationServiceConverter
- extends Object
Field Summary |
static org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.apache.log4j.Logger logger
GxtReconciliationServiceConverter
public GxtReconciliationServiceConverter()
toDate
public static Date toDate(Calendar calendar)
getImportRequestOccurrencesJob
public static ArrayList<JobOccurrencesModel> getImportRequestOccurrencesJob(List<org.gcube.data.harmonization.occurrence.impl.model.Resource> availableData,
boolean onlyNotCompleted)
getSubmittedOperationOccurrencesJob
public static ArrayList<JobOccurrencesModel> getSubmittedOperationOccurrencesJob(List<org.gcube.data.harmonization.occurrence.impl.model.Computation> submittedOperationList,
boolean onlyNotCompleted)
convertFromOperationType
public static ElaborationType convertFromOperationType(org.gcube.data.harmonization.occurrence.impl.model.types.OperationType opType)
convertToOperationType
public static org.gcube.data.harmonization.occurrence.impl.model.types.OperationType convertToOperationType(ElaborationType elabType)
createOccurrenceModelFromResource
public static JobOccurrencesModel createOccurrenceModelFromResource(org.gcube.data.harmonization.occurrence.impl.model.Resource imp,
ElaborationStatus elaborationStatus)
convertFromResourceType
public static ResourceType convertFromResourceType(org.gcube.data.harmonization.occurrence.impl.model.types.ResourceType type)
createOccurrenceModelFromSubmittedOperation
public static JobOccurrencesModel createOccurrenceModelFromSubmittedOperation(org.gcube.data.harmonization.occurrence.impl.model.Computation submittedOperation,
ElaborationStatus elaborationStatus)
convertStringToFloat
public static Float convertStringToFloat(String stringFloat)
convertComputation
public static ComputationModel convertComputation(org.gcube.data.harmonization.occurrence.impl.model.Computation computation)
convertStatus
public static ElaborationStatus convertStatus(org.gcube.data.harmonization.occurrence.impl.model.types.Status status)
Copyright © 2014. All Rights Reserved.