com.ibm.pim.selection
Enum Selection.Type

java.lang.Object
  extended by java.lang.Enum<Selection.Type>
      extended by com.ibm.pim.selection.Selection.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Selection.Type>
Enclosing interface:
Selection

public static enum Selection.Type
extends java.lang.Enum<Selection.Type>

Enumeration listing types of Selections


Enum Constant Summary
DYNAMIC_COLLABORATION_ITEM_SELECTION
          Represents a dynamic collaboration item selection that returns collaboration items from a collaboration area based on the query that is used to create the selection.
DYNAMIC_ITEM_SELECTION
          Represents a dynamic selection that returns items from a catalog based on the query that is used to create the selection.
STATIC_ITEM_SELECTION
          Represents a static selection that returns items from a catalog based on the items added to the selection.
 
Method Summary
static Selection.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Selection.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STATIC_ITEM_SELECTION

public static final Selection.Type STATIC_ITEM_SELECTION
Represents a static selection that returns items from a catalog based on the items added to the selection.


DYNAMIC_ITEM_SELECTION

public static final Selection.Type DYNAMIC_ITEM_SELECTION
Represents a dynamic selection that returns items from a catalog based on the query that is used to create the selection.


DYNAMIC_COLLABORATION_ITEM_SELECTION

public static final Selection.Type DYNAMIC_COLLABORATION_ITEM_SELECTION
Represents a dynamic collaboration item selection that returns collaboration items from a collaboration area based on the query that is used to create the selection.

Method Detail

values

public static final Selection.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Selection.Type c : Selection.Type.values())
        System.out.println(c);

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

valueOf

public static Selection.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name