Class CsTicketEventModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CsCustomerEventModel

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • STARTDATETIME

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

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

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

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

      public static final String ENTRIES
      Generated constant - Attribute key of CsTicketEvent.entries attribute defined at extension ticketsystem.
      See Also:
  • Constructor Details

    • 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, 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, 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 Details

    • getEmails

      @Accessor(qualifier="emails", type=GETTER) public 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 Date getEndDateTime()
      Generated method - Getter of the CsTicketEvent.endDateTime attribute defined at extension ticketsystem.
      Returns:
      the endDateTime
    • getEntries

      @Accessor(qualifier="entries", type=GETTER) public 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 Date getStartDateTime()
      Generated method - Getter of the CsTicketEvent.startDateTime attribute defined at extension ticketsystem.
      Returns:
      the startDateTime
    • getTicket

      @Deprecated(since="ages", forRemoval=true) @Accessor(qualifier="ticket", type=GETTER) public CsTicketModel getTicket()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages
      Generated method - Getter of the CsTicketEvent.ticket attribute defined at extension ticketsystem.
      Returns:
      the ticket
    • setEmails

      @Accessor(qualifier="emails", type=SETTER) public void setEmails(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(Date value)
      Generated method - Setter of CsTicketEvent.endDateTime attribute defined at extension ticketsystem.
      Parameters:
      value - the endDateTime
    • setEntries

      @Accessor(qualifier="entries", type=SETTER) public void setEntries(Set<CsTicketChangeEventEntryModel> value)
      Generated method - Setter of CsTicketEvent.entries attribute defined at extension ticketsystem.
      Parameters:
      value - the entries
    • setStartDateTime

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

      @Deprecated(since="ages", forRemoval=true) @Accessor(qualifier="ticket", type=SETTER) public void setTicket(CsTicketModel value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages
      Generated method - Setter of CsTicketEvent.ticket attribute defined at extension ticketsystem.
      Parameters:
      value - the ticket