org.opencms.file
Class CmsPropertyDefinition

java.lang.Object
  extended by org.opencms.file.CmsPropertyDefinition
All Implemented Interfaces:
Cloneable, Comparable

public class CmsPropertyDefinition
extends Object
implements Cloneable, Comparable

Defines a property name, so that CmsProperty instances can be created with that name.

Since:
6.0.0
Version:
$Revision: 1.13 $
Author:
Alexander Kandzior

Field Summary
static String PROPERTY_ACTIV
          Property for the active method in the administration view.
static String PROPERTY_AVAILABLE_LOCALES
          Property for the allowed set of locales.
static String PROPERTY_BODY_CLASS
          Property to control the Java class for body.
static String PROPERTY_CACHE
          The name of the VFS property that controls the caching.
static String PROPERTY_CHANNELID
          Property for the channel id.
static String PROPERTY_CONTENT_CONVERSION
          Property for the content conversion.
static String PROPERTY_CONTENT_ENCODING
          Property for the content encoding.
static String PROPERTY_DEFAULT_FILE
          Property for the default file in folders.
static String PROPERTY_DESCRIPTION
          Property for the description.
static String PROPERTY_EXPORT
          Property for the static export.
static String PROPERTY_EXPORTNAME
          Property for the resource export name, during export this name is used instead of the resource name.
static String PROPERTY_EXPORTSUFFIX
          Property for JSP additional suffix during static export, default is "html".
static String PROPERTY_INTERNAL
          Property for internal use (e.g.
static String PROPERTY_KEYWORDS
          Property for the keywords.
static String PROPERTY_LOCALE
          Property for the current locale.
static String PROPERTY_LOCALE_DEFAULT
          Property for the current locale.
static String PROPERTY_LOGIN_FORM
          Property for the login form.
static String PROPERTY_NAVIMAGE
          Property constant for "NavImage".
static String PROPERTY_NAVINFO
          Property constant for "NavInfo".
static String PROPERTY_NAVPOS
          Property for the navigation position.
static String PROPERTY_NAVTEXT
          Property for the navigation text.
static String PROPERTY_RELATIVEROOT
          Property for the relative root link substitution.
static String PROPERTY_SEARCH_CATEGORY
          Property to sort search results in categories.
static String PROPERTY_SEARCH_EXTRACTIONCLASS
          Property to define a bean for search content extraction.
static String PROPERTY_SEARCH_PRIORITY
          Property to boost certain search results.
static String PROPERTY_SECURE
          Property for the secure transmission of resources.
static String PROPERTY_STYLESHEET
          Property for the stylesheet of files.
static String PROPERTY_TEMPLATE
          Property to control the template.
static String PROPERTY_TEMPLATE_ELEMENTS
          Property to control the template.
static String PROPERTY_TITLE
          Property for the resource title.
static String PROPERTY_VISIBLE
          Property for the visible method in the administration view.
static int PROPERYDEFINITION_RESOURCE
          The propertydefinitiontype for resources.
 
Constructor Summary
CmsPropertyDefinition(CmsUUID id, String name)
          Creates a new CmsPropertydefinition.
 
Method Summary
 Object clone()
          Returns a clone of this Objects instance.
 int compareTo(Object obj)
           
 boolean equals(Object obj)
           
 CmsUUID getId()
          Returns the id of this property definition.
 String getName()
          Returns the name of this property definition.
static CmsPropertyDefinition getNullPropertyDefinition()
          Returns the null property definition.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_ACTIV

public static final String PROPERTY_ACTIV
Property for the active method in the administration view.

See Also:
Constant Field Values

PROPERTY_AVAILABLE_LOCALES

public static final String PROPERTY_AVAILABLE_LOCALES
Property for the allowed set of locales.

See Also:
Constant Field Values

PROPERTY_BODY_CLASS

public static final String PROPERTY_BODY_CLASS
Property to control the Java class for body.

See Also:
Constant Field Values

PROPERTY_CACHE

public static final String PROPERTY_CACHE
The name of the VFS property that controls the caching.

See Also:
Constant Field Values

PROPERTY_CHANNELID

public static final String PROPERTY_CHANNELID
Property for the channel id.

See Also:
Constant Field Values

PROPERTY_CONTENT_CONVERSION

public static final String PROPERTY_CONTENT_CONVERSION
Property for the content conversion.

See Also:
Constant Field Values

PROPERTY_CONTENT_ENCODING

public static final String PROPERTY_CONTENT_ENCODING
Property for the content encoding.

See Also:
Constant Field Values

PROPERTY_DEFAULT_FILE

public static final String PROPERTY_DEFAULT_FILE
Property for the default file in folders.

See Also:
Constant Field Values

PROPERTY_DESCRIPTION

public static final String PROPERTY_DESCRIPTION
Property for the description.

See Also:
Constant Field Values

PROPERTY_EXPORT

public static final String PROPERTY_EXPORT
Property for the static export.

See Also:
Constant Field Values

PROPERTY_EXPORTNAME

public static final String PROPERTY_EXPORTNAME
Property for the resource export name, during export this name is used instead of the resource name.

See Also:
Constant Field Values

PROPERTY_EXPORTSUFFIX

public static final String PROPERTY_EXPORTSUFFIX
Property for JSP additional suffix during static export, default is "html".

See Also:
Constant Field Values

PROPERTY_INTERNAL

public static final String PROPERTY_INTERNAL
Property for internal use (e.g. delete).

See Also:
Constant Field Values

PROPERTY_KEYWORDS

public static final String PROPERTY_KEYWORDS
Property for the keywords.

See Also:
Constant Field Values

PROPERTY_LOCALE_DEFAULT

public static final String PROPERTY_LOCALE_DEFAULT
Property for the current locale.

See Also:
Constant Field Values

PROPERTY_LOCALE

public static final String PROPERTY_LOCALE
Property for the current locale.

See Also:
Constant Field Values

PROPERTY_LOGIN_FORM

public static final String PROPERTY_LOGIN_FORM
Property for the login form.

See Also:
Constant Field Values

PROPERTY_NAVIMAGE

public static final String PROPERTY_NAVIMAGE
Property constant for "NavImage".

See Also:
Constant Field Values

PROPERTY_NAVINFO

public static final String PROPERTY_NAVINFO
Property constant for "NavInfo".

See Also:
Constant Field Values

PROPERTY_NAVPOS

public static final String PROPERTY_NAVPOS
Property for the navigation position.

See Also:
Constant Field Values

PROPERTY_NAVTEXT

public static final String PROPERTY_NAVTEXT
Property for the navigation text.

See Also:
Constant Field Values

PROPERTY_RELATIVEROOT

public static final String PROPERTY_RELATIVEROOT
Property for the relative root link substitution.

See Also:
Constant Field Values

PROPERTY_SEARCH_CATEGORY

public static final String PROPERTY_SEARCH_CATEGORY
Property to sort search results in categories.

See Also:
Constant Field Values

PROPERTY_SEARCH_EXTRACTIONCLASS

public static final String PROPERTY_SEARCH_EXTRACTIONCLASS
Property to define a bean for search content extraction.

See Also:
Constant Field Values

PROPERTY_SEARCH_PRIORITY

public static final String PROPERTY_SEARCH_PRIORITY
Property to boost certain search results.

See Also:
Constant Field Values

PROPERTY_SECURE

public static final String PROPERTY_SECURE
Property for the secure transmission of resources.

See Also:
Constant Field Values

PROPERTY_STYLESHEET

public static final String PROPERTY_STYLESHEET
Property for the stylesheet of files.

See Also:
Constant Field Values

PROPERTY_TEMPLATE

public static final String PROPERTY_TEMPLATE
Property to control the template.

See Also:
Constant Field Values

PROPERTY_TEMPLATE_ELEMENTS

public static final String PROPERTY_TEMPLATE_ELEMENTS
Property to control the template.

See Also:
Constant Field Values

PROPERTY_TITLE

public static final String PROPERTY_TITLE
Property for the resource title.

See Also:
Constant Field Values

PROPERTY_VISIBLE

public static final String PROPERTY_VISIBLE
Property for the visible method in the administration view.

See Also:
Constant Field Values

PROPERYDEFINITION_RESOURCE

public static final int PROPERYDEFINITION_RESOURCE
The propertydefinitiontype for resources.

See Also:
Constant Field Values
Constructor Detail

CmsPropertyDefinition

public CmsPropertyDefinition(CmsUUID id,
                             String name)
Creates a new CmsPropertydefinition.

Parameters:
id - the id of the property definition
name - the name of the property definition
Method Detail

getNullPropertyDefinition

public static CmsPropertyDefinition getNullPropertyDefinition()
Returns the null property definition.

Returns:
the null property definition

clone

public Object clone()
Returns a clone of this Objects instance.

Overrides:
clone in class Object
Returns:
a clone of this instance

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable
See Also:
Comparable.compareTo(java.lang.Object)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

getId

public CmsUUID getId()
Returns the id of this property definition.

Returns:
id the id of this Propertydefinition

getName

public String getName()
Returns the name of this property definition.

Returns:
name The name of this property definition

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()