Added WORKFLOW_PHASE [#24458]
This commit is contained in:
parent
d954dafa90
commit
178ba1bb44
|
@ -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
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ public class ResultDocumentDV extends DocumentDV implements Serializable {
|
|||
|
||||
private GeoJSON spatialReference;
|
||||
|
||||
private WORKFLOW_PHASE worflowPhase; //never used. Just for serialization in GWT
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue