|
String
|
addToTag(String csvTags, String target, String targetId)
This processor adds file or folder to tags list.
|
|
String
|
authToken()
After the user authenticates the ticket obtained with the get-ticket processor,
there're two ways to get the required auth token:
-
You can configure box.net to make a callback returning the ticket and authToken, in which case you need to set the
usesCallback and callbackPath config attributes accordingly
-
You can use this processor to obtain the authentication token explicitly.
|
|
CreateFolderResponse
|
createFolder(String parentFolderId, String folderName, Boolean share)
Create a new folder
|
|
DeleteResponse
|
delete(String target, String targetId)
Deletes a file or folder
|
|
byte[]
|
download(String fileId)
Downloads a file an returns its contents as a byte[]
|
|
String
|
exportTags(String encoding)
This processor returns all the user's tags.
|
|
String
|
getCallbackPath()
|
|
Integer
|
getCallbackPort()
|
|
GetFileInfoResponse
|
getFileInfo(String fileId)
Gets information about a file
|
|
String
|
getTicket()
Get and access ticket using the configured apiKey.
|
|
GetAccountTreeResponse
|
getTreeStructure(String folderId, String csvParams, String encoding)
This processor is used to get a user's files and folders tree.
|
|
boolean
|
isUsesCallback()
|
|
LogoutResponse
|
logout()
Logs out the user associated with the authorization token
|
|
String
|
move(String target, String targetId, String destinationId)
This processor moves a file or folder to another folder.
|
|
String
|
privateShare(String target, String targetId, String csvMails, Boolean notify, String message)
This processor privately shares a file or folder with another user(s).
|
|
PublicShareResponse
|
publicShare(String target, String targetId, String password, String message)
Makes a public share of a file or folder
|
|
String
|
publicUnshare(String target, String targetId)
This processor unshares a public shared file or folder
|
|
RegisterNewUserResponse
|
registerNewUser(String email, String password)
Create a new user in box.net
|
|
String
|
rename(String target, String targetId, String newName)
This processor renames a file or folder.
|
|
void
|
setApiKey(String apiKey)
|
|
void
|
setCallbackPath(String callbackPath)
|
|
void
|
setCallbackPort(Integer callbackPort)
|
|
String
|
setDescription(String target, String targetId, String description)
This processor sets a description to a file or folder.
|
|
void
|
setMuleContext(MuleContext context)
|
|
void
|
setUsesCallback(boolean usesCallback)
|
|
void
|
start()
|
|
void
|
stop()
|
|
UploadResponse
|
uploadFiles(List<String> paths, String folderId)
Receives a comma separated list of paths and uploads the corresponding
files.
|
|
UploadResponse
|
uploadStream(String folderId, String filename, InputStream input)
Receives an input stream and uploads its content as a file
|
|
String
|
verifyRegistrationEmail(String loginName)
This method is used to verify user registration email
|