|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
news storage interface. This class allows the server code to retrieve and save group chat affiliations. It is extended by classes providing actual storage.
Method Summary | |
void |
deleteMessage(java.lang.String newsAddress,
java.lang.String msgId)
add a Message to the Storage |
void |
deleteMessages(java.lang.String newsAddress)
delete all the messages from the persistent Storage |
java.lang.String |
getMessage(java.lang.String newsAddress,
java.lang.String msgId)
Retrieve the content of a specific message |
java.lang.String[] |
getMessageIds(java.lang.String newsAddress)
Retrieve all the messages ids of the messages from the persistent Storage |
void |
saveMessage(java.lang.String newsAddress,
java.lang.String msgId,
java.lang.String xml)
add a Message to the Storage |
Methods inherited from interface com.sun.im.provider.ConferenceStorageProvider |
create, destroy, exists, loadAffiliations, loadConfiguration, saveAffiliations, saveConfiguration, search, search |
Method Detail |
public void saveMessage(java.lang.String newsAddress, java.lang.String msgId, java.lang.String xml) throws java.lang.Exception
xml
- the message to be saved in xml formatmsgId
- the message Identifier
java.lang.Exception
public void deleteMessage(java.lang.String newsAddress, java.lang.String msgId) throws java.lang.Exception
msgId
- the message Identifier
java.lang.Exception
public void deleteMessages(java.lang.String newsAddress) throws java.lang.Exception
java.lang.Exception
public java.lang.String getMessage(java.lang.String newsAddress, java.lang.String msgId) throws java.lang.Exception
newsAddress
- The persistent newschannel's address.msgId
- the message Identifier
java.lang.Exception
public java.lang.String[] getMessageIds(java.lang.String newsAddress) throws java.lang.Exception
newsAddress
- The persistent newschannel's newsAddress.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |