@Deprecated public interface FilesOperationDelegate
修飾子とタイプ | メソッドと説明 |
---|---|
Item |
copyById(String id,
CopyToItemProperty properties)
非推奨です。
IDを指定してアイテムをコピーします。
|
Item |
copyByPath(String path,
CopyToItemProperty properties)
非推奨です。
パスを指定してアイテムをコピーします。
|
File |
createFile(String name)
非推奨です。
ファイルを作成します。
|
Folder |
createFolderById(String parentId,
String folderName)
非推奨です。
親フォルダIDとフォルダ名を指定してフォルダを作成します。
|
Folder |
createFolderByPath(String folderPath)
非推奨です。
パスを指定してフォルダを作成します。
|
void |
deleteById(String id,
String eTag)
非推奨です。
IDを指定してアイテムを削除します。
|
void |
deleteByPath(String path,
String eTag)
非推奨です。
パスを指定してアイテムを削除します。
|
void |
downloadById(String id,
OutputStream stream)
非推奨です。
IDを指定してファイルの内容をダウンロードします。
|
void |
downloadByPath(String path,
OutputStream stream)
非推奨です。
パスを指定してファイルの内容をダウンロードします。
|
Item |
getPropertiesById(String id,
boolean withChildren)
非推奨です。
IDを指定してアイテムのプロパティ情報を取得します。
|
Item |
getPropertiesByPath(String path,
boolean withChildren)
非推奨です。
パスを指定してアイテムのプロパティ情報を取得します。
|
Item[] |
listContentsById(String id,
boolean descending)
非推奨です。
IDを指定して保持する子のアイテム一覧を取得します。
|
Item[] |
listContentsByPath(String path,
boolean descending)
非推奨です。
パスを指定して保持する子のアイテム一覧を取得します。
|
Item |
updatePropertiesById(String id,
String eTag,
UpdatableItemProperty properties)
非推奨です。
IDを指定してアイテムのメタ情報を更新します。
|
Item |
updatePropertiesByPath(String path,
String eTag,
UpdatableItemProperty properties)
非推奨です。
パスを指定してアイテムのメタ情報を更新します。
|
void |
uploadById(String fileId,
InputStream stream)
非推奨です。
IDを指定してファイルの内容をアップロードします。
|
void |
uploadByPath(String filePath,
InputStream stream)
非推奨です。
パスを指定してファイルの内容をアップロードします。
|
Item copyById(String id, CopyToItemProperty properties) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
id
- IDproperties
- 変更を行うプロパティHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますItem copyByPath(String path, CopyToItemProperty properties) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
path
- パスproperties
- 変更を行うプロパティHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますFile createFile(String name) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
name
- ファイル名HttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますFolder createFolderById(String parentId, String folderName) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
parentId
- 親IDfolderName
- フォルダ名HttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますFolder createFolderByPath(String folderPath) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
folderPath
- フォルダパスHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますvoid deleteById(String id, String eTag) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
id
- IDeTag
- ETagHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますvoid deleteByPath(String path, String eTag) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
path
- パスeTag
- ETagHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますvoid downloadById(String id, OutputStream stream) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException, IOException
id
- IDstream
- ファイルの内容を書き込むストリームHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますIOException
- ストリーム処理に失敗した場合に発生しますvoid downloadByPath(String path, OutputStream stream) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException, IOException
path
- パスstream
- ファイルの内容を書き込むストリームHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますIOException
- ストリーム処理に失敗した場合に発生しますItem getPropertiesById(String id, boolean withChildren) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
id
- IDwithChildren
- 内包するアイテム情報を取得するかHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますItem getPropertiesByPath(String path, boolean withChildren) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
path
- パスwithChildren
- 内包するアイテム情報を取得するかHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますItem[] listContentsById(String id, boolean descending) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
id
- IDdescending
- 降順でソートするかHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますItem[] listContentsByPath(String path, boolean descending) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
path
- パスdescending
- 降順でソートするかHttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますItem updatePropertiesById(String id, String eTag, UpdatableItemProperty properties) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
id
- IDeTag
- ETagproperties
- メタ情報HttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますItem updatePropertiesByPath(String path, String eTag, UpdatableItemProperty properties) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException
path
- パスeTag
- ETagproperties
- メタ情報HttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますvoid uploadById(String fileId, InputStream stream) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException, IOException
fileId
- ファイルIDstream
- ファイルの内容HttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますIOException
- ストリーム処理に失敗した場合に発生しますvoid uploadByPath(String filePath, InputStream stream) throws HttpRequestException, HttpResponseException, Office365APIResponseException, OAuthClientException, IOException
filePath
- ファイルパスstream
- ファイルの内容HttpRequestException
- HTTP通信に失敗した場合HttpResponseException
- HTTP通信に失敗した場合に発生しますOffice365APIResponseException
- 操作の失敗を表すOffice365レスポンスが返った場合に発生しますOAuthClientException
- OAuth関連の処理に失敗した場合に発生しますIOException
- ストリーム処理に失敗した場合に発生しますCopyright © 2012 NTT DATA INTRAMART CORPORATION