| java.lang.Object | ||
| ↳ | cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod | |
| ↳ | cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.RenameMethod | |
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method renames a file or folder.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
| |||||||||||
From class
java.lang.Object
| |||||||||||
This method renames a file or folder. 'target' param can be either 'file' or 'folder' depending on what you want to rename, 'target_id' is the id of a file or folder to be renamed, 'new_name' is the new name for a file or folder. On a successful result, status will be 's_rename_node'. If result wasn't successful, stat's field can be: 'e_rename_node', 'not_logged_in', 'application_restricted'.
| renameRequest | Request |
|---|
| IOException | io exception |
|---|---|
| BoxException | box exception |