gcube-cms-suite/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/reports/IndexDocumentReport.java

29 lines
1008 B
Java
Raw Normal View History

2022-02-18 14:41:41 +01:00
package org.gcube.application.cms.plugins.reports;
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
}