public class PageId extends Object implements Formattable, Serializable
| Constructor and Description |
|---|
PageId(Group group,
String pageName)
Creates new page id for a page with the specified group (space) and page name
|
PageId(SiteId siteId,
String pageName)
Creates a new page id for a page with the specified site id and page name
|
PageId(String siteName,
String pageName)
Creates a new page id with the specified site name and page name
|
PageId(User user,
String pageName)
Creates a new page id for a page with the specified user (dashboard) and page name
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
void |
formatTo(Formatter formatter,
int flags,
int width,
int precision) |
static PageId |
fromString(String idAsString) |
String |
getPageName()
Returns the name of the page
|
SiteId |
getSiteId()
Returns the id of the site
|
int |
hashCode() |
String |
toString() |
public PageId(String siteName, String pageName)
siteName - the site namepageName - the page namepublic PageId(Group group, String pageName)
group - the grouppageName - the page namepublic PageId(User user, String pageName)
user - the userpageName - the page namepublic SiteId getSiteId()
public String getPageName()
public void formatTo(Formatter formatter, int flags, int width, int precision)
formatTo in interface FormattableCopyright © 2013 JBoss by Red Hat. All Rights Reserved.