org.dasein.cloud.services.disk
Interface SnapshotServices


public interface SnapshotServices


Method Summary
 String create(String ofVolume, String description)
           
 void delete(String snapshotId)
           
 String getProviderTermForSnapshot(Locale locale)
           
 Collection<String> getShares(String snapshotId)
           
 Snapshot getSnapshot(String snapshotId)
           
 boolean isPublic(String snapshotId)
           
 boolean isSupportsSharing()
           
 Collection<Snapshot> list()
           
 void share(String snapshotId, String withAccountId, boolean affirmative)
           
 

Method Detail

create

String create(String ofVolume,
              String description)
              throws InternalException,
                     CloudException
Throws:
InternalException
CloudException

delete

void delete(String snapshotId)
            throws InternalException,
                   CloudException
Throws:
InternalException
CloudException

getProviderTermForSnapshot

String getProviderTermForSnapshot(Locale locale)

getShares

Collection<String> getShares(String snapshotId)
                             throws InternalException,
                                    CloudException
Throws:
InternalException
CloudException

getSnapshot

Snapshot getSnapshot(String snapshotId)
                     throws InternalException,
                            CloudException
Throws:
InternalException
CloudException

isPublic

boolean isPublic(String snapshotId)
                 throws InternalException,
                        CloudException
Throws:
InternalException
CloudException

isSupportsSharing

boolean isSupportsSharing()
                          throws InternalException,
                                 CloudException
Throws:
InternalException
CloudException

list

Collection<Snapshot> list()
                          throws InternalException,
                                 CloudException
Throws:
InternalException
CloudException

share

void share(String snapshotId,
           String withAccountId,
           boolean affirmative)
           throws InternalException,
                  CloudException
Throws:
InternalException
CloudException