Added WORKFLOW_PHASE [#24458]

This commit is contained in:
Francesco Mangiacrapa 2023-01-19 14:45:30 +01:00
parent d954dafa90
commit 178ba1bb44
3 changed files with 38 additions and 1 deletions

View File

@ -4,7 +4,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v2.0.1] - 2022-01-12
## [v2.0.1] - 2022-01-19
#### Bug fixes
@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- [#23927] Integrated with Relationship definition in UCD
- [#23834] Integrated with the create/view/delete Relationship facility
- [#24136] Integrated the temporal dimension on the front-end side
- [#24458] Published projects cannot be edited/updated
## [v1.4.0] - 2022-06-08

View File

@ -18,6 +18,8 @@ public class ResultDocumentDV extends DocumentDV implements Serializable {
private List<RelationshipDV> listRelationshipDV;
private GeoJSON spatialReference;
private WORKFLOW_PHASE worflowPhase; //never used. Just for serialization in GWT
/**
*

View File

@ -0,0 +1,34 @@
package org.gcube.application.geoportalcommon.shared.geoportal;
/**
* The Enum WORKFLOW_PHASE.
*
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
*
* Jan 19, 2023
*/
public enum WORKFLOW_PHASE {
PUBLISHED("Published"); //Should be always the last one
private String label;
/**
* Instantiates a new workflow phase.
*
* @param label the label
*/
WORKFLOW_PHASE(String label) {
this.label = label;
}
/**
* Gets the label.
*
* @return the label
*/
public String getLabel() {
return label;
}
}