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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ASSIGNEDAGENT
      Generated constant - Attribute key of CsTicket.assignedAgent attribute defined at extension ticketsystem.
      static java.lang.String ASSIGNEDGROUP
      Generated constant - Attribute key of CsTicket.assignedGroup attribute defined at extension ticketsystem.
      static java.lang.String BASESITE
      Generated constant - Attribute key of CsTicket.baseSite attribute defined at extension ticketsystem.
      static java.lang.String CATEGORY
      Generated constant - Attribute key of CsTicket.category attribute defined at extension ticketsystem.
      static java.lang.String CUSTOMER
      Generated constant - Attribute key of CsTicket.customer attribute defined at extension ticketsystem.
      static java.lang.String EVENTS
      Generated constant - Attribute key of CsTicket.events attribute defined at extension ticketsystem.
      static java.lang.String HEADLINE
      Generated constant - Attribute key of CsTicket.headline attribute defined at extension ticketsystem.
      static java.lang.String ORDER
      Generated constant - Attribute key of CsTicket.order attribute defined at extension ticketsystem.
      static java.lang.String PRIORITY
      Generated constant - Attribute key of CsTicket.priority attribute defined at extension ticketsystem.
      static java.lang.String RESOLUTION
      Generated constant - Attribute key of CsTicket.resolution attribute defined at extension ticketsystem.
      static java.lang.String RETENTIONDATE
      Generated constant - Attribute key of CsTicket.retentionDate attribute defined at extension ticketsystem.
      static java.lang.String STATE
      Generated constant - Attribute key of CsTicket.state attribute defined at extension ticketsystem.
      static java.lang.String TICKETID
      Generated constant - Attribute key of CsTicket.ticketID attribute defined at extension ticketsystem.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      CsTicketModel()
      Generated constructor - Default constructor for generic creation.
      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
      CsTicketModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      EmployeeModel getAssignedAgent()
      Generated method - Getter of the CsTicket.assignedAgent attribute defined at extension ticketsystem.
      CsAgentGroupModel getAssignedGroup()
      Generated method - Getter of the CsTicket.assignedGroup attribute defined at extension ticketsystem.
      BaseSiteModel getBaseSite()
      Generated method - Getter of the CsTicket.baseSite attribute defined at extension ticketsystem.
      CsTicketCategory getCategory()
      Generated method - Getter of the CsTicket.category attribute defined at extension ticketsystem.
      UserModel getCustomer()
      Generated method - Getter of the CsTicket.customer attribute defined at extension ticketsystem.
      java.util.List<CsTicketEventModel> getEvents()
      Deprecated. 
      java.lang.String getHeadline()
      Generated method - Getter of the CsTicket.headline attribute defined at extension ticketsystem.
      AbstractOrderModel getOrder()
      Generated method - Getter of the CsTicket.order attribute defined at extension ticketsystem.
      CsTicketPriority getPriority()
      Generated method - Getter of the CsTicket.priority attribute defined at extension ticketsystem.
      CsTicketResolutionEventModel getResolution()
      Generated method - Getter of the CsTicket.resolution attribute defined at extension ticketsystem.
      java.util.Date getRetentionDate()
      Generated method - Getter of the CsTicket.retentionDate attribute defined at extension ticketsystem.
      CsTicketState getState()
      Generated method - Getter of the CsTicket.state attribute defined at extension ticketsystem.
      java.lang.String getTicketID()
      Generated method - Getter of the CsTicket.ticketID attribute defined at extension ticketsystem.
      void setAssignedAgent​(EmployeeModel value)
      Generated method - Setter of CsTicket.assignedAgent attribute defined at extension ticketsystem.
      void setAssignedGroup​(CsAgentGroupModel value)
      Generated method - Setter of CsTicket.assignedGroup attribute defined at extension ticketsystem.
      void setBaseSite​(BaseSiteModel value)
      Generated method - Setter of CsTicket.baseSite attribute defined at extension ticketsystem.
      void setCategory​(CsTicketCategory value)
      Generated method - Setter of CsTicket.category attribute defined at extension ticketsystem.
      void setCustomer​(UserModel value)
      Generated method - Setter of CsTicket.customer attribute defined at extension ticketsystem.
      void setHeadline​(java.lang.String value)
      Generated method - Setter of CsTicket.headline attribute defined at extension ticketsystem.
      void setOrder​(AbstractOrderModel value)
      Generated method - Setter of CsTicket.order attribute defined at extension ticketsystem.
      void setPriority​(CsTicketPriority value)
      Generated method - Setter of CsTicket.priority attribute defined at extension ticketsystem.
      void setResolution​(CsTicketResolutionEventModel value)
      Generated method - Setter of CsTicket.resolution attribute defined at extension ticketsystem.
      void setRetentionDate​(java.util.Date value)
      Generated method - Setter of CsTicket.retentionDate attribute defined at extension ticketsystem.
      void setState​(CsTicketState value)
      Generated method - Setter of CsTicket.state attribute defined at extension ticketsystem.
      void setTicketID​(java.lang.String value)
      Generated method - Initial setter of CsTicket.ticketID attribute defined at extension ticketsystem.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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​(de.hybris.platform.servicelayer.model.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
      • 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
        @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
      • 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 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
      • 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 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
      • 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​(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