Class CsTicketModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CsTicketModel
    extends ItemModel
    Generated model class for type CsTicket 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
      • TICKETID

        public static final java.lang.String TICKETID
        Generated constant - Attribute key of CsTicket.ticketID attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • CUSTOMER

        public static final java.lang.String CUSTOMER
        Generated constant - Attribute key of CsTicket.customer attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Generated constant - Attribute key of CsTicket.order attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • HEADLINE

        public static final java.lang.String HEADLINE
        Generated constant - Attribute key of CsTicket.headline attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • CATEGORY

        public static final java.lang.String CATEGORY
        Generated constant - Attribute key of CsTicket.category attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • PRIORITY

        public static final java.lang.String PRIORITY
        Generated constant - Attribute key of CsTicket.priority attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • STATE

        public static final java.lang.String STATE
        Generated constant - Attribute key of CsTicket.state attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • ASSIGNEDAGENT

        public static final java.lang.String ASSIGNEDAGENT
        Generated constant - Attribute key of CsTicket.assignedAgent attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • ASSIGNEDGROUP

        public static final java.lang.String ASSIGNEDGROUP
        Generated constant - Attribute key of CsTicket.assignedGroup attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • RESOLUTION

        public static final java.lang.String RESOLUTION
        Generated constant - Attribute key of CsTicket.resolution attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • BASESITE

        public static final java.lang.String BASESITE
        Generated constant - Attribute key of CsTicket.baseSite attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • EVENTS

        public static final java.lang.String EVENTS
        Generated constant - Attribute key of CsTicket.events attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
      • RETENTIONDATE

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

      • CsTicketModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CsTicketModel​(ItemModel _owner,
                             java.lang.String _ticketID)
        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:
        _owner - initial attribute declared by type Item at extension core
        _ticketID - initial attribute declared by type CsTicket at extension ticketsystem
    • Method Detail

      • getAssignedAgent

        @Accessor(qualifier="assignedAgent",
                  type=GETTER)
        public EmployeeModel getAssignedAgent()
        Generated method - Getter of the CsTicket.assignedAgent attribute defined at extension ticketsystem.
        Returns:
        the assignedAgent
      • getAssignedGroup

        @Accessor(qualifier="assignedGroup",
                  type=GETTER)
        public CsAgentGroupModel getAssignedGroup()
        Generated method - Getter of the CsTicket.assignedGroup attribute defined at extension ticketsystem.
        Returns:
        the assignedGroup
      • getBaseSite

        @Accessor(qualifier="baseSite",
                  type=GETTER)
        public BaseSiteModel getBaseSite()
        Generated method - Getter of the CsTicket.baseSite attribute defined at extension ticketsystem.
        Returns:
        the baseSite
      • getCustomer

        @Accessor(qualifier="customer",
                  type=GETTER)
        public UserModel getCustomer()
        Generated method - Getter of the CsTicket.customer attribute defined at extension ticketsystem.
        Returns:
        the customer
      • getEvents

        @Deprecated
        @Accessor(qualifier="events",
                  type=GETTER)
        public java.util.List<CsTicketEventModel> getEvents()
        Deprecated.
        Generated method - Getter of the CsTicket.events attribute defined at extension ticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the events
      • getHeadline

        @Accessor(qualifier="headline",
                  type=GETTER)
        public java.lang.String getHeadline()
        Generated method - Getter of the CsTicket.headline attribute defined at extension ticketsystem.
        Returns:
        the headline
      • getRetentionDate

        @Accessor(qualifier="retentionDate",
                  type=GETTER)
        public java.util.Date getRetentionDate()
        Generated method - Getter of the CsTicket.retentionDate attribute defined at extension ticketsystem.
        Returns:
        the retentionDate - Date, when ticket was closed and retention period was started
      • getTicketID

        @Accessor(qualifier="ticketID",
                  type=GETTER)
        public java.lang.String getTicketID()
        Generated method - Getter of the CsTicket.ticketID attribute defined at extension ticketsystem.
        Returns:
        the ticketID
      • setAssignedAgent

        @Accessor(qualifier="assignedAgent",
                  type=SETTER)
        public void setAssignedAgent​(EmployeeModel value)
        Generated method - Setter of CsTicket.assignedAgent attribute defined at extension ticketsystem.
        Parameters:
        value - the assignedAgent
      • setAssignedGroup

        @Accessor(qualifier="assignedGroup",
                  type=SETTER)
        public void setAssignedGroup​(CsAgentGroupModel value)
        Generated method - Setter of CsTicket.assignedGroup attribute defined at extension ticketsystem.
        Parameters:
        value - the assignedGroup
      • setBaseSite

        @Accessor(qualifier="baseSite",
                  type=SETTER)
        public void setBaseSite​(BaseSiteModel value)
        Generated method - Setter of CsTicket.baseSite attribute defined at extension ticketsystem.
        Parameters:
        value - the baseSite
      • setCategory

        @Accessor(qualifier="category",
                  type=SETTER)
        public void setCategory​(CsTicketCategory value)
        Generated method - Setter of CsTicket.category attribute defined at extension ticketsystem.
        Parameters:
        value - the category
      • setCustomer

        @Accessor(qualifier="customer",
                  type=SETTER)
        public void setCustomer​(UserModel value)
        Generated method - Setter of CsTicket.customer attribute defined at extension ticketsystem.
        Parameters:
        value - the customer
      • setHeadline

        @Accessor(qualifier="headline",
                  type=SETTER)
        public void setHeadline​(java.lang.String value)
        Generated method - Setter of CsTicket.headline attribute defined at extension ticketsystem.
        Parameters:
        value - the headline
      • setPriority

        @Accessor(qualifier="priority",
                  type=SETTER)
        public void setPriority​(CsTicketPriority value)
        Generated method - Setter of CsTicket.priority attribute defined at extension ticketsystem.
        Parameters:
        value - the priority
      • setRetentionDate

        @Accessor(qualifier="retentionDate",
                  type=SETTER)
        public void setRetentionDate​(java.util.Date value)
        Generated method - Setter of CsTicket.retentionDate attribute defined at extension ticketsystem.
        Parameters:
        value - the retentionDate - Date, when ticket was closed and retention period was started
      • setState

        @Accessor(qualifier="state",
                  type=SETTER)
        public void setState​(CsTicketState value)
        Generated method - Setter of CsTicket.state attribute defined at extension ticketsystem.
        Parameters:
        value - the state
      • setTicketID

        @Accessor(qualifier="ticketID",
                  type=SETTER)
        public void setTicketID​(java.lang.String value)
        Generated method - Initial setter of CsTicket.ticketID attribute defined at extension ticketsystem. Can only be used at creation of model - before first save.
        Parameters:
        value - the ticketID