Class CsTicketModel

All Implemented Interfaces:
Serializable

public class CsTicketModel extends ItemModel
Generated model class for type CsTicket first defined at extension ticketsystem.
See Also:
  • Field Details

    • _TYPECODE

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final String RETENTIONDATE
      Generated constant - Attribute key of CsTicket.retentionDate attribute defined at extension ticketsystem.
      See Also:
  • Constructor Details

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

    • 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
    • getCategory

      @Accessor(qualifier="category", type=GETTER) public CsTicketCategory getCategory()
      Generated method - Getter of the CsTicket.category attribute defined at extension ticketsystem.
      Returns:
      the category
    • 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(since="ages", forRemoval=true) @Accessor(qualifier="events", type=GETTER) public List<CsTicketEventModel> getEvents()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages
      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 String getHeadline()
      Generated method - Getter of the CsTicket.headline attribute defined at extension ticketsystem.
      Returns:
      the headline
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
      Generated method - Getter of the CsTicket.order attribute defined at extension ticketsystem.
      Returns:
      the order
    • getPriority

      @Accessor(qualifier="priority", type=GETTER) public CsTicketPriority getPriority()
      Generated method - Getter of the CsTicket.priority attribute defined at extension ticketsystem.
      Returns:
      the priority
    • getResolution

      @Accessor(qualifier="resolution", type=GETTER) public CsTicketResolutionEventModel getResolution()
      Generated method - Getter of the CsTicket.resolution attribute defined at extension ticketsystem.
      Returns:
      the resolution
    • getRetentionDate

      @Accessor(qualifier="retentionDate", type=GETTER) public 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
    • getState

      @Accessor(qualifier="state", type=GETTER) public CsTicketState getState()
      Generated method - Getter of the CsTicket.state attribute defined at extension ticketsystem.
      Returns:
      the state
    • getTicketID

      @Accessor(qualifier="ticketID", type=GETTER) public 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(String value)
      Generated method - Setter of CsTicket.headline attribute defined at extension ticketsystem.
      Parameters:
      value - the headline
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Setter of CsTicket.order attribute defined at extension ticketsystem.
      Parameters:
      value - the order
    • 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
    • setResolution

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

      @Accessor(qualifier="retentionDate", type=SETTER) public void setRetentionDate(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(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