|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.urlname.CmsUrlNameMappingEntry
public class CmsUrlNameMappingEntry
An URL name mapping entry.
| Nested Class Summary | |
|---|---|
static class |
CmsUrlNameMappingEntry.DateComparator
Class for comparing URL name mapping entries by date. |
| Field Summary | |
|---|---|
protected long |
m_dateChanged
The date on which the mapping entry was last changed. |
protected java.lang.String |
m_locale
The locale of the mapping. |
protected java.lang.String |
m_name
The name to which the mapping entry belongs. |
protected int |
m_state
The state of the mapping entry. |
protected CmsUUID |
m_structureId
The structure id to which the name is mapped. |
static int |
MAPPING_STATUS_NEW
The state for mapping entries which have not been published. |
static int |
MAPPING_STATUS_PUBLISHED
The state for mapping entries which have been published. |
| Constructor Summary | |
|---|---|
CmsUrlNameMappingEntry(java.lang.String name,
CmsUUID structureId,
int state,
long dateChanged,
java.lang.String locale)
Creates a new URL name mapping entry. |
|
| Method Summary | |
|---|---|
long |
getDateChanged()
Returns the date at which the mapping was last changed as a long. |
java.lang.String |
getLocale()
Returns the locale of the mapping entry. |
java.lang.String |
getName()
Returns the name to which the mapping belongs. |
int |
getState()
Returns the state of the mapping entry. |
CmsUUID |
getStructureId()
Returns the structure id which is mapped to the name. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MAPPING_STATUS_NEW
public static final int MAPPING_STATUS_PUBLISHED
protected long m_dateChanged
protected java.lang.String m_name
protected int m_state
protected CmsUUID m_structureId
protected java.lang.String m_locale
| Constructor Detail |
|---|
public CmsUrlNameMappingEntry(java.lang.String name,
CmsUUID structureId,
int state,
long dateChanged,
java.lang.String locale)
name - the URL namestructureId - the id to which the name is mappedstate - the state of the entrydateChanged - the date of the entry's last changelocale - the locale of the mapping| Method Detail |
|---|
public long getDateChanged()
public java.lang.String getLocale()
public java.lang.String getName()
public int getState()
public CmsUUID getStructureId()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||