Fired when a profile declines an invitation to a calendar event, raised from CalendarManager.decline once the attendee's participation status has been updated, their guests have also been marked as declined, and any copy of the event on their own calendar has been deleted. Event ID: calendar-event.

Implements: TriggerEvent


Properties

PropertyReturnsDescription
attendeeRequestAttendeeRequestThe attendee request that was declined, giving access to the calendar event, the organiser and the guest list.
attributesMap<String,Object>Extra properties for this event. Always empty for this event.
eventIdStringThe constant event id used to register listeners for this event type.
sourceProfileProfileNot used, always null. Use getAttendeeRequest to find the profile who declined.
triggerItem1StringThe id of the website the declined event's calendar belongs to.
triggerItem2StringThe id of the calendar the declined event belongs to.
triggerItem3StringNot used, always null.
triggerItem4StringNot used, always null.
triggerItem5StringNot used, always null.
websiteWebsiteThe website the declined event's calendar belongs to.

Inherited from TriggerEvent

Properties

PropertyReturnsDescription
serialisablebooleanWhether this event's attributes were built to survive being persisted, ie every value is a plain serialisable value rather than a persistent entity or some other object that only makes sense inside the firing transaction. Only the firing app can know this, so it declares it - see EventBuilder. An agent that subscribes to an event does not run when it fires. The event is written to storage as JSON, buffered with others, and read back minutes later in a different session, so a value that cannot be written and read back is not merely awkward, it breaks the whole delivery. The agent framework therefore ignores any event which does not say yes here.

Methods

isSerialisable()

Returns: boolean

Whether this event's attributes were built to survive being persisted, ie every value is a plain serialisable value rather than a persistent entity or some other object that only makes sense inside the firing transaction. Only the firing app can know this, so it declares it - see EventBuilder. An agent that subscribes to an event does not run when it fires. The event is written to storage as JSON, buffered with others, and read back minutes later in a different session, so a value that cannot be written and read back is not merely awkward, it breaks the whole delivery. The agent framework therefore ignores any event which does not say yes here.


Methods

getWebsite() · getSourceProfile() · getEventId() · getTriggerItem1() · getTriggerItem2() · getTriggerItem3() · getTriggerItem4() · getTriggerItem5() · getAttributes() · getAttendeeRequest()

getWebsite()

Returns: Website

The website the declined event's calendar belongs to.

getSourceProfile()

Returns: Profile

Not used, always null. Use getAttendeeRequest to find the profile who declined.

getEventId()

Returns: String

The constant event id used to register listeners for this event type.

getTriggerItem1()

Returns: String

The id of the website the declined event's calendar belongs to.

getTriggerItem2()

Returns: String

The id of the calendar the declined event belongs to.

getTriggerItem3()

Returns: String

Not used, always null.

getTriggerItem4()

Returns: String

Not used, always null.

getTriggerItem5()

Returns: String

Not used, always null.

getAttributes()

Returns: Map<String,Object>

Extra properties for this event. Always empty for this event.

getAttendeeRequest()

Returns: AttendeeRequest

The attendee request that was declined, giving access to the calendar event, the organiser and the guest list.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.