spcp7.imagegallery.abstractionlayer.enums
Enum DefaultProperties

java.lang.Object
  extended by java.lang.Enum<DefaultProperties>
      extended by spcp7.imagegallery.abstractionlayer.enums.DefaultProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DefaultProperties>

public enum DefaultProperties
extends java.lang.Enum<DefaultProperties>

This enum contains all essential standard property names. Without the properties the whole image gallery will not work.

Author:
Phillip Merensky

Enum Constant Summary
SPCP7_CONTENT_PATH
          The path from which content in a specified content folder will be retrieved.
SPCP7_CURRENT_PATH
          This path normally should only be used internally because it marks the path which should be retrieved in a special case.
SPCP7_ITEMS_PER_PAGE
           
SPCP7_PREVIEW_IMAGE_URL
          The http retrievable url of the preview image of a content folder
SPCP7_START_RETRIEVAL_PATH
          Browseable properties can be browsed with a gui.
SPCP7_THUMBNAIL_STORAGE_PATH
          Same as content path only for thumbnails.
 
Method Summary
static DefaultProperties valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DefaultProperties[] 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

SPCP7_ITEMS_PER_PAGE

public static final DefaultProperties SPCP7_ITEMS_PER_PAGE

SPCP7_CURRENT_PATH

public static final DefaultProperties SPCP7_CURRENT_PATH
This path normally should only be used internally because it marks the path which should be retrieved in a special case. Thus it is not reasonable to set it in a gui by a user.


SPCP7_CONTENT_PATH

public static final DefaultProperties SPCP7_CONTENT_PATH
The path from which content in a specified content folder will be retrieved.


SPCP7_THUMBNAIL_STORAGE_PATH

public static final DefaultProperties SPCP7_THUMBNAIL_STORAGE_PATH
Same as content path only for thumbnails. To guarantee that thumbnails can be found they have to be the same name as the full sized versions under SPCP7_CONTENT_PATH


SPCP7_PREVIEW_IMAGE_URL

public static final DefaultProperties SPCP7_PREVIEW_IMAGE_URL
The http retrievable url of the preview image of a content folder


SPCP7_START_RETRIEVAL_PATH

public static final DefaultProperties SPCP7_START_RETRIEVAL_PATH
Browseable properties can be browsed with a gui. If the current property contains a path which is not valid, this property acts as a fallback and thus it should point to a path which is always or nearly always valid.

Method Detail

values

public static final DefaultProperties[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DefaultProperties c : DefaultProperties.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DefaultProperties valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2008. All Rights Reserved.