org.javaswift.joss.command.mock.factory
Class ContainerCommandFactoryMock

java.lang.Object
  extended by org.javaswift.joss.command.mock.factory.ContainerCommandFactoryMock
All Implemented Interfaces:
ContainerCommandFactory

public class ContainerCommandFactoryMock
extends Object
implements ContainerCommandFactory


Constructor Summary
ContainerCommandFactoryMock(Swift swift)
           
 
Method Summary
 ContainerInformationCommand createContainerInformationCommand(Account account, Container container, boolean allowErrorLog)
           
 ContainerMetadataCommand createContainerMetadataCommand(Account account, Container container, Collection<? extends Header> headers)
           
 ContainerRightsCommand createContainerRightsCommand(Account account, Container container, boolean publicContainer)
           
 ContainerRightsCommand createContainerRightsCommand(Account account, Container container, String writePermission, String readPermission)
           
 CreateContainerCommand createCreateContainerCommand(Account account, Container container)
           
 DeleteContainerCommand createDeleteContainerCommand(Account account, Container container)
           
 ListObjectsCommand createListObjectsCommand(Account account, Container container, ListInstructions listInstructions)
           
 StoredObjectCommandFactory getStoredObjectCommandFactory()
           
 String getTempUrlPrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerCommandFactoryMock

public ContainerCommandFactoryMock(Swift swift)
Method Detail

createContainerInformationCommand

public ContainerInformationCommand createContainerInformationCommand(Account account,
                                                                     Container container,
                                                                     boolean allowErrorLog)
Specified by:
createContainerInformationCommand in interface ContainerCommandFactory

createContainerMetadataCommand

public ContainerMetadataCommand createContainerMetadataCommand(Account account,
                                                               Container container,
                                                               Collection<? extends Header> headers)
Specified by:
createContainerMetadataCommand in interface ContainerCommandFactory

createContainerRightsCommand

public ContainerRightsCommand createContainerRightsCommand(Account account,
                                                           Container container,
                                                           boolean publicContainer)
Specified by:
createContainerRightsCommand in interface ContainerCommandFactory

createCreateContainerCommand

public CreateContainerCommand createCreateContainerCommand(Account account,
                                                           Container container)
Specified by:
createCreateContainerCommand in interface ContainerCommandFactory

createDeleteContainerCommand

public DeleteContainerCommand createDeleteContainerCommand(Account account,
                                                           Container container)
Specified by:
createDeleteContainerCommand in interface ContainerCommandFactory

createListObjectsCommand

public ListObjectsCommand createListObjectsCommand(Account account,
                                                   Container container,
                                                   ListInstructions listInstructions)
Specified by:
createListObjectsCommand in interface ContainerCommandFactory

getStoredObjectCommandFactory

public StoredObjectCommandFactory getStoredObjectCommandFactory()
Specified by:
getStoredObjectCommandFactory in interface ContainerCommandFactory

getTempUrlPrefix

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

createContainerRightsCommand

public ContainerRightsCommand createContainerRightsCommand(Account account,
                                                           Container container,
                                                           String writePermission,
                                                           String readPermission)
Specified by:
createContainerRightsCommand in interface ContainerCommandFactory


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