org.chorem.pollen.business.persistence
Enum PollActions
java.lang.Object
java.lang.Enum<PollActions>
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
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
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.