Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.management
Enum MmdEnums.ApprovalStatus

java.lang.Object
  extended by java.lang.Enum<MmdEnums.ApprovalStatus>
      extended by com.esri.gpt.catalog.management.MmdEnums.ApprovalStatus
All Implemented Interfaces:
Serializable, Comparable<MmdEnums.ApprovalStatus>
Enclosing class:
MmdEnums

public static enum MmdEnums.ApprovalStatus
extends Enum<MmdEnums.ApprovalStatus>

An enumeration describing a metadata record's approval status.


Enum Constant Summary
any
          Any status.
approved
          Document was approved.
disapproved
          Document was disapproved.
draft
          Document is a draft
incomplete
          Document is incomplete.
pending_approved
          Document action is pending add from thunderdome
pending_delete
          Document action is pending delete from thunderdome
pending_disapproved
           
pending_draft
           
pending_incomplete
           
pending_posted
           
pending_reviewed
           
posted
          Document was posted (default value).
remotely_deleted
           
reviewed
          Document was reviewed.
 
Method Summary
static MmdEnums.ApprovalStatus checkValue(String value)
          Checks the value of a String to determine the corresponding enum.
static MmdEnums.ApprovalStatus defaultValue()
          Returns the default value for the enum.
static boolean isPubliclyVisible(String value)
          Determines if a status String represents a publicly visible state.
static MmdEnums.ApprovalStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MmdEnums.ApprovalStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

any

public static final MmdEnums.ApprovalStatus any
Any status.


posted

public static final MmdEnums.ApprovalStatus posted
Document was posted (default value).


incomplete

public static final MmdEnums.ApprovalStatus incomplete
Document is incomplete.


reviewed

public static final MmdEnums.ApprovalStatus reviewed
Document was reviewed.


approved

public static final MmdEnums.ApprovalStatus approved
Document was approved.


disapproved

public static final MmdEnums.ApprovalStatus disapproved
Document was disapproved.


draft

public static final MmdEnums.ApprovalStatus draft
Document is a draft


pending_approved

public static final MmdEnums.ApprovalStatus pending_approved
Document action is pending add from thunderdome


pending_delete

public static final MmdEnums.ApprovalStatus pending_delete
Document action is pending delete from thunderdome


pending_posted

public static final MmdEnums.ApprovalStatus pending_posted

pending_incomplete

public static final MmdEnums.ApprovalStatus pending_incomplete

pending_reviewed

public static final MmdEnums.ApprovalStatus pending_reviewed

pending_disapproved

public static final MmdEnums.ApprovalStatus pending_disapproved

pending_draft

public static final MmdEnums.ApprovalStatus pending_draft

remotely_deleted

public static final MmdEnums.ApprovalStatus remotely_deleted
Method Detail

values

public static MmdEnums.ApprovalStatus[] 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 (MmdEnums.ApprovalStatus c : MmdEnums.ApprovalStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MmdEnums.ApprovalStatus 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

checkValue

public static MmdEnums.ApprovalStatus checkValue(String value)
Checks the value of a String to determine the corresponding enum.

Parameters:
value - the string to check
Returns:
the corresponding enum (default is ApprovalStatus.posted)

defaultValue

public static MmdEnums.ApprovalStatus defaultValue()
Returns the default value for the enum.

Returns:
ApprovalStatus.posted

isPubliclyVisible

public static boolean isPubliclyVisible(String value)
Determines if a status String represents a publicly visible state.
ApprovalStatus.approved or ApprovalStatus.reviewed

Returns:
true if publicly visible

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.