public class MailFlowService extends java.lang.Object implements IMailflowRules
Constructor and Description |
---|
MailFlowService(BmContext context,
java.lang.String domainUid) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String uid,
MailRuleActionAssignmentDescriptor assignment) |
void |
delete(java.lang.String uid) |
java.util.List<MailRuleActionAssignment> |
evaluate(Message message) |
MailRuleActionAssignment |
getAssignment(java.lang.String uid) |
java.util.List<MailActionDescriptor> |
listActions() |
java.util.List<MailRuleActionAssignment> |
listAssignments() |
java.util.List<MailRuleDescriptor> |
listRules() |
void |
update(java.lang.String uid,
MailRuleActionAssignmentDescriptor assignment) |
public MailFlowService(BmContext context, java.lang.String domainUid)
public void create(java.lang.String uid, MailRuleActionAssignmentDescriptor assignment)
create
in interface IMailflowRules
public void update(java.lang.String uid, MailRuleActionAssignmentDescriptor assignment)
update
in interface IMailflowRules
public void delete(java.lang.String uid)
delete
in interface IMailflowRules
public java.util.List<MailActionDescriptor> listActions()
listActions
in interface IMailflowRules
public java.util.List<MailRuleDescriptor> listRules()
listRules
in interface IMailflowRules
public java.util.List<MailRuleActionAssignment> listAssignments()
listAssignments
in interface IMailflowRules
public MailRuleActionAssignment getAssignment(java.lang.String uid) throws ServerFault
getAssignment
in interface IMailflowRules
ServerFault
public java.util.List<MailRuleActionAssignment> evaluate(Message message) throws ServerFault
evaluate
in interface IMailflowRules
ServerFault
Copyright © 2021. All Rights Reserved.