org.javaswift.joss.command.shared.factory
Interface StoredObjectCommandFactory

All Known Implementing Classes:
StoredObjectCommandFactoryImpl, StoredObjectCommandFactoryMock

public interface StoredObjectCommandFactory


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)
           
 String getTempUrlPrefix()
           
 

Method Detail

createCopyObjectCommand

CopyObjectCommand createCopyObjectCommand(Account account,
                                          Container sourceContainer,
                                          StoredObject sourceObject,
                                          Container targetContainer,
                                          StoredObject targetObject)

createDeleteObjectCommand

DeleteObjectCommand createDeleteObjectCommand(Account account,
                                              Container container,
                                              StoredObject target)

createDownloadObjectAsByteArrayCommand

DownloadObjectAsByteArrayCommand createDownloadObjectAsByteArrayCommand(Account account,
                                                                        Container container,
                                                                        StoredObject object,
                                                                        DownloadInstructions downloadInstructions)

createDownloadObjectAsInputStreamCommand

DownloadObjectAsInputStreamCommand createDownloadObjectAsInputStreamCommand(Account account,
                                                                            Container container,
                                                                            StoredObject object,
                                                                            DownloadInstructions downloadInstructions)

createDownloadObjectToFileCommand

DownloadObjectToFileCommand createDownloadObjectToFileCommand(Account account,
                                                              Container container,
                                                              StoredObject object,
                                                              DownloadInstructions downloadInstructions,
                                                              File targetFile)

createObjectInformationCommand

ObjectInformationCommand createObjectInformationCommand(Account account,
                                                        Container container,
                                                        StoredObject object,
                                                        boolean allowErrorLog)

createObjectMetadataCommand

ObjectMetadataCommand createObjectMetadataCommand(Account account,
                                                  Container container,
                                                  StoredObject object,
                                                  Collection<? extends Header> headers)

createUploadObjectCommand

UploadObjectCommand createUploadObjectCommand(Account account,
                                              Container container,
                                              StoredObject target,
                                              UploadInstructions uploadInstructions)

getTempUrlPrefix

String getTempUrlPrefix()


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