com.jclouds.openstack.swift.v1.SwiftApi and related
feature APIs in com.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
com.jclouds.openstack.swift.v1.features.ContainerApi#head() |
boolean |
copyObject(String sourceContainer,
String sourceObject,
String destinationContainer,
String destinationObject)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#copy() |
boolean |
createContainer(String container)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent() |
boolean |
createContainer(String container,
CreateContainerOptions... options)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent() |
boolean |
deleteContainerIfEmpty(String container)
Deprecated.
This method will be replaced by
(@link com.jclouds.openstack.swift.v1.features.ContainerApi#deleteIfEmpty()}
|
boolean |
deleteContainerMetadata(String container,
Iterable<String> metadataKeys)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ContainerApi#deleteMetadata() |
AccountMetadata |
getAccountStatistics()
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.AccountApi#get() |
ContainerMetadata |
getContainerMetadata(String container)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ContainerApi#get() |
SwiftObject |
getObject(String container,
String name,
GetOptions... options)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#get() |
MutableObjectInfoWithMetadata |
getObjectInfo(String container,
String name)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#head() |
Set<ContainerMetadata> |
listContainers(ListContainerOptions... options)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ContainerApi#list() and
com.jclouds.openstack.swift.v1.features.ContainerApi#list(ListContainerOptions) |
PageSet<ObjectInfo> |
listObjects(String container,
ListContainerOptions... options)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#list() and
com.jclouds.openstack.swift.v1.features.ObjectApi#list(ListContainerOptions) |
SwiftObject |
newSwiftObject()
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.domain.SwiftObject#builder() |
boolean |
objectExists(String container,
String name)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#head() |
String |
putObject(String container,
SwiftObject object)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#replace() |
String |
putObjectManifest(String container,
String name)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#replaceManifest() |
void |
removeObject(String container,
String name)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi#delete() |
boolean |
setContainerMetadata(String container,
Map<String,String> containerMetadata)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ContainerApi#updateMetadata() |
boolean |
setObjectInfo(String container,
String name,
Map<String,String> userMetadata)
Deprecated.
This method will be replaced by
com.jclouds.openstack.swift.v1.features.ObjectApi@updateMetadata() |
@Provides SwiftObject newSwiftObject()
com.jclouds.openstack.swift.v1.domain.SwiftObject#builder()AccountMetadata getAccountStatistics()
com.jclouds.openstack.swift.v1.features.AccountApi#get()AccountMetadataSet<ContainerMetadata> listContainers(ListContainerOptions... options)
com.jclouds.openstack.swift.v1.features.ContainerApi#list() and
com.jclouds.openstack.swift.v1.features.ContainerApi#list(ListContainerOptions)ContainerMetadata getContainerMetadata(String container)
com.jclouds.openstack.swift.v1.features.ContainerApi#get()ContainerMetadata for the specified container.container - the container to get the metadata fromContainerMetadataboolean setContainerMetadata(String container, Map<String,String> containerMetadata)
com.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.boolean deleteContainerMetadata(String container, Iterable<String> metadataKeys)
com.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.boolean createContainer(String container)
com.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent()container - the name of the containertrue
if the Container was successfully created, false if not.boolean createContainer(String container, CreateContainerOptions... options)
com.jclouds.openstack.swift.v1.features.ContainerApi#createIfAbsent()boolean deleteContainerIfEmpty(String container)
boolean containerExists(String container)
com.jclouds.openstack.swift.v1.features.ContainerApi#head()PageSet<ObjectInfo> listObjects(String container, ListContainerOptions... options)
com.jclouds.openstack.swift.v1.features.ObjectApi#list() and
com.jclouds.openstack.swift.v1.features.ObjectApi#list(ListContainerOptions)SwiftObject getObject(String container, String name, GetOptions... options)
com.jclouds.openstack.swift.v1.features.ObjectApi#get()boolean setObjectInfo(String container, String name, Map<String,String> userMetadata)
com.jclouds.openstack.swift.v1.features.ObjectApi@updateMetadata()MutableObjectInfoWithMetadata getObjectInfo(String container, String name)
com.jclouds.openstack.swift.v1.features.ObjectApi#head()String putObject(String container, SwiftObject object)
com.jclouds.openstack.swift.v1.features.ObjectApi#replace()boolean copyObject(String sourceContainer, String sourceObject, String destinationContainer, String destinationObject)
com.jclouds.openstack.swift.v1.features.ObjectApi#copy()CopyObjectException - If the object was not copiedvoid removeObject(String container, String name)
com.jclouds.openstack.swift.v1.features.ObjectApi#delete()boolean objectExists(String container, String name)
com.jclouds.openstack.swift.v1.features.ObjectApi#head()ContainerNotFoundException - if the container is not presentCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.