public class PageData extends java.lang.Object implements ReadOnlyPageData, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
ACTION_ATTRIBUTES |
static java.lang.String |
LAST_MODIFYING_USER
Deprecated.
|
static java.lang.String[] |
NAVIGATION_ATTRIBUTES |
static java.lang.String[] |
NON_SECURITY_ATTRIBUTES |
static java.lang.String |
PAGE_TYPE_ATTRIBUTE |
static java.lang.String[] |
PAGE_TYPE_ATTRIBUTES |
static java.lang.String |
PATH_SEPARATOR |
static java.lang.String |
PropertyEDIT
Deprecated.
|
static java.lang.String |
PropertyFILES
Deprecated.
|
static java.lang.String |
PropertyHELP
Deprecated.
|
static java.lang.String |
PropertyLAST_MODIFIED
Deprecated.
|
static java.lang.String |
PropertyPROPERTIES
Deprecated.
|
static java.lang.String |
PropertyPRUNE
Deprecated.
|
static java.lang.String |
PropertyRECENT_CHANGES
Deprecated.
|
static java.lang.String |
PropertyREFACTOR
Deprecated.
|
static java.lang.String |
PropertySEARCH
Deprecated.
|
static java.lang.String |
PropertySECURE_READ
Deprecated.
|
static java.lang.String |
PropertySECURE_TEST
Deprecated.
|
static java.lang.String |
PropertySECURE_WRITE
Deprecated.
|
static java.lang.String |
PropertySUITES
Deprecated.
|
static java.lang.String |
PropertyVERSIONS
Deprecated.
|
static java.lang.String |
PropertyWHERE_USED
Deprecated.
|
static java.lang.String[] |
SECURITY_ATTRIBUTES |
static java.lang.String |
SUITE_SETUP_NAME |
static java.lang.String |
SUITE_TEARDOWN_NAME |
Constructor and Description |
---|
PageData(PageData data) |
PageData(PageData data,
java.lang.String content) |
PageData(java.lang.String content,
WikiPageProperty properties) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String key) |
java.lang.String |
getContent() |
WikiPageProperty |
getProperties() |
boolean |
hasAttribute(java.lang.String attribute) |
boolean |
isEmpty() |
void |
removeAttribute(java.lang.String key) |
void |
setAttribute(java.lang.String key) |
void |
setAttribute(java.lang.String key,
java.lang.String value) |
void |
setContent(java.lang.String content) |
void |
setOrRemoveAttribute(java.lang.String property,
java.lang.String content) |
void |
setProperties(WikiPageProperty properties) |
@Deprecated public static final java.lang.String PropertyLAST_MODIFIED
@Deprecated public static final java.lang.String PropertyHELP
@Deprecated public static final java.lang.String PropertyPRUNE
@Deprecated public static final java.lang.String PropertySEARCH
@Deprecated public static final java.lang.String PropertyRECENT_CHANGES
@Deprecated public static final java.lang.String PropertyFILES
@Deprecated public static final java.lang.String PropertyWHERE_USED
@Deprecated public static final java.lang.String PropertyREFACTOR
@Deprecated public static final java.lang.String PropertyPROPERTIES
@Deprecated public static final java.lang.String PropertyVERSIONS
@Deprecated public static final java.lang.String PropertyEDIT
@Deprecated public static final java.lang.String PropertySUITES
public static final java.lang.String PAGE_TYPE_ATTRIBUTE
public static final java.lang.String[] PAGE_TYPE_ATTRIBUTES
public static final java.lang.String[] ACTION_ATTRIBUTES
public static final java.lang.String[] NAVIGATION_ATTRIBUTES
public static final java.lang.String[] NON_SECURITY_ATTRIBUTES
@Deprecated public static final java.lang.String PropertySECURE_READ
@Deprecated public static final java.lang.String PropertySECURE_WRITE
@Deprecated public static final java.lang.String PropertySECURE_TEST
public static final java.lang.String[] SECURITY_ATTRIBUTES
@Deprecated public static final java.lang.String LAST_MODIFYING_USER
public static final java.lang.String SUITE_SETUP_NAME
public static final java.lang.String SUITE_TEARDOWN_NAME
public static final java.lang.String PATH_SEPARATOR
public PageData(PageData data, java.lang.String content)
public PageData(PageData data)
public PageData(java.lang.String content, WikiPageProperty properties)
public WikiPageProperty getProperties()
getProperties
in interface ReadOnlyPageData
public java.lang.String getAttribute(java.lang.String key)
getAttribute
in interface ReadOnlyPageData
public void removeAttribute(java.lang.String key)
public void setAttribute(java.lang.String key, java.lang.String value)
public void setAttribute(java.lang.String key)
public void setOrRemoveAttribute(java.lang.String property, java.lang.String content)
public boolean hasAttribute(java.lang.String attribute)
hasAttribute
in interface ReadOnlyPageData
public void setProperties(WikiPageProperty properties)
public java.lang.String getContent()
getContent
in interface ReadOnlyPageData
public void setContent(java.lang.String content)
public boolean isEmpty()