public class PostThread extends Object
| Constructor and Description |
|---|
PostThread(PostArea parent,
Node node,
boolean prefixwanted) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWriter(Posting p)
add the accountname/nick of the Poster of the given Posting in the Posthread to the writers vector
|
void |
childRemoved(Posting p)
signal that a child (posting) has been
removed inside this postthread.
|
String |
getCreator() |
int |
getId() |
String |
getLastPoster() |
int |
getLastPosterNumber() |
int |
getLastPostNumber() |
int |
getLastPostTime() |
String |
getLastSubject() |
int |
getLastUsed() |
int |
getMemorySize() |
String |
getMood() |
String |
getNavigationLine(String baseurl,
int page,
int pagesize,
int overflowpage,
String cssclass)
I hate how this is done but don't see a way to get this fast enough
any other way.
|
String |
getNavigationLine(String baseurl,
int pagesize,
int overflowpage,
String cssclass) |
int |
getPageCount(int pagesize) |
PostArea |
getParent() |
int |
getPostCount() |
Posting |
getPosting(int postingid) |
Posting |
getPostingPos(int pos) |
Iterator<Posting> |
getPostings(int page,
int pagecount) |
String |
getState() |
String |
getState(Poster ap) |
String |
getSubject() |
String |
getType() |
int |
getViewCount() |
boolean |
isLastPage(int page,
int pagesize) |
boolean |
isLoaded() |
boolean |
isWriter(String asker)
determine if the given accountname/nick is a writer in this PostThread
|
int |
postReply(String nsubject,
Poster poster,
String nbody,
boolean parsed) |
void |
readPostings()
Fill the postings vector with all Postings within the PostThread
|
boolean |
remove()
remove the whole PostThread
|
boolean |
save() |
List<Posting> |
searchPostings(List results,
String searchkey,
int posterid) |
List<Posting> |
searchPostings(String searchkey,
int posterid) |
void |
setId(int id) |
void |
setLastSubject(String subject) |
void |
setLoaded(boolean loaded) |
void |
setMood(String mood) |
void |
setState(String staten) |
void |
setSubject(String subject) |
void |
setType(String ttype) |
void |
swapOut() |
public void setId(int id)
public int getId()
public String getSubject()
public void setSubject(String subject)
public String getState()
public void setState(String staten)
public void setMood(String mood)
public void setType(String ttype)
public String getMood()
public String getType()
public String getCreator()
public int getPostCount()
public int getViewCount()
public String getLastPoster()
public int getLastPosterNumber()
public int getLastPostNumber()
public int getLastPostTime()
public String getLastSubject()
public void setLastSubject(String subject)
public Posting getPostingPos(int pos)
public boolean save()
public void readPostings()
public boolean isLastPage(int page,
int pagesize)
public int getPageCount(int pagesize)
public String getNavigationLine(String baseurl, int page, int pagesize, int overflowpage, String cssclass)
public String getNavigationLine(String baseurl, int pagesize, int overflowpage, String cssclass)
public Posting getPosting(int postingid)
public boolean remove()
true if the removal was successfulpublic void addWriter(Posting p)
p - Postingpublic boolean isWriter(String asker)
asker - accountname/nick to be evaluatedtrue if the accountname/nick is a writer in this thread. false if he isn't.public void childRemoved(Posting p)
p - posting that has been removedpublic PostArea getParent()
public int getLastUsed()
public boolean isLoaded()
public void setLoaded(boolean loaded)
public void swapOut()
public int getMemorySize()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}