it.geosolutions.geonetwork.util
Enum GNPrivAlt
java.lang.Object
java.lang.Enum<GNPrivAlt>
it.geosolutions.geonetwork.util.GNPrivAlt
- All Implemented Interfaces:
- Serializable, Comparable<GNPrivAlt>
public enum GNPrivAlt
- extends Enum<GNPrivAlt>
Operation privileges as required by GeoNetwork.
Please refer to documentation in GNPriv
.
- Author:
- ETj (etj at geo-solutions.it)
Method Summary |
static GNPrivAlt |
get(int id)
|
int |
getId()
|
static GNPrivAlt |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GNPrivAlt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
VIEW
public static final GNPrivAlt VIEW
DOWNLOAD
public static final GNPrivAlt DOWNLOAD
EDITING
public static final GNPrivAlt EDITING
NOTIFY
public static final GNPrivAlt NOTIFY
DYNAMIC
public static final GNPrivAlt DYNAMIC
FEATURED
public static final GNPrivAlt FEATURED
values
public static GNPrivAlt[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GNPrivAlt c : GNPrivAlt.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GNPrivAlt valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getId
public int getId()
get
public static GNPrivAlt get(int id)
Copyright © 2011-2012 GeoSolutions. All Rights Reserved.