com.esri.core.portal
Enum PortalAccess

java.lang.Object
  extended by java.lang.Enum<PortalAccess>
      extended by com.esri.core.portal.PortalAccess
All Implemented Interfaces:
Serializable, Comparable<PortalAccess>

public enum PortalAccess
extends Enum<PortalAccess>

Signifies the level of access that an object has.


Enum Constant Summary
ORGANIZATION
          Access level is organization.
PRIVATE
          Access level is private.
PUBLIC
          Access level is public.
SHARED
          Access level is shared.
 
Method Summary
 String toString()
          Returns a human readable string representing the access type.
static PortalAccess valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PortalAccess[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PRIVATE

public static final PortalAccess PRIVATE
Access level is private.


SHARED

public static final PortalAccess SHARED
Access level is shared.


ORGANIZATION

public static final PortalAccess ORGANIZATION
Access level is organization.


PUBLIC

public static final PortalAccess PUBLIC
Access level is public.

Method Detail

values

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

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

valueOf

public static PortalAccess 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

toString

public String toString()
Returns a human readable string representing the access type.

Overrides:
toString in class Enum<PortalAccess>
Returns:
A human readable string representing the access type


Copyright © 2012. All Rights Reserved.