edu.internet2.middleware.grouper.webservices
Enum WsFindGroupsResults.WsFindGroupsResultCode

java.lang.Object
  extended by java.lang.Enum<WsFindGroupsResults.WsFindGroupsResultCode>
      extended by edu.internet2.middleware.grouper.webservices.WsFindGroupsResults.WsFindGroupsResultCode
All Implemented Interfaces:
Serializable, Comparable<WsFindGroupsResults.WsFindGroupsResultCode>
Enclosing class:
WsFindGroupsResults

public static enum WsFindGroupsResults.WsFindGroupsResultCode
extends Enum<WsFindGroupsResults.WsFindGroupsResultCode>

result code of a request


Enum Constant Summary
EXCEPTION
          found the subject
INVALID_QUERY
          invalid query (e.g.
STEM_NOT_FOUND
          cant find the stem in a stem search
SUCCESS
          found the subject
 
Method Summary
 boolean isSuccess()
          if this is a successful result
static WsFindGroupsResults.WsFindGroupsResultCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WsFindGroupsResults.WsFindGroupsResultCode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final WsFindGroupsResults.WsFindGroupsResultCode SUCCESS
found the subject


EXCEPTION

public static final WsFindGroupsResults.WsFindGroupsResultCode EXCEPTION
found the subject


INVALID_QUERY

public static final WsFindGroupsResults.WsFindGroupsResultCode INVALID_QUERY
invalid query (e.g. if everything blank)


STEM_NOT_FOUND

public static final WsFindGroupsResults.WsFindGroupsResultCode STEM_NOT_FOUND
cant find the stem in a stem search

Method Detail

values

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

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

valueOf

public static WsFindGroupsResults.WsFindGroupsResultCode 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

isSuccess

public boolean isSuccess()
if this is a successful result

Returns:
true if success