org.javaswift.joss.command.impl.factory
Class StoredObjectCommandFactoryImpl

java.lang.Object
  extended by org.javaswift.joss.command.impl.factory.StoredObjectCommandFactoryImpl
All Implemented Interfaces:
StoredObjectCommandFactory

public class StoredObjectCommandFactoryImpl
extends Object
implements StoredObjectCommandFactory


Constructor Summary
StoredObjectCommandFactoryImpl(ContainerCommandFactoryImpl containerCommandFactory)
           
 
Method Summary
 CopyObjectCommand createCopyObjectCommand(Account account, Container sourceContainer, StoredObject sourceObject, Container targetContainer, StoredObject targetObject)
           
 DeleteObjectCommand createDeleteObjectCommand(Account account, Container container, StoredObject target)
           
 DownloadObjectAsByteArrayCommand createDownloadObjectAsByteArrayCommand(Account account, Container container, StoredObject object, DownloadInstructions downloadInstructions)
           
 DownloadObjectAsInputStreamCommand createDownloadObjectAsInputStreamCommand(Account account, Container container, StoredObject object, DownloadInstructions downloadInstructions)
           
 DownloadObjectToFileCommand createDownloadObjectToFileCommand(Account account, Container container, StoredObject object, DownloadInstructions downloadInstructions, File targetFile)
           
 ObjectInformationCommand createObjectInformationCommand(Account account, Container container, StoredObject object, boolean allowErrorLog)
           
 ObjectMetadataCommand createObjectMetadataCommand(Account account, Container container, StoredObject object, Collection<? extends Header> headers)
           
 UploadObjectCommand createUploadObjectCommand(Account account, Container container, StoredObject target, UploadInstructions uploadInstructions)
           
 Access getAccess()
           
 org.apache.http.client.HttpClient getHttpClient()
           
 String getTempUrlPrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoredObjectCommandFactoryImpl

public StoredObjectCommandFactoryImpl(ContainerCommandFactoryImpl containerCommandFactory)
Method Detail

createCopyObjectCommand

public CopyObjectCommand createCopyObjectCommand(Account account,
                                                 Container sourceContainer,
                                                 StoredObject sourceObject,
                                                 Container targetContainer,
                                                 StoredObject targetObject)
Specified by:
createCopyObjectCommand in interface StoredObjectCommandFactory

createDeleteObjectCommand

public DeleteObjectCommand createDeleteObjectCommand(Account account,
                                                     Container container,
                                                     StoredObject target)
Specified by:
createDeleteObjectCommand in interface StoredObjectCommandFactory

createDownloadObjectAsByteArrayCommand

public DownloadObjectAsByteArrayCommand createDownloadObjectAsByteArrayCommand(Account account,
                                                                               Container container,
                                                                               StoredObject object,
                                                                               DownloadInstructions downloadInstructions)
Specified by:
createDownloadObjectAsByteArrayCommand in interface StoredObjectCommandFactory

createDownloadObjectAsInputStreamCommand

public DownloadObjectAsInputStreamCommand createDownloadObjectAsInputStreamCommand(Account account,
                                                                                   Container container,
                                                                                   StoredObject object,
                                                                                   DownloadInstructions downloadInstructions)
Specified by:
createDownloadObjectAsInputStreamCommand in interface StoredObjectCommandFactory

createDownloadObjectToFileCommand

public DownloadObjectToFileCommand createDownloadObjectToFileCommand(Account account,
                                                                     Container container,
                                                                     StoredObject object,
                                                                     DownloadInstructions downloadInstructions,
                                                                     File targetFile)
Specified by:
createDownloadObjectToFileCommand in interface StoredObjectCommandFactory

createObjectInformationCommand

public ObjectInformationCommand createObjectInformationCommand(Account account,
                                                               Container container,
                                                               StoredObject object,
                                                               boolean allowErrorLog)
Specified by:
createObjectInformationCommand in interface StoredObjectCommandFactory

createObjectMetadataCommand

public ObjectMetadataCommand createObjectMetadataCommand(Account account,
                                                         Container container,
                                                         StoredObject object,
                                                         Collection<? extends Header> headers)
Specified by:
createObjectMetadataCommand in interface StoredObjectCommandFactory

createUploadObjectCommand

public UploadObjectCommand createUploadObjectCommand(Account account,
                                                     Container container,
                                                     StoredObject target,
                                                     UploadInstructions uploadInstructions)
Specified by:
createUploadObjectCommand in interface StoredObjectCommandFactory

getTempUrlPrefix

public String getTempUrlPrefix()
Specified by:
getTempUrlPrefix in interface StoredObjectCommandFactory

getHttpClient

public org.apache.http.client.HttpClient getHttpClient()

getAccess

public Access getAccess()


Copyright © 2012-2014 42 BV. All Rights Reserved.