Kernel::WebApp::Controller::API::Frontend::Agent::Form::Calendar::Appointment::Role::HandlesCreateUpdateForm

NAME

Kernel::WebApp::Controller::API::Frontend::Agent::Form::Calendar::Appointment::Role::HandlesCreateUpdateForm – Handles the form schema of the calendar appointment create/edit.

PUBLIC INTERFACE

UsageType()

Holds the usage type of the current form. The default is 'Create', but it can also be 'Update'.

has TeamObject

Attribute that holds the information if teams are supported.

has ObjectData

Attribute that holds the form schema fields.

has CalendarList

Attribute that holds the current calendar list.

has CalendarConfig

Attribute that holds the current config of the selected calendar.

has CalendarDefaultValues

Attribute that holds the default values of the selected calendar.

has CalendarDynamicFields

Attribute that holds the used dynamic fields of the selected calendar.

has CalendarPlugins

Attribute that holds the registered plugins for calendar appointments.

has IsReadonly

Attribute that holds if the form is in read-only mode.

has IsUpdate

Attribute that holds if the form is used for appointment update.

GetFormFields()

Helper method to build all needed form fields.

PRIVATE INTERFACE

_BuildTeamObject

Initialize the attribute TeamObject.

_BuildObjectData()

Initializes the attribute ObjectData. It is only relevant for the update form, so the builder should be overwritten in this endpoints.

_BuildCalendarList()

Initializes the attribute CalendarList.

_BuildCalendarConfig()

Initializes the attribute CalendarConfig.

_BuildCalendarDefaultValues()

Initializes the attribute CalendarDefaultValues.

_BuildCalendarDynamicFields()

Initializes the attribute CalendarDynamicFields.

_BuildCalendarPlugins()

Initializes the attribute CalendarPlugins.

_BuildIsReadonly()

Initializes the attribute IsReadonly.

_BuildIsUpdate()

Initializes the attribute IsUpdate.

_GetDynamicFields()

Builds the form schema for all dynamic fields for appointments.

_GetCalendarID()

Builds the form schema for the calendar field.

_GetTitle()

Builds the form schema for the title field.

_GetDescription()

Builds the form schema for the description field.

_GetLocation()

Builds the form schema for the location field.

_GetTeamID()

Builds the form schema for the team field.

_GetResourceID()

Builds the form schema for the resources field.

_GetAllDay()

Builds the form schema for the all day field.

_GetStartTime()

Builds the form schema for the start time field.

_GetEndTime()

Builds the form schema for the end time field.

_GetRecurrence()

Builds the form schema for the recurring field.

_GetNotification()

Builds the form schema for the notification field.

_GetTicketPlugin()

Builds the form schema for the ticket plugin field.

_GetVisibility()

Builds the form schema for the visibility field.

_GetValue()

Helper method to show the correct value for the fields.

_GetReplacedValue()

Helper method to replace OTRS smart tags.

_CalculateYearBoundaries()

Helper method to calculate year boundaries.

Scroll to Top