Package org.cyclos.model.utils
Enum FrontendMenu
- java.lang.Object
-
- java.lang.Enum<FrontendMenu>
-
- org.cyclos.model.utils.FrontendMenu
-
- All Implemented Interfaces:
Serializable,Comparable<FrontendMenu>,HasMessageKey
public enum FrontendMenu extends Enum<FrontendMenu> implements HasMessageKey
A menu in the new frontend
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANKINGBanking operationsBROKERINGBrokeringCONTENTCustomized contentDASHBOARDLogged user's dashboardHELPHelp pageHOMEGuest home pageLOGINLogin pageMARKETPLACEMarketplace (ads, webshop, etc)OPERATORSOperatorsPERSONALPersonalPUBLIC_DIRECTORYPublic user directoryPUBLIC_MARKETPLACEPublic advertisement searchREGISTRATIONPublic user registrationUSERSUser directory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowPages()MessageKeygetMessageKey()booleanloggedUsers()static FrontendMenuvalueOf(String name)Returns the enum constant of this type with the specified name.static FrontendMenu[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DASHBOARD
public static final FrontendMenu DASHBOARD
Logged user's dashboard
-
BANKING
public static final FrontendMenu BANKING
Banking operations
-
OPERATORS
public static final FrontendMenu OPERATORS
Operators
-
BROKERING
public static final FrontendMenu BROKERING
Brokering
-
USERS
public static final FrontendMenu USERS
User directory
-
MARKETPLACE
public static final FrontendMenu MARKETPLACE
Marketplace (ads, webshop, etc)
-
CONTENT
public static final FrontendMenu CONTENT
Customized content
-
PERSONAL
public static final FrontendMenu PERSONAL
Personal
-
HOME
public static final FrontendMenu HOME
Guest home page
-
PUBLIC_DIRECTORY
public static final FrontendMenu PUBLIC_DIRECTORY
Public user directory
-
PUBLIC_MARKETPLACE
public static final FrontendMenu PUBLIC_MARKETPLACE
Public advertisement search
-
REGISTRATION
public static final FrontendMenu REGISTRATION
Public user registration
-
LOGIN
public static final FrontendMenu LOGIN
Login page
-
HELP
public static final FrontendMenu HELP
Help page
-
-
Method Detail
-
values
public static FrontendMenu[] 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 (FrontendMenu c : FrontendMenu.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrontendMenu 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
-
allowPages
public boolean allowPages()
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
loggedUsers
public boolean loggedUsers()
-
-