org.richfaces.photoalbum.manager
Enum NavigationEnum
java.lang.Object
java.lang.Enum<NavigationEnum>
org.richfaces.photoalbum.manager.NavigationEnum
- All Implemented Interfaces:
- Serializable, Comparable<NavigationEnum>
public enum NavigationEnum
- extends Enum<NavigationEnum>
Class encapsulated all possible states, that can be applied to so called 'mainArea' area on the page. This ensured that
properly template will be applied, and user will be redirected to desired page. Next template to show obviously determined in
Controller and pushes to Model.
- Author:
- Andrey Markhel
ANONYM
public static final NavigationEnum ANONYM
FILE_UPLOAD
public static final NavigationEnum FILE_UPLOAD
USER_PREFS
public static final NavigationEnum USER_PREFS
REGISTER
public static final NavigationEnum REGISTER
SEARCH
public static final NavigationEnum SEARCH
ALBUM_PREVIEW
public static final NavigationEnum ALBUM_PREVIEW
ALBUM_IMAGE_PREVIEW
public static final NavigationEnum ALBUM_IMAGE_PREVIEW
SHELF_PREVIEW
public static final NavigationEnum SHELF_PREVIEW
ALL_SHELFS
public static final NavigationEnum ALL_SHELFS
TAGS
public static final NavigationEnum TAGS
ALL_ALBUMS
public static final NavigationEnum ALL_ALBUMS
ALL_IMAGES
public static final NavigationEnum ALL_IMAGES
ALBUM_IMAGE_EDIT
public static final NavigationEnum ALBUM_IMAGE_EDIT
ALBUM_EDIT
public static final NavigationEnum ALBUM_EDIT
SHELF_EDIT
public static final NavigationEnum SHELF_EDIT
SHELF_UNVISITED
public static final NavigationEnum SHELF_UNVISITED
USER_SHARED_ALBUMS
public static final NavigationEnum USER_SHARED_ALBUMS
USER_SHARED_IMAGES
public static final NavigationEnum USER_SHARED_IMAGES
ALBUM_UNVISITED
public static final NavigationEnum ALBUM_UNVISITED
FB_ALBUM_PREVIEW
public static final NavigationEnum FB_ALBUM_PREVIEW
FB_IMAGE_PREVIEW
public static final NavigationEnum FB_IMAGE_PREVIEW
FB_SHELF
public static final NavigationEnum FB_SHELF
GPLUS_SHELF
public static final NavigationEnum GPLUS_SHELF
GPLUS_ALBUM_PREVIEW
public static final NavigationEnum GPLUS_ALBUM_PREVIEW
GPLUS_IMAGE_PREVIEW
public static final NavigationEnum GPLUS_IMAGE_PREVIEW
EVENT_PREVIEW
public static final NavigationEnum EVENT_PREVIEW
EVENT_EDIT
public static final NavigationEnum EVENT_EDIT
values
public static NavigationEnum[] 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 (NavigationEnum c : NavigationEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NavigationEnum 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
getTemplate
public String getTemplate()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.