|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.wiki.WikiPageReference
public class WikiPageReference
A reference to a wiki page.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String WIKI_NAME
public static final String SPACE_NAME
public static final String PAGE_NAME
| Constructor Detail |
|---|
public WikiPageReference()
public WikiPageReference(EntityReference entityReference)
entityReference - an entity reference
public WikiPageReference(String wikiName,
String spaceName,
String pageName)
wikiName - the name of the wiki that hosts the pagespaceName - the name of the space that hosts the pagepageName - the name of the page| Method Detail |
|---|
public 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||