@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) |
void |
deleteDomainPolicy() |
void |
deletePolicy(java.lang.String mailboxUid) |
TierChangeResult |
demote(Demote demote)
Moves a message to a lower tier of storage (eg.
|
java.util.List<TierChangeResult> |
demoteMultiple(java.util.List<Demote> demote)
Moves messages to a lower tier of storage (eg.
|
byte[] |
fetch(java.lang.String mailboxUid,
java.lang.String hsmId)
Fetches the content of a message from low-tier storage
|
StoragePolicy |
getDomainPolicy() |
StoragePolicy |
getPolicy(java.lang.String mailboxUid) |
double |
getSize(java.lang.String mailboxUid)
Get user archive size used in byte
|
TierChangeResult |
promote(Promote promote)
Moves a message to an upper tier of storage (eg.
|
java.util.List<TierChangeResult> |
promoteMultiple(java.util.List<Promote> promote)
Moves messages to an upper tier of storage (eg.
|
void |
setDomainPolicy(StoragePolicy sp) |
void |
setPolicy(java.lang.String mailboxUid,
StoragePolicy sp) |
@PUT @Path(value="_setDomainPolicy") void setDomainPolicy(StoragePolicy sp) throws ServerFault
ServerFault
@GET @Path(value="_getDomainPolicy") StoragePolicy getDomainPolicy() throws ServerFault
ServerFault
@DELETE @Path(value="_deleteDomainPolicy") void deleteDomainPolicy() throws ServerFault
ServerFault
@PUT @Path(value="_setPolicy/{mailboxUid}") void setPolicy(@PathParam(value="mailboxUid") java.lang.String mailboxUid, StoragePolicy sp) throws ServerFault
ServerFault
@GET @Path(value="_getPolicy/{mailboxUid}") StoragePolicy getPolicy(@PathParam(value="mailboxUid") java.lang.String mailboxUid) throws ServerFault
ServerFault
@DELETE @Path(value="_deletePolicy/{mailboxUid}") void deletePolicy(@PathParam(value="mailboxUid") java.lang.String mailboxUid) throws ServerFault
ServerFault
@POST @Path(value="_demote") TierChangeResult demote(Demote demote) throws ServerFault
demote
- ServerFault
@POST @Path(value="_promote") TierChangeResult promote(Promote promote) throws ServerFault
promote
- ServerFault
@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="_massDemote") java.util.List<TierChangeResult> demoteMultiple(java.util.List<Demote> demote) throws ServerFault
demote
- ServerFault
@POST @Path(value="_massPromote") java.util.List<TierChangeResult> promoteMultiple(java.util.List<Promote> promote) throws ServerFault
promote
- ServerFault
Copyright © 2021. All Rights Reserved.