Package org.cyclos.model.utils
Enum Location
- java.lang.Object
-
- java.lang.Enum<Location>
-
- org.cyclos.model.utils.Location
-
- All Implemented Interfaces:
Serializable,Comparable<Location>
public enum Location extends Enum<Location>
Points to different locations which to be accessed, each location points to a module functionality.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAllowGuest()static booleanisAllowGuest(Location location)Returns those locations allowed for guest.static LocationvalueOf(String name)Returns the enum constant of this type with the specified name.static Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADVERTISEMENT
public static final Location ADVERTISEMENT
-
ORDER
public static final Location ORDER
-
ORDER_STOCK
public static final Location ORDER_STOCK
-
AD_QUESTION_ANSWERED
public static final Location AD_QUESTION_ANSWERED
-
UNANSWERED_AD_QUESTION
public static final Location UNANSWERED_AD_QUESTION
-
UNANSWERED_WEB_SHOP_QUESTION
public static final Location UNANSWERED_WEB_SHOP_QUESTION
-
NOTIFICATIONS
public static final Location NOTIFICATIONS
-
NOTIFICATION_SETTING
public static final Location NOTIFICATION_SETTING
-
PASSWORD
public static final Location PASSWORD
-
MESSAGE
public static final Location MESSAGE
-
REFERENCE
public static final Location REFERENCE
-
NEW_TRANSACTION_FEEDBACK
public static final Location NEW_TRANSACTION_FEEDBACK
-
FEEDBACK
public static final Location FEEDBACK
-
PAYMENT
public static final Location PAYMENT
-
SCHEDULED_PAYMENT
public static final Location SCHEDULED_PAYMENT
-
RECURRING_PAYMENT
public static final Location RECURRING_PAYMENT
-
PAYMENT_REQUEST
public static final Location PAYMENT_REQUEST
-
TRANSACTION
public static final Location TRANSACTION
-
TICKET
public static final Location TICKET
-
EXTERNAL_PAYMENT
public static final Location EXTERNAL_PAYMENT
-
VOUCHER
public static final Location VOUCHER
-
VOUCHER_TRANSACTION
public static final Location VOUCHER_TRANSACTION
-
VOUCHER_TYPE
public static final Location VOUCHER_TYPE
-
TRANSFER
public static final Location TRANSFER
-
USER_PROFILE
public static final Location USER_PROFILE
-
OPERATOR_PROFILE
public static final Location OPERATOR_PROFILE
-
PUBLIC_USER_REGISTRATION
public static final Location PUBLIC_USER_REGISTRATION
-
SYSTEM_ALERT
public static final Location SYSTEM_ALERT
-
USER_ALERT
public static final Location USER_ALERT
-
NEW_USER
public static final Location NEW_USER
-
IMPORTS
public static final Location IMPORTS
-
NETWORK
public static final Location NETWORK
-
ERROR_LOG
public static final Location ERROR_LOG
-
RECORD
public static final Location RECORD
-
TOKEN
public static final Location TOKEN
-
ACCOUNT_HISTORY
public static final Location ACCOUNT_HISTORY
-
-
Method Detail
-
values
public static Location[] 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 (Location c : Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Location 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 nameNullPointerException- if the argument is null
-
isAllowGuest
public static boolean isAllowGuest(Location location)
Returns those locations allowed for guest.
-
isAllowGuest
public boolean isAllowGuest()
-
-