public class AssetFile extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AssetFile.Creator |
static class |
AssetFile.Updater |
Modifier and Type | Method and Description |
---|---|
static AssetFile.Creator |
create(String parentAssetId,
String name) |
static EntityActionOperation |
createFileInfos(String assetId)
Call the CreateFileInfos action on the server for the given asset
|
static EntityDeleteOperation |
delete(String assetFileId)
Calls the service to delete an asset file entity
|
static EntityGetOperation<AssetFileInfo> |
get(String assetFileId)
Call the service to get a single asset file entity
|
static DefaultListOperation<AssetFileInfo> |
list()
Calls the service to list all files
|
static DefaultListOperation<AssetFileInfo> |
list(LinkInfo<AssetFileInfo> link)
Create an operation that will list all the AssetFiles at the given link.
|
static AssetFile.Updater |
update(String assetFileId) |
public static AssetFile.Creator create(String parentAssetId, String name)
public static EntityActionOperation createFileInfos(String assetId)
assetId
- asset to create file infos forUnsupportedEncodingException
public static EntityGetOperation<AssetFileInfo> get(String assetFileId)
assetFileId
- id of file to getpublic static DefaultListOperation<AssetFileInfo> list()
public static DefaultListOperation<AssetFileInfo> list(LinkInfo<AssetFileInfo> link)
link
- Link to request AssetFiles from.public static AssetFile.Updater update(String assetFileId)
public static EntityDeleteOperation delete(String assetFileId)
assetFileId
- file to delete/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/