|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--sharpster.common.Response
|
+--sharpster.common.SharedFilesResponse
A response containing information about a file share.
| Constructor Summary | |
SharedFilesResponse()
|
|
| Method Summary | |
void |
addSharedToUsers(java.lang.String user)
|
int |
getAction()
Returns an integer representing the command which has caused the response (share, unshare etc). |
sharpster.common.FileCollection |
getFiles()
Returns the FileCollection of the response. |
java.lang.String[] |
getSharedToUsers()
|
int |
getType()
Returns the type of this response. |
void |
setAction(int action)
Sets the command which has caused the response (share, unshare etc). |
void |
setFiles(sharpster.common.FileCollection files)
Sets the file collection. |
java.lang.String |
toString()
|
| Methods inherited from class sharpster.common.Response |
getOrigin, getUser, isError, setError, setOrigin, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SharedFilesResponse()
| Method Detail |
public int getType()
getType in class Responsepublic sharpster.common.FileCollection getFiles()
public void setFiles(sharpster.common.FileCollection files)
files - The files to be set.public int getAction()
public void setAction(int action)
action - An action integerpublic void addSharedToUsers(java.lang.String user)
public java.lang.String[] getSharedToUsers()
public java.lang.String toString()
toString in class Response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||