2022-02-18 14:41:41 +01:00
|
|
|
package org.gcube.application.cms.plugins.reports;
|
|
|
|
|
2024-01-17 16:09:48 +01:00
|
|
|
import org.gcube.application.cms.plugins.faults.InvalidPluginRequestException;
|
|
|
|
import org.gcube.application.cms.plugins.requests.IndexDocumentRequest;
|
|
|
|
|
2022-02-25 11:44:56 +01:00
|
|
|
import lombok.Getter;
|
2022-02-23 17:13:22 +01:00
|
|
|
import lombok.NonNull;
|
2022-02-25 11:44:56 +01:00
|
|
|
import lombok.Setter;
|
2022-02-18 14:41:41 +01:00
|
|
|
|
2022-02-25 11:44:56 +01:00
|
|
|
@Getter
|
|
|
|
@Setter
|
2022-02-18 14:41:41 +01:00
|
|
|
public class IndexDocumentReport extends DocumentHandlingReport<IndexDocumentRequest> {
|
2022-02-25 11:44:56 +01:00
|
|
|
|
2022-04-11 17:23:27 +02:00
|
|
|
// protected List<IdentificationReference> toSetIndexReferences=new ArrayList<>();
|
2022-02-25 11:44:56 +01:00
|
|
|
|
|
|
|
|
2022-03-04 11:30:11 +01:00
|
|
|
public IndexDocumentReport(@NonNull IndexDocumentRequest theRequest) throws InvalidPluginRequestException {
|
2022-02-23 17:13:22 +01:00
|
|
|
super(theRequest);
|
|
|
|
}
|
2022-02-25 11:44:56 +01:00
|
|
|
|
2022-04-11 17:23:27 +02:00
|
|
|
// @Override
|
|
|
|
// public Project prepareResult() throws JsonProcessingException, PluginExecutionException {
|
|
|
|
// Project toReturn= super.prepareResult();
|
|
|
|
// if(toSetSpatialReference != null) toReturn.setSpatialReference(toSetSpatialReference);
|
|
|
|
// if(toSetTemporalReference != null) toReturn.setTemporalReference(toSetTemporalReference);
|
|
|
|
// return toReturn;
|
|
|
|
// }
|
2022-02-18 14:41:41 +01:00
|
|
|
}
|