public class Page extends Object
| Constructor and Description |
|---|
Page() |
Page(String group,
String pageName,
String content,
String title,
long created,
String author) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent() |
String |
getCurrentAuthor() |
String |
getGroup() |
String |
getId() |
String |
getLocalId() |
Map<String,String> |
getMetadata() |
String |
getTitle() |
Date |
getUpdated() |
static String |
idFor(String title) |
static String |
serverPathFor(String group,
String title) |
Page |
setContent(String content) |
Page |
setCurrentAuthor(String currentAuthor) |
Page |
setGroup(String group) |
void |
setId(String id) |
void |
setLocalId(String localId) |
void |
setMetadata(Map<String,String> metadata) |
Page |
setTitle(String title) |
Page |
setUpdated(Date updated) |
void |
syncContentWithTitle() |
String |
toString() |
boolean |
updateFrom(Page pg) |
public Page()
public Page(String group, String pageName, String content, String title, long created, String author) throws MalformedURLException
MalformedURLExceptionpublic String getContent()
public void syncContentWithTitle()
public String getTitle()
public Date getUpdated()
public String getCurrentAuthor()
public String getGroup()
public boolean updateFrom(Page pg)
public String getId()
public void setId(String id)
public String getLocalId()
public void setLocalId(String localId)
Copyright © 2013. All Rights Reserved.