messageEventSubscriptionEntity2.setActivityId("someActivity");
calendar.set(2000, 1, 1);
messageEventSubscriptionEntity2.setCreated(calendar.getTime());
messageEventSubscriptionEntity2.insert();
SignalEventSubscriptionEntity signalEventSubscriptionEntity3 = new SignalEventSubscriptionEntity();
signalEventSubscriptionEntity3.setEventName("messageName2");
signalEventSubscriptionEntity3.setActivityId("someOtherActivity");
calendar.set(2002, 1, 1);
signalEventSubscriptionEntity3.setCreated(calendar.getTime());
signalEventSubscriptionEntity3.insert();
return null;
}
});
}