Class CsTicketEventModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CsCustomerEventModel

    public class CsTicketEventModel
    extends CommentModel
    Generated model class for type CsTicketEvent first defined at extension ticketsystem.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • STARTDATETIME

        public static final java.lang.String STARTDATETIME
        Generated constant - Attribute key of CsTicketEvent.startDateTime attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • ENDDATETIME

        public static final java.lang.String ENDDATETIME
        Generated constant - Attribute key of CsTicketEvent.endDateTime attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • TICKET

        public static final java.lang.String TICKET
        Generated constant - Attribute key of CsTicketEvent.ticket attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • EMAILS

        public static final java.lang.String EMAILS
        Generated constant - Attribute key of CsTicketEvent.emails attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • ENTRIES

        public static final java.lang.String ENTRIES
        Generated constant - Attribute key of CsTicketEvent.entries attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CsTicketEventModel

        public CsTicketEventModel()
        Generated constructor - Default constructor for generic creation.
      • CsTicketEventModel

        public CsTicketEventModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CsTicketEventModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CsTicketEventModel​(UserModel _author,
                                  CommentTypeModel _commentType,
                                  ComponentModel _component,
                                  java.lang.String _text)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _author - initial attribute declared by type AbstractComment at extension comments
        _commentType - initial attribute declared by type Comment at extension comments
        _component - initial attribute declared by type Comment at extension comments
        _text - initial attribute declared by type AbstractComment at extension comments
      • CsTicketEventModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CsTicketEventModel​(UserModel _author,
                                  CommentTypeModel _commentType,
                                  ComponentModel _component,
                                  ItemModel _owner,
                                  java.lang.String _text)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _author - initial attribute declared by type AbstractComment at extension comments
        _commentType - initial attribute declared by type Comment at extension comments
        _component - initial attribute declared by type Comment at extension comments
        _owner - initial attribute declared by type Item at extension core
        _text - initial attribute declared by type AbstractComment at extension comments
    • Method Detail

      • getEmails

        @Accessor(qualifier="emails",
                  type=GETTER)
        public java.util.List<CsTicketEmailModel> getEmails()
        Generated method - Getter of the CsTicketEvent.emails attribute defined at extension ticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the emails
      • getEndDateTime

        @Accessor(qualifier="endDateTime",
                  type=GETTER)
        public java.util.Date getEndDateTime()
        Generated method - Getter of the CsTicketEvent.endDateTime attribute defined at extension ticketsystem.
        Returns:
        the endDateTime
      • getEntries

        @Accessor(qualifier="entries",
                  type=GETTER)
        public java.util.Set<CsTicketChangeEventEntryModel> getEntries()
        Generated method - Getter of the CsTicketEvent.entries attribute defined at extension ticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the entries
      • getStartDateTime

        @Accessor(qualifier="startDateTime",
                  type=GETTER)
        public java.util.Date getStartDateTime()
        Generated method - Getter of the CsTicketEvent.startDateTime attribute defined at extension ticketsystem.
        Returns:
        the startDateTime
      • getTicket

        @Deprecated
        @Accessor(qualifier="ticket",
                  type=GETTER)
        public CsTicketModel getTicket()
        Deprecated.
        Generated method - Getter of the CsTicketEvent.ticket attribute defined at extension ticketsystem.
        Returns:
        the ticket
      • setEmails

        @Accessor(qualifier="emails",
                  type=SETTER)
        public void setEmails​(java.util.List<CsTicketEmailModel> value)
        Generated method - Setter of CsTicketEvent.emails attribute defined at extension ticketsystem.
        Parameters:
        value - the emails
      • setEndDateTime

        @Accessor(qualifier="endDateTime",
                  type=SETTER)
        public void setEndDateTime​(java.util.Date value)
        Generated method - Setter of CsTicketEvent.endDateTime attribute defined at extension ticketsystem.
        Parameters:
        value - the endDateTime
      • setStartDateTime

        @Accessor(qualifier="startDateTime",
                  type=SETTER)
        public void setStartDateTime​(java.util.Date value)
        Generated method - Setter of CsTicketEvent.startDateTime attribute defined at extension ticketsystem.
        Parameters:
        value - the startDateTime
      • setTicket

        @Deprecated
        @Accessor(qualifier="ticket",
                  type=SETTER)
        public void setTicket​(CsTicketModel value)
        Deprecated.
        Generated method - Setter of CsTicketEvent.ticket attribute defined at extension ticketsystem.
        Parameters:
        value - the ticket