geoportal-data-common/src/main/java/org/gcube/application/geoportalcommon/shared/config/OPERATION_ON_ITEM.java

47 lines
1.0 KiB
Java

package org.gcube.application.geoportalcommon.shared.config;
/**
* The Enum OPERATION_ON_ITEM.
*
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
*
* Sep 13, 2022
*/
public enum OPERATION_ON_ITEM {
CREATE_NEW_PROJECT("Create New Project"),
VIEW_PROJECT_AS_DOCUMENT("View Project as Document"),
VIEW_PROJECT_AS_JSON("View Projet as JSON"),
VIEW_ON_MAP("View on Map"),
VIEW_REPORT("View the Report"),
EDIT_PROJECT("Edit the Project"),
CLONE_PROJECT("Clone the Project"),
PUBLISH_UNPUBLISH_PROJECT("Publish/UnPublish the Project"),
DELETE_PROJECT("Delete the Project"),
CREATE_RELATION("Create Relation between two Projects"),
DELETE_RELATION("Delete Relation between two Projects"),
VIEW_RELATIONSHIPS("View the relationship/s created for the Project");
String label;
/**
* Instantiates a new operation on item.
*
* @param label the label
*/
OPERATION_ON_ITEM(String label){
this.label = label;
}
/**
* Gets the label.
*
* @return the label
*/
public String getLabel() {
return label;
}
}