Interface TicketModel

All Superinterfaces:
AttachedModel, BaseModel<Ticket>, ClassedModel, Cloneable, Comparable<Ticket>, MVCCModel, Serializable, ShardedModel, TypedModel
All Known Subinterfaces:
Ticket
All Known Implementing Classes:
TicketWrapper

@ProviderType public interface TicketModel extends AttachedModel, BaseModel<Ticket>, MVCCModel, ShardedModel
The base model interface for the Ticket service. Represents a row in the "Ticket" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portal.model.impl.TicketModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.TicketImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this ticket.
      Returns:
      the primary key of this ticket
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this ticket.
      Parameters:
      primaryKey - the primary key of this ticket
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this ticket.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this ticket
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this ticket.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this ticket
    • getTicketId

      long getTicketId()
      Returns the ticket ID of this ticket.
      Returns:
      the ticket ID of this ticket
    • setTicketId

      void setTicketId(long ticketId)
      Sets the ticket ID of this ticket.
      Parameters:
      ticketId - the ticket ID of this ticket
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this ticket.
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this ticket
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this ticket.
      Specified by:
      setCompanyId in interface ShardedModel
      Parameters:
      companyId - the company ID of this ticket
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this ticket.
      Returns:
      the create date of this ticket
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this ticket.
      Parameters:
      createDate - the create date of this ticket
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this ticket.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this ticket
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this ticket.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this ticket
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this ticket.
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this ticket
    • getClassPK

      long getClassPK()
      Returns the class pk of this ticket.
      Specified by:
      getClassPK in interface AttachedModel
      Returns:
      the class pk of this ticket
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this ticket.
      Specified by:
      setClassPK in interface AttachedModel
      Parameters:
      classPK - the class pk of this ticket
    • getKey

      Returns the key of this ticket.
      Returns:
      the key of this ticket
    • setKey

      void setKey(String key)
      Sets the key of this ticket.
      Parameters:
      key - the key of this ticket
    • getType

      int getType()
      Returns the type of this ticket.
      Returns:
      the type of this ticket
    • setType

      void setType(int type)
      Sets the type of this ticket.
      Parameters:
      type - the type of this ticket
    • getExtraInfo

      @AutoEscape String getExtraInfo()
      Returns the extra info of this ticket.
      Returns:
      the extra info of this ticket
    • setExtraInfo

      void setExtraInfo(String extraInfo)
      Sets the extra info of this ticket.
      Parameters:
      extraInfo - the extra info of this ticket
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this ticket.
      Returns:
      the expiration date of this ticket
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this ticket.
      Parameters:
      expirationDate - the expiration date of this ticket
    • cloneWithOriginalValues

      Ticket cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Ticket>
    • toXmlString

      default String toXmlString()