org.chorem.pollen.business.persistence
Enum PollActions

java.lang.Object
  extended by java.lang.Enum<PollActions>
      extended by org.chorem.pollen.business.persistence.PollActions
All Implemented Interfaces:
Serializable, Comparable<PollActions>

public enum PollActions
extends Enum<PollActions>

Enumeration to get all possible actions on poll.

Since:
1.4
Author:
tchemit

Enum Constant Summary
ATTACH
           
CLONE
           
CLOSE
           
DELETE
           
EDIT
           
EXPORT
           
MODERATE
           
RESULT
           
SUMMARY
           
VOTE
           
 
Method Summary
 String getActionPrefix()
           
static PollActions valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PollActions[] 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

ATTACH

public static final PollActions ATTACH

VOTE

public static final PollActions VOTE

RESULT

public static final PollActions RESULT

SUMMARY

public static final PollActions SUMMARY

MODERATE

public static final PollActions MODERATE

EDIT

public static final PollActions EDIT

CLOSE

public static final PollActions CLOSE

CLONE

public static final PollActions CLONE

EXPORT

public static final PollActions EXPORT

DELETE

public static final PollActions DELETE
Method Detail

values

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

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

valueOf

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

getActionPrefix

public String getActionPrefix()


Copyright © 2009-2012 CodeLutin. All Rights Reserved.