com.sap.portal.favorites

Enum Capability

java.lang.Object
  extended by java.lang.Enum<Capability>
      extended by com.sap.portal.favorites.Capability
All Implemented Interfaces:
Serializable, Comparable<Capability>

public enum Capability
extends Enum<Capability>

This enumeration represents the actions that can be performed on a IFavorite object ADD - child favorites can be added to this favorite, if it is a folder RENAME - the favorite can be renamed DELETE - the favorite can be deleted MOVE_IN_FOLDER - the favorite can be moved can be moved within it's folder MOVE_TO_FOLDER - the favorite can be moved to another folder

See Also:
IFavorite.capabilitySupported(com.sap.portal.favorites.Capability)

Enum Constant Summary
ADD
           
DELETE
           
MOVE_IN_FOLDER
           
MOVE_TO_FOLDER
           
RENAME
           
 
Method Summary
static Capability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Capability[] 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

ADD

public static final Capability ADD

RENAME

public static final Capability RENAME

DELETE

public static final Capability DELETE

MOVE_IN_FOLDER

public static final Capability MOVE_IN_FOLDER

MOVE_TO_FOLDER

public static final Capability MOVE_TO_FOLDER
Method Detail

values

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

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

valueOf

public static Capability 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
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/navigation/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice