|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SurveyControllerError>
org.torweg.pulse.component.survey.SurveyControllerError
public enum SurveyControllerError
Error-Codes of the SurveyController (for usage in XSL).
| Enum Constant Summary | |
|---|---|
INVALID_TOKEN
The passed token did not return a valid SurveyToken
for the Survey. |
|
IS_FINISHED
The current execution- Date > the start-
Date of the Survey currently being processed. |
|
MISSING_REQUIRED_ROLE
The User does not have the specific Roles the
Survey requires. |
|
NOT_LOGGED_IN
The Survey is not anonymous and no User is
logged in. |
|
NOT_STARTED
The current execution- Date < the start-
Date of the Survey currently being processed. |
|
SURVEY_ERROR
A Survey-related error, such as:
no id has been passed
no Survey could be loaded for the passed id
|
|
| Method Summary | |
|---|---|
static SurveyControllerError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SurveyControllerError[] |
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 |
|---|
public static final SurveyControllerError SURVEY_ERROR
Survey-related error, such as:
Survey could be loaded for the passed id
public static final SurveyControllerError NOT_STARTED
Date < the start-
Date of the Survey currently being processed.
public static final SurveyControllerError IS_FINISHED
Date > the start-
Date of the Survey currently being processed.
public static final SurveyControllerError NOT_LOGGED_IN
Survey is not anonymous and no User is
logged in.
public static final SurveyControllerError MISSING_REQUIRED_ROLE
User does not have the specific Roles the
Survey requires.
public static final SurveyControllerError INVALID_TOKEN
SurveyToken
for the Survey.
| Method Detail |
|---|
public static final SurveyControllerError[] values()
for(SurveyControllerError c : SurveyControllerError.values())
System.out.println(c);
public static SurveyControllerError valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||