|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.im.tags.Result
This class represents a result after executing a command.
Constructor Summary | |
Result(java.lang.String sResultCode)
Constructor. |
Method Summary | |
java.lang.String[][] |
getNvpairs()
Gets the name/value pairs. |
void |
putError(java.lang.Throwable e)
Puts the error in the result. |
void |
putMessage(java.lang.String sSessionID,
IInstantMessage im,
int idx,
java.lang.String sImageUri,
java.util.Locale locale)
Puts the message in the result. |
void |
putParam(java.lang.String sParam,
int iValue)
Puts the param in the result. |
void |
putParam(java.lang.String sParam,
int iIndex,
int iValue)
Puts the param in the result. |
void |
putParam(java.lang.String sParam,
int iIndex,
java.lang.String sValue)
Puts the param in the result. |
void |
putParam(java.lang.String sParam,
java.lang.String sValue)
Puts the param in the result. |
void |
putPresence(IFriend f)
Puts the presence in the result for the specified friend. |
void |
putPresence(IFriend f,
int idx)
Puts the presence in the result for the specified friend. |
void |
putTyping(ImEvent fe,
int idx)
Puts the typing in the result for the specified friend event. |
void |
setResultCode(java.lang.String sResultCode)
Sets the result code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Result(java.lang.String sResultCode)
sResultCode
- the result codeMethod Detail |
public void putParam(java.lang.String sParam, int iValue)
sParam
- the paramiValue
- the valuepublic void putParam(java.lang.String sParam, int iIndex, int iValue)
sParam
- the paramiIndex
- the param indexiValue
- the valuepublic void putParam(java.lang.String sParam, int iIndex, java.lang.String sValue)
sParam
- the paramiIndex
- the param indexsValue
- the valuepublic void putParam(java.lang.String sParam, java.lang.String sValue)
sParam
- the paramsValue
- the valuepublic void setResultCode(java.lang.String sResultCode)
sResultCode
- the result codepublic java.lang.String[][] getNvpairs()
public void putError(java.lang.Throwable e)
e
- the errorpublic void putPresence(IFriend f) throws CollaborationException
f
- the friendpublic void putPresence(IFriend f, int idx) throws CollaborationException
f
- the friendidx
- the friend indexpublic void putMessage(java.lang.String sSessionID, IInstantMessage im, int idx, java.lang.String sImageUri, java.util.Locale locale) throws CollaborationException
sSessionID
- the session IDim
- the messageidx
- the indexiImageWidth
- the image width (in pixels)iImageHeight
- the image height (in pixels)public void putTyping(ImEvent fe, int idx) throws CollaborationException
fe
- the friend eventidx
- the friend event index
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |