|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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
Common features in OpenStack Swift.
| Method Summary | |
|---|---|
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,
org.jclouds.http.options.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) |
org.jclouds.blobstore.domain.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() |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
@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 from
ContainerMetadata
boolean 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 metadata
true
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 keys
true
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 container
true
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()
org.jclouds.blobstore.domain.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,
org.jclouds.http.options.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 copied
void 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()
org.jclouds.blobstore.ContainerNotFoundException - if the container is not present
String putObjectManifest(String container,
String name)
com.jclouds.openstack.swift.v1.features.ObjectApi#replaceManifest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||