|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable org.paneris.util.ExtendedHash org.paneris.jal.model.DDRecord org.paneris.messageboard.model.Board
public class Board
A messageboard.
Field Summary |
---|
Fields inherited from class org.paneris.jal.model.DDRecord |
---|
database, dataCache, debug, metaData |
Constructor Summary | |
---|---|
Board(java.lang.String db)
Constructor |
|
Board(java.lang.String db,
java.lang.Integer record)
Constructor |
|
Board(java.lang.String db,
java.sql.ResultSet rs)
Constructor |
Method Summary | |
---|---|
static java.lang.Integer |
getLurkerBoard(java.lang.String db)
|
java.lang.String |
getMessageboardEmail()
|
java.lang.String |
getMessageboardURL()
|
java.lang.Integer |
getMessages()
|
java.lang.String |
getMessageURL(java.lang.String id)
|
java.lang.String |
getServletURL()
|
java.lang.Integer |
getSubscribers()
|
java.lang.String |
getUnsubscribeURL()
|
boolean |
isSubscribed(User user)
Is this user subscribed to this board? |
void |
subscribe(User user)
Subscribe this user to this board. |
void |
unSubscribe(User user)
Unsubscribe us from this board |
Methods inherited from class org.paneris.jal.model.DDRecord |
---|
appendFieldValue, delete, get, getChildren, getField, getFieldValue, getLinksToThis, getLinksToThis, getMetaData, getOrderedChildren, getProblems, getResultSet, init, isDuplicated, setFieldValue, setFieldValue, setFromDefaults, setFromForm, setFromForm, setFromForm, write, write |
Methods inherited from class org.paneris.util.ExtendedHash |
---|
clear, elements, joinKeys, keys, put, remove |
Methods inherited from class java.util.Hashtable |
---|
clone, contains, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, putAll, rehash, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Board(java.lang.String db, java.sql.ResultSet rs) throws java.lang.Exception
java.lang.Exception
- If somthing failspublic Board(java.lang.String db) throws java.lang.Exception
java.lang.Exception
- If somthing failspublic Board(java.lang.String db, java.lang.Integer record) throws java.lang.Exception
java.lang.Exception
- If somthing failsMethod Detail |
---|
public java.lang.Integer getMessages()
public java.lang.Integer getSubscribers()
public java.lang.String getServletURL()
public java.lang.String getMessageboardURL()
public java.lang.String getUnsubscribeURL()
public java.lang.String getMessageURL(java.lang.String id)
public java.lang.String getMessageboardEmail()
public static java.lang.Integer getLurkerBoard(java.lang.String db)
public void subscribe(User user) throws java.lang.Exception
java.lang.Exception
- If somthing failspublic void unSubscribe(User user) throws java.lang.Exception
java.lang.Exception
- If somthing failspublic boolean isSubscribed(User user) throws java.lang.Exception
java.lang.Exception
- If somthing fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |