RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.manager
Enum NavigationEnum

java.lang.Object
  extended by java.lang.Enum<NavigationEnum>
      extended by 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

Enum Constant Summary
ALBUM_EDIT
           
ALBUM_IMAGE_EDIT
           
ALBUM_IMAGE_PREVIEW
           
ALBUM_PREVIEW
           
ALBUM_UNVISITED
           
ALL_ALBUMS
           
ALL_IMAGES
           
ALL_SHELFS
           
ANONYM
           
EVENT_EDIT
           
EVENT_PREVIEW
           
FB_ALBUM_PREVIEW
           
FB_IMAGE_PREVIEW
           
FB_SHELF
           
FILE_UPLOAD
           
GPLUS_ALBUM_PREVIEW
           
GPLUS_IMAGE_PREVIEW
           
GPLUS_SHELF
           
REGISTER
           
SEARCH
           
SHELF_EDIT
           
SHELF_PREVIEW
           
SHELF_UNVISITED
           
TAGS
           
USER_PREFS
           
USER_SHARED_ALBUMS
           
USER_SHARED_IMAGES
           
 
Method Summary
 String getTemplate()
           
static NavigationEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NavigationEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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()

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.