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

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

public class AccountCommandFactoryImpl
extends Object
implements AccountCommandFactory


Constructor Summary
AccountCommandFactoryImpl(org.apache.http.client.HttpClient httpClient, Access access, AuthenticationCommand authCommand, TempUrlHashPrefixSource tempUrlHashPrefixSource)
           
 
Method Summary
 Access authenticate()
           
 AccountInformationCommand createAccountInformationCommand(Account account)
           
 AccountMetadataCommand createAccountMetadataCommand(Account account, Collection<? extends Header> headers)
           
 HashPasswordCommand createHashPasswordCommand(Account account, String hashPassword)
           
 ListContainersCommand createListContainersCommand(Account account, ListInstructions listInstructions)
           
 TenantCommand createTenantCommand(Account account)
           
 Access getAccess()
           
 ContainerCommandFactory getContainerCommandFactory()
           
 org.apache.http.client.HttpClient getHttpClient()
           
 String getOriginalHost()
           
 String getPrivateHost()
           
 String getPublicHost()
           
 TempUrlHashPrefixSource getTempUrlHashPrefixSource()
           
 boolean isTenantSupplied()
           
 void setPrivateHost(String privateHost)
           
 void setPublicHost(String publicHost)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountCommandFactoryImpl

public AccountCommandFactoryImpl(org.apache.http.client.HttpClient httpClient,
                                 Access access,
                                 AuthenticationCommand authCommand,
                                 TempUrlHashPrefixSource tempUrlHashPrefixSource)
Method Detail

setPublicHost

public void setPublicHost(String publicHost)
Specified by:
setPublicHost in interface AccountCommandFactory

setPrivateHost

public void setPrivateHost(String privateHost)
Specified by:
setPrivateHost in interface AccountCommandFactory

getPublicHost

public String getPublicHost()
Specified by:
getPublicHost in interface AccountCommandFactory

getPrivateHost

public String getPrivateHost()
Specified by:
getPrivateHost in interface AccountCommandFactory

getOriginalHost

public String getOriginalHost()
Specified by:
getOriginalHost in interface AccountCommandFactory

authenticate

public Access authenticate()
Specified by:
authenticate in interface AccountCommandFactory

createAccountInformationCommand

public AccountInformationCommand createAccountInformationCommand(Account account)
Specified by:
createAccountInformationCommand in interface AccountCommandFactory

createAccountMetadataCommand

public AccountMetadataCommand createAccountMetadataCommand(Account account,
                                                           Collection<? extends Header> headers)
Specified by:
createAccountMetadataCommand in interface AccountCommandFactory

createListContainersCommand

public ListContainersCommand createListContainersCommand(Account account,
                                                         ListInstructions listInstructions)
Specified by:
createListContainersCommand in interface AccountCommandFactory

createTenantCommand

public TenantCommand createTenantCommand(Account account)
Specified by:
createTenantCommand in interface AccountCommandFactory

createHashPasswordCommand

public HashPasswordCommand createHashPasswordCommand(Account account,
                                                     String hashPassword)
Specified by:
createHashPasswordCommand in interface AccountCommandFactory

getContainerCommandFactory

public ContainerCommandFactory getContainerCommandFactory()
Specified by:
getContainerCommandFactory in interface AccountCommandFactory

isTenantSupplied

public boolean isTenantSupplied()
Specified by:
isTenantSupplied in interface AccountCommandFactory

getHttpClient

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

getAccess

public Access getAccess()

getTempUrlHashPrefixSource

public TempUrlHashPrefixSource getTempUrlHashPrefixSource()


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