org.jclouds.openstack.swift.v1.SwiftApi
and related
feature APIs in org.jclouds.openstack.swift.v1.features.*
as noted in
each method. This interface will be removed in jclouds 2.0.@Deprecated public interface CommonSwiftClient extends Closeable
Modifier and Type | Method and Description |
---|---|
boolean |
containerExists(String container)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ContainerApi#head() |
boolean |
copyObject(String sourceContainer,
String sourceObject,
String destinationContainer,
String destinationObject)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#copy() |
boolean |
createContainer(String container)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent() |
boolean |
createContainer(String container,
CreateContainerOptions... options)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent() |
boolean |
deleteContainerIfEmpty(String container)
Deprecated.
This method will be replaced by
(@link org.jclouds.openstack.swift.v1.features.ContainerApi#deleteIfEmpty()}
|
boolean |
deleteContainerMetadata(String container,
Iterable<String> metadataKeys)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ContainerApi#deleteMetadata() |
AccountMetadata |
getAccountStatistics()
Deprecated.
This method will be replaced by
AccountApi.get() |
ContainerMetadata |
getContainerMetadata(String container)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ContainerApi#get() |
SwiftObject |
getObject(String container,
String name,
GetOptions... options)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#get() |
MutableObjectInfoWithMetadata |
getObjectInfo(String container,
String name)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#head() |
Set<ContainerMetadata> |
listContainers(ListContainerOptions... options)
Deprecated.
This method will be replaced by
ContainerApi.list() and
ContainerApi.list(ListContainerOptions) |
PageSet<ObjectInfo> |
listObjects(String container,
ListContainerOptions... options)
Deprecated.
This method will be replaced by
ObjectApi.list() and
ObjectApi.list(ListContainerOptions) |
SwiftObject |
newSwiftObject()
Deprecated.
This method will be replaced by
SwiftObject.builder() |
boolean |
objectExists(String container,
String name)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#head() |
String |
putObject(String container,
SwiftObject object)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#replace() |
String |
putObjectManifest(String container,
String name)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#replaceManifest() |
String |
putObjectManifest(String container,
SwiftObject object)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#replaceManifest() |
void |
removeObject(String container,
String name)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi#delete() |
boolean |
setContainerMetadata(String container,
Map<String,String> containerMetadata)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ContainerApi#updateMetadata() |
boolean |
setObjectInfo(String container,
String name,
Map<String,String> userMetadata)
Deprecated.
This method will be replaced by
org.jclouds.openstack.swift.v1.features.ObjectApi@updateMetadata() |
@Deprecated @Provides SwiftObject newSwiftObject()
SwiftObject.builder()
@Deprecated @Named(value="GetAccountMetadata") AccountMetadata getAccountStatistics()
AccountApi.get()
AccountMetadata
@Deprecated @Named(value="ListContainers") Set<ContainerMetadata> listContainers(ListContainerOptions... options)
ContainerApi.list()
and
ContainerApi.list(ListContainerOptions)
@Deprecated @Named(value="GetContainerMetadata") ContainerMetadata getContainerMetadata(String container)
org.jclouds.openstack.swift.v1.features.ContainerApi#get()
ContainerMetadata
for the specified container.container
- the container to get the metadata fromContainerMetadata
@Deprecated @Named(value="UpdateContainerMetadata") boolean setContainerMetadata(String container, Map<String,String> containerMetadata)
org.jclouds.openstack.swift.v1.features.ContainerApi#updateMetadata()
ContainerMetadata
on the given container.container
- the container to set the metadata oncontainerMetadata
- a Map<String, String>
containing the metadatatrue
if the Container Metadata was successfully created or updated, false if not.@Deprecated @Named(value="UpdateContainerMetadata") boolean deleteContainerMetadata(String container, Iterable<String> metadataKeys)
org.jclouds.openstack.swift.v1.features.ContainerApi#deleteMetadata()
container
- the container to delete the metadata frommetadataKeys
- the metadata keystrue
if the Container was successfully deleted, false if not.@Deprecated @Named(value="CreateContainer") boolean createContainer(String container)
org.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent()
container
- the name of the containertrue
if the Container was successfully created, false if not.@Deprecated @Named(value="CreateContainer") boolean createContainer(String container, CreateContainerOptions... options)
org.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent()
@Deprecated @Named(value="DeleteContainer") boolean deleteContainerIfEmpty(String container)
@Deprecated @Named(value="GetContainerMetadata") boolean containerExists(String container)
org.jclouds.openstack.swift.v1.features.ContainerApi#head()
@Deprecated @Named(value="ListObjects") PageSet<ObjectInfo> listObjects(String container, ListContainerOptions... options)
ObjectApi.list()
and
ObjectApi.list(ListContainerOptions)
@Deprecated @Named(value="GetObject") SwiftObject getObject(String container, String name, GetOptions... options)
org.jclouds.openstack.swift.v1.features.ObjectApi#get()
@Deprecated @Named(value="UpdateObjectMetadata") boolean setObjectInfo(String container, String name, Map<String,String> userMetadata)
org.jclouds.openstack.swift.v1.features.ObjectApi@updateMetadata()
@Deprecated @Named(value="GetObjectMetadata") MutableObjectInfoWithMetadata getObjectInfo(String container, String name)
org.jclouds.openstack.swift.v1.features.ObjectApi#head()
@Deprecated @Named(value="PutObject") String putObject(String container, SwiftObject object)
org.jclouds.openstack.swift.v1.features.ObjectApi#replace()
@Deprecated @Named(value="CopyObject") boolean copyObject(String sourceContainer, String sourceObject, String destinationContainer, String destinationObject)
org.jclouds.openstack.swift.v1.features.ObjectApi#copy()
CopyObjectException
- If the object was not copied@Deprecated @Named(value="RemoveObject") void removeObject(String container, String name)
org.jclouds.openstack.swift.v1.features.ObjectApi#delete()
@Deprecated @Named(value="GetObjectMetadata") boolean objectExists(String container, String name)
org.jclouds.openstack.swift.v1.features.ObjectApi#head()
ContainerNotFoundException
- if the container is not present@Deprecated @Named(value="PutObjectManifest") String putObjectManifest(String container, String name)
org.jclouds.openstack.swift.v1.features.ObjectApi#replaceManifest()
@Deprecated @Named(value="PutObjectManifest") String putObjectManifest(String container, SwiftObject object)
org.jclouds.openstack.swift.v1.features.ObjectApi#replaceManifest()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.