@Path(value="/hsm/{domainUid}")
public interface IHSM
Modifier and Type | Method and Description |
---|---|
void |
copy(java.lang.String sourceMailboxUid,
java.lang.String destMailboxUid,
java.util.List<java.lang.String> hsmIds) |
byte[] |
fetch(java.lang.String mailboxUid,
java.lang.String hsmId)
Fetches the content of a message from low-tier storage
|
double |
getSize(java.lang.String mailboxUid)
Get user archive size used in byte
|
java.util.List<TierChangeResult> |
promoteMultiple(java.util.List<Promote> promote)
Moves messages to an upper tier of storage (eg.
|
@GET @Path(value="_fetch/{mailboxUid}/{hsmId}") @Produces(value="application/octet-stream") byte[] fetch(@PathParam(value="mailboxUid") java.lang.String mailboxUid, @PathParam(value="hsmId") java.lang.String hsmId) throws ServerFault
mailboxUid
- hsmId
- ServerFault
@GET @Path(value="_getSize/{mailboxUid}") double getSize(@PathParam(value="mailboxUid") java.lang.String mailboxUid) throws ServerFault
mailboxUid
- ServerFault
@POST @Path(value="_copy/{sourceMailboxUid}/{destMailboxUid}") void copy(@PathParam(value="sourceMailboxUid") java.lang.String sourceMailboxUid, @PathParam(value="destMailboxUid") java.lang.String destMailboxUid, java.util.List<java.lang.String> hsmIds) throws ServerFault
sourceMailboxUid
- destMailboxUid
- hsmIds
- ServerFault
@POST @Path(value="_massPromote") java.util.List<TierChangeResult> promoteMultiple(java.util.List<Promote> promote) throws ServerFault
promote
- ServerFault
Copyright © 2021. All Rights Reserved.