|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcn.com.believer.songyuanframework.openapi.storage.box.impl.simple.SimpleBoxImpl
public class SimpleBoxImpl
Field Summary | |
---|---|
protected static Logger |
LOGGER
log4j logger. |
Constructor Summary | |
---|---|
SimpleBoxImpl()
|
Method Summary | |
---|---|
AddToMyBoxResponse |
addToMyBox(AddToMyBoxRequest addToMyBoxRequest)
This method copies a file publicly shared by someone to a user's mybox. |
AddToTagResponse |
addToTag(AddToTagRequest addToTagRequest)
This method adds file or folder to tags list. |
CreateFolderResponse |
createFolder(CreateFolderRequest createFolderRequest)
This method creates a new folder. |
DeleteResponse |
delete(DeleteRequest deleteRequest)
This method deletes a file or folder. |
DownloadResponse |
download(DownloadRequest downloadRequest)
download a file. |
ExportTagsResponse |
exportTags(ExportTagsRequest exportTagsRequest)
This method returns all the user's tags. |
GetAccountTreeResponse |
getAccountTree(GetAccountTreeRequest getAccountTreeRequest)
This method is used to get a user's files and folders tree. |
GetAuthTokenResponse |
getAuthToken(GetAuthTokenRequest getAuthTokenRequest)
This method is used in the authorization process. |
GetFileInfoResponse |
getFileInfo(GetFileInfoRequest getFileInfoRequest)
This method gets file info. |
GetFriendsResponse |
getFriends(GetFriendsRequest getFriendsRequest)
This method is used to retrieve a list of freinds. |
GetTicketResponse |
getTicket(GetTicketRequest getTicketRequest)
This method is used in the authorization process. |
LogoutResponse |
logout(LogoutRequest logoutRequest)
This method is used to logout a user. |
MoveResponse |
move(MoveRequest moveRequest)
This method moves a file or folder to another folder. |
PrivateShareResponse |
privateShare(PrivateShareRequest privateShareRequest)
This method privately shares a file or folder with another user(s). |
PublicShareResponse |
publicShare(PublicShareRequest publicShareRequest)
This method publicly shares a file or folder. |
PublicUnshareResponse |
publicUnshare(PublicUnshareRequest publicUnshareRequest)
This method unshares a shared file or folder. |
RegisterNewUserResponse |
registerNewUser(RegisterNewUserRequest registerNewUserRequest)
This method is used to register a user. |
RenameResponse |
rename(RenameRequest renameRequest)
This method renames a file or folder. |
RequestFriendsResponse |
requestFriends(RequestFriendsRequest requestFriendsRequest)
This method requests new friends to be added to your network. |
SetDescriptionResponse |
setDescription(SetDescriptionRequest setDescriptionRequest)
This method sets a description to a file or folder. |
UploadResponse |
upload(UploadRequest uploadRequest)
upload files. |
VerifyRegistrationEmailResponse |
verifyRegistrationEmail(VerifyRegistrationEmailRequest verifyRegistrationEmailRequest)
This method is used to verify user registration email . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Logger LOGGER
Constructor Detail |
---|
public SimpleBoxImpl()
Method Detail |
---|
public UploadResponse upload(UploadRequest uploadRequest) throws java.io.IOException, BoxException
BoxExternalAPI
upload
in interface BoxExternalAPI
uploadRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic DownloadResponse download(DownloadRequest downloadRequest) throws java.io.IOException
BoxExternalAPI
download
in interface BoxExternalAPI
downloadRequest
- request
java.io.IOException
- IO exceptionpublic RequestFriendsResponse requestFriends(RequestFriendsRequest requestFriendsRequest) throws java.io.IOException, BoxException
requestFriends
in interface BoxExternalAPI
requestFriendsRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic GetFriendsResponse getFriends(GetFriendsRequest getFriendsRequest) throws java.io.IOException, BoxException
getFriends
in interface BoxExternalAPI
getFriendsRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic SetDescriptionResponse setDescription(SetDescriptionRequest setDescriptionRequest) throws java.io.IOException, BoxException
setDescription
in interface BoxExternalAPI
setDescriptionRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic GetFileInfoResponse getFileInfo(GetFileInfoRequest getFileInfoRequest) throws java.io.IOException, BoxException
getFileInfo
in interface BoxExternalAPI
getFileInfoRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic AddToTagResponse addToTag(AddToTagRequest addToTagRequest) throws java.io.IOException, BoxException
addToTag
in interface BoxExternalAPI
addToTagRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic AddToMyBoxResponse addToMyBox(AddToMyBoxRequest addToMyBoxRequest) throws java.io.IOException, BoxException
addToMyBox
in interface BoxExternalAPI
addToMyBoxRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic PrivateShareResponse privateShare(PrivateShareRequest privateShareRequest) throws java.io.IOException, BoxException
privateShare
in interface BoxExternalAPI
privateShareRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic PublicUnshareResponse publicUnshare(PublicUnshareRequest publicUnshareRequest) throws java.io.IOException, BoxException
publicUnshare
in interface BoxExternalAPI
publicUnshareRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic PublicShareResponse publicShare(PublicShareRequest publicShareRequest) throws java.io.IOException, BoxException
publicShare
in interface BoxExternalAPI
publicShareRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic DeleteResponse delete(DeleteRequest deleteRequest) throws java.io.IOException, BoxException
delete
in interface BoxExternalAPI
deleteRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic RenameResponse rename(RenameRequest renameRequest) throws java.io.IOException, BoxException
rename
in interface BoxExternalAPI
renameRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic MoveResponse move(MoveRequest moveRequest) throws java.io.IOException, BoxException
move
in interface BoxExternalAPI
moveRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic CreateFolderResponse createFolder(CreateFolderRequest createFolderRequest) throws java.io.IOException, BoxException
createFolder
in interface BoxExternalAPI
createFolderRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic ExportTagsResponse exportTags(ExportTagsRequest exportTagsRequest) throws java.io.IOException, BoxException
exportTags
in interface BoxExternalAPI
exportTagsRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic GetAccountTreeResponse getAccountTree(GetAccountTreeRequest getAccountTreeRequest) throws java.io.IOException, BoxException
getAccountTree
in interface BoxExternalAPI
getAccountTreeRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic VerifyRegistrationEmailResponse verifyRegistrationEmail(VerifyRegistrationEmailRequest verifyRegistrationEmailRequest) throws java.io.IOException, BoxException
verifyRegistrationEmail
in interface BoxExternalAPI
verifyRegistrationEmailRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic RegisterNewUserResponse registerNewUser(RegisterNewUserRequest registerNewUserRequest) throws java.io.IOException, BoxException
registerNewUser
in interface BoxExternalAPI
registerNewUserRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic LogoutResponse logout(LogoutRequest logoutRequest) throws java.io.IOException, BoxException
logout
in interface BoxExternalAPI
logoutRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic GetAuthTokenResponse getAuthToken(GetAuthTokenRequest getAuthTokenRequest) throws java.io.IOException, BoxException
getAuthToken
in interface BoxExternalAPI
getAuthTokenRequest
- request
java.io.IOException
- IO exception
BoxException
- box exceptionpublic GetTicketResponse getTicket(GetTicketRequest getTicketRequest) throws java.io.IOException, BoxException
BoxExternalAPI
getTicket
in interface BoxExternalAPI
getTicketRequest
- request
java.io.IOException
- IO exception
BoxException
- box exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |