org.duraspace.fcrepo.cloudsync.service.rest
Class DuraCloudResource
java.lang.Object
org.duraspace.fcrepo.cloudsync.service.rest.DuraCloudResource
public class DuraCloudResource
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROVIDERACCOUNTS_JSON
public static final String PROVIDERACCOUNTS_JSON
- See Also:
- Constant Field Values
PROVIDERACCOUNTS_XML
public static final String PROVIDERACCOUNTS_XML
- See Also:
- Constant Field Values
SPACES_JSON
public static final String SPACES_JSON
- See Also:
- Constant Field Values
SPACES_XML
public static final String SPACES_XML
- See Also:
- Constant Field Values
JSON
protected static final String JSON
- See Also:
- Constant Field Values
TEXT
protected static final String TEXT
- See Also:
- Constant Field Values
XML
protected static final String XML
- See Also:
- Constant Field Values
STATUS_200_OK
protected static final String STATUS_200_OK
- See Also:
- Constant Field Values
STATUS_201_CREATED
protected static final String STATUS_201_CREATED
- See Also:
- Constant Field Values
STATUS_204_NO_CONTENT
protected static final String STATUS_204_NO_CONTENT
- See Also:
- Constant Field Values
service
protected final CloudSyncService service
DuraCloudResource
public DuraCloudResource(CloudSyncService service)
listProviderAccounts
public List<ProviderAccount> listProviderAccounts(String url,
String username,
String password)
listSpaces
public List<Space> listSpaces(String url,
String username,
String password,
String providerAccountId)
Copyright © 2012 DuraSpace. All Rights Reserved.