|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.paris.telecomParisTech.dbWEB.arcomem.wp5.appliocationAwareHelper.integration.Documentsparts
public class Documentsparts
Implementation of DocumentPart class Interface.
| Constructor Summary | |
|---|---|
Documentsparts()
Sole constructor. |
|
| Method Summary | |
|---|---|
Author |
getAuthor()
|
Date |
getCreationDate()
|
String |
getHtmlContent()
|
String |
getPlainTextContent()
|
boolean |
isPrimaryContent()
|
void |
setAuthor(String hosturl,
String username,
double reputation)
Sets the author of Object. |
void |
setCreationDate(String day,
String month,
String year,
String hour,
String minute)
Sets creation date. |
void |
setCreationDate(String year,
String month,
String day,
String hour,
String minute,
String AM_PM)
Sets creation date. |
void |
setHtmlContent(String htmlcontents)
Sets the message body (of Web resource or web object) as plain text. |
void |
setPlainTextContent(String plaintexts)
Sets the message body (of Web resource or web object) as plain text. |
void |
setPrimaryContent()
Sets PrimaryContent true for a web resource that has primary content. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Documentsparts()
| Method Detail |
|---|
public Author getAuthor()
getAuthor in interface DocumentPartpublic Date getCreationDate()
getCreationDate in interface DocumentPartpublic String getHtmlContent()
getHtmlContent in interface DocumentPartpublic String getPlainTextContent()
getPlainTextContent in interface DocumentPartpublic boolean isPrimaryContent()
isPrimaryContent in interface DocumentPart
public void setAuthor(String hosturl,
String username,
double reputation)
hosturl - website where this author is validusername - author namereputation - author reputation
public void setCreationDate(String day,
String month,
String year,
String hour,
String minute)
year - year of object creationmonth - month of object creationday - day of object creationhour - hour of object creationminute - minute of object creation
public void setCreationDate(String year,
String month,
String day,
String hour,
String minute,
String AM_PM)
year - year of object creationmonth - month of object creationday - day of object creationhour - hour of object creationminute - minute of object creationAM_PM - Period of object creationpublic void setHtmlContent(String htmlcontents)
htmlcontents - message body as html contentpublic void setPlainTextContent(String plaintexts)
plaintexts - message body as plain textpublic void setPrimaryContent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||