|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.discussion.ForumProperty
This class stores the values for the Forum
property tags.
Unless you are working with property name,
for example if you're working with sorting,
you do not need to worry about these constants
as their use is mostly abstracted away from the programmer.
The internationalizable
string values are stored in the discussion_resources.properties
file (accessed through DiscussionResources
) and referenced by
their key.
Field Summary | |
static ForumProperty |
ARCHIVE
This value represents the forum property 'archive'. |
static ForumProperty |
ARCHIVE_DATE
This value represents the forum property 'archive date'. |
static ForumProperty |
AUTHOR
This value represents the forum property 'author'. |
static ForumProperty |
CONTENT_TYPE
This value represents the forum property 'content type'. |
static ForumProperty |
CUSTOM_NUM1
This value represents the forum property 'custom num 1'. |
static ForumProperty |
CUSTOM_NUM2
This value represents the forum property 'custom num 2'. |
static ForumProperty |
CUSTOM_NUM3
This value represents the forum property 'custom num 3'. |
static ForumProperty |
CUSTOM_NUM4
This value represents the forum property 'custom num 4'. |
static ForumProperty |
CUSTOM_STR1
This value represents the forum property 'custom str 1'. |
static ForumProperty |
CUSTOM_STR2
This value represents the forum property 'custom str 2'. |
static ForumProperty |
CUSTOM_STR3
This value represents the forum property 'custom str 3'. |
static ForumProperty |
CUSTOM_STR4
This value represents the forum property 'custom str 4'. |
static ForumProperty |
DATE_CREATED
This value represents the forum property 'date created'. |
static ForumProperty |
DATE_LAST_MODIFIED
This value represents the forum property 'date last modified'. |
static ForumProperty |
DESCRIPTION
This value represents the forum property 'description'. |
static ForumProperty |
EXPIRATION_DATE
This value represents the forum property 'expiration date'. |
static ForumProperty |
KEYWORDS
This value represents the forum property 'keywords'. |
static ForumProperty |
MAXIMUM_TOPIC_COUNT
This value represents the forum property 'maximum topic count'. |
static ForumProperty |
MESSAGE_COUNT
This value represents the forum property 'message count'. |
static ForumProperty |
NAME
This value represents the forum property 'name'. |
static ForumProperty |
TOPIC_COUNT
This value represents the forum property 'topic count'. |
static ForumProperty |
TYPE
This value represents the forum property 'type'. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static ForumProperty |
get(java.lang.String sName)
Gets the property by the name in the system default locale. |
static java.util.List |
getList()
Gets the list of properties. |
java.lang.String |
getName()
Gets the name of the property using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the property using the specified locale. |
java.lang.String |
getStoreValue()
Gets the value that's used to store the property in the storage system. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ForumProperty NAME
public static final ForumProperty DESCRIPTION
public static final ForumProperty CONTENT_TYPE
public static final ForumProperty KEYWORDS
public static final ForumProperty ARCHIVE_DATE
public static final ForumProperty ARCHIVE
public static final ForumProperty TYPE
public static final ForumProperty MESSAGE_COUNT
public static final ForumProperty TOPIC_COUNT
public static final ForumProperty DATE_CREATED
public static final ForumProperty DATE_LAST_MODIFIED
public static final ForumProperty MAXIMUM_TOPIC_COUNT
public static final ForumProperty EXPIRATION_DATE
public static final ForumProperty AUTHOR
public static final ForumProperty CUSTOM_NUM1
public static final ForumProperty CUSTOM_NUM2
public static final ForumProperty CUSTOM_NUM3
public static final ForumProperty CUSTOM_NUM4
public static final ForumProperty CUSTOM_STR1
public static final ForumProperty CUSTOM_STR2
public static final ForumProperty CUSTOM_STR3
public static final ForumProperty CUSTOM_STR4
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic java.lang.String getStoreValue()
public static ForumProperty get(java.lang.String sName)
sName
- the name in the system default localenull
if not foundpublic static java.util.List getList()
ForumProperty
es (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to checktrue
if this object has the same store value as the
argument, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |