public class CmsUrlNameMappingEntry
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
CmsUrlNameMappingEntry.DateComparator
Class for comparing URL name mapping entries by date.
|
限定符和类型 | 字段和说明 |
---|---|
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.
|
构造器和说明 |
---|
CmsUrlNameMappingEntry(java.lang.String name,
CmsUUID structureId,
int state,
long dateChanged,
java.lang.String locale)
Creates a new URL name mapping entry.
|
限定符和类型 | 方法和说明 |
---|---|
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() |
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
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 mappingpublic long getDateChanged()
public java.lang.String getLocale()
public java.lang.String getName()
public int getState()
public CmsUUID getStructureId()
public java.lang.String toString()
toString
在类中 java.lang.Object
Object.toString()