public class HSMService extends java.lang.Object implements IInCoreHSM
| Constructor and Description | 
|---|
HSMService(BmContext context,
          Container mboxContainer,
          ItemValue<Domain> domainValue)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
copy(java.lang.String sourceMailboxUid,
    java.lang.String destMailboxUid,
    java.util.List<java.lang.String> hsmIds)  | 
void | 
deleteAllPolicies(java.lang.String domainUid)  | 
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)  | 
public StoragePolicy getDomainPolicy() throws ServerFault
getDomainPolicy in interface IHSMServerFaultpublic void setDomainPolicy(StoragePolicy sp) throws ServerFault
setDomainPolicy in interface IHSMServerFaultpublic void deleteDomainPolicy()
                        throws ServerFault
deleteDomainPolicy in interface IHSMServerFaultpublic void setPolicy(java.lang.String mailboxUid,
                      StoragePolicy sp)
               throws ServerFault
setPolicy in interface IHSMServerFaultpublic StoragePolicy getPolicy(java.lang.String mailboxUid) throws ServerFault
getPolicy in interface IHSMServerFaultpublic void deletePolicy(java.lang.String mailboxUid)
                  throws ServerFault
deletePolicy in interface IHSMServerFaultpublic TierChangeResult demote(Demote demote) throws ServerFault
IHSMdemote in interface IHSMServerFaultpublic TierChangeResult promote(Promote promote) throws ServerFault
IHSMpromote in interface IHSMServerFaultpublic byte[] fetch(java.lang.String mailboxUid,
                    java.lang.String hsmId)
             throws ServerFault
IHSMfetch in interface IHSMServerFaultpublic double getSize(java.lang.String mailboxUid)
               throws ServerFault
IHSMgetSize in interface IHSMServerFaultpublic void copy(java.lang.String sourceMailboxUid,
                 java.lang.String destMailboxUid,
                 java.util.List<java.lang.String> hsmIds)
          throws ServerFault
copy in interface IHSMServerFaultpublic java.util.List<TierChangeResult> demoteMultiple(java.util.List<Demote> demote) throws ServerFault
IHSMdemoteMultiple in interface IHSMServerFaultpublic java.util.List<TierChangeResult> promoteMultiple(java.util.List<Promote> promote) throws ServerFault
IHSMpromoteMultiple in interface IHSMServerFaultpublic void deleteAllPolicies(java.lang.String domainUid)
deleteAllPolicies in interface IInCoreHSMCopyright © 2021. All Rights Reserved.