public class WikiPageReference extends Object implements com.google.gwt.user.client.rpc.IsSerializable
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_NAME
The component that stores the name of the page that hosts the referenced entity.
|
static String |
SPACE_NAME
The component that stores the name of the space that hosts the referenced entity.
|
static String |
WIKI_NAME
The component that stores the name of the wiki that hosts the referenced entity.
|
| Constructor and Description |
|---|
WikiPageReference()
Default constructor.
|
WikiPageReference(EntityReference entityReference)
Creates a typed wiki page reference.
|
WikiPageReference(String wikiName,
String spaceName,
String pageName)
Creates a reference to the specified wiki page.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
EntityReference |
getEntityReference() |
String |
getPageName() |
String |
getSpaceName() |
String |
getWikiName() |
int |
hashCode() |
void |
setPageName(String pageName)
Sets the name of the page that hosts the referenced entity.
|
void |
setSpaceName(String spaceName)
Sets the name of the space that hosts the referenced entity.
|
void |
setWikiName(String wikiName)
Sets the name of the wiki that hosts the referenced entity.
|
public static final String WIKI_NAME
public static final String SPACE_NAME
public static final String PAGE_NAME
public WikiPageReference()
public WikiPageReference(EntityReference entityReference)
entityReference - an entity referencepublic String getWikiName()
public void setWikiName(String wikiName)
wikiName - the name of the wiki that hosts the referenced entitypublic String getSpaceName()
public void setSpaceName(String spaceName)
spaceName - the name of the space that hosts the referenced entitypublic String getPageName()
public void setPageName(String pageName)
pageName - the name of the page that hosts the referenced entitypublic EntityReference getEntityReference()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(Object)Copyright © 2004–2015 XWiki. All rights reserved.