Package net.bluemind.mailflow.api
Interface IMailflowRules
- All Superinterfaces:
IRestoreCrudSupport<MailRuleActionAssignmentDescriptor>
,IRestoreSupport<MailRuleActionAssignmentDescriptor>
@Path("/mailflow/{domainUid}")
public interface IMailflowRules
extends IRestoreCrudSupport<MailRuleActionAssignmentDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(String uid, MailRuleActionAssignmentDescriptor assignment) void
getAssignment
(String uid) void
update
(String uid, MailRuleActionAssignmentDescriptor assignment) Methods inherited from interface net.bluemind.core.container.api.IRestoreSupport
get, restore
-
Method Details
-
create
@PUT @Path("{uid}") void create(@PathParam("uid") String uid, MailRuleActionAssignmentDescriptor assignment) throws ServerFault - Throws:
ServerFault
-
update
@POST @Path("{uid}") void update(@PathParam("uid") String uid, MailRuleActionAssignmentDescriptor assignment) throws ServerFault - Throws:
ServerFault
-
getAssignment
@GET @Path("{uid}") MailRuleActionAssignment getAssignment(@PathParam("uid") String uid) throws ServerFault - Throws:
ServerFault
-
delete
- Specified by:
delete
in interfaceIRestoreCrudSupport<MailRuleActionAssignmentDescriptor>
- Throws:
ServerFault
-
listActions
- Throws:
ServerFault
-
listRules
- Throws:
ServerFault
-
listAssignments
- Throws:
ServerFault
-
evaluate
@POST @Path("_evaluation") List<MailRuleActionAssignment> evaluate(Message message) throws ServerFault - Throws:
ServerFault
-