Class TicketModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
com.liferay.portal.model.impl.TicketModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TicketModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.Ticket>
Direct Known Subclasses:
TicketBaseImpl

public class TicketModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket> implements com.liferay.portal.kernel.model.TicketModel
The base model implementation for the Ticket service. Represents a row in the "Ticket" database table, with each column mapped to a property of this class.

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

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

  • Constructor Details

    • TicketModelImpl

      public TicketModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.TicketModel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.TicketModel
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • setPrimaryKeyObj

      public void setPrimaryKeyObj(Serializable primaryKeyObj)
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClass

      public Class<?> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClassName

      public String getModelClassName()
      Specified by:
      getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Overrides:
      setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • getAttributeGetterFunctions

      public Map<String,Function<com.liferay.portal.kernel.model.Ticket,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<com.liferay.portal.kernel.model.Ticket,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
    • getMvccVersion

      public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.TicketModel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.TicketModel
    • getTicketId

      public long getTicketId()
      Specified by:
      getTicketId in interface com.liferay.portal.kernel.model.TicketModel
    • setTicketId

      public void setTicketId(long ticketId)
      Specified by:
      setTicketId in interface com.liferay.portal.kernel.model.TicketModel
    • getCompanyId

      public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.TicketModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.TicketModel
    • getOriginalCompanyId

      @Deprecated public long getOriginalCompanyId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getCreateDate

      public Date getCreateDate()
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.TicketModel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.TicketModel
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TicketModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface com.liferay.portal.kernel.model.TicketModel
    • getClassNameId

      public long getClassNameId()
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TicketModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TicketModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
    • getOriginalClassNameId

      @Deprecated public long getOriginalClassNameId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getClassPK

      public long getClassPK()
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.TicketModel
    • setClassPK

      public void setClassPK(long classPK)
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.TicketModel
    • getOriginalClassPK

      @Deprecated public long getOriginalClassPK()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getKey

      public String getKey()
      Specified by:
      getKey in interface com.liferay.portal.kernel.model.TicketModel
    • setKey

      public void setKey(String key)
      Specified by:
      setKey in interface com.liferay.portal.kernel.model.TicketModel
    • getOriginalKey

      @Deprecated public String getOriginalKey()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getType

      public int getType()
      Specified by:
      getType in interface com.liferay.portal.kernel.model.TicketModel
    • setType

      public void setType(int type)
      Specified by:
      setType in interface com.liferay.portal.kernel.model.TicketModel
    • getOriginalType

      @Deprecated public int getOriginalType()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getExtraInfo

      public String getExtraInfo()
      Specified by:
      getExtraInfo in interface com.liferay.portal.kernel.model.TicketModel
    • setExtraInfo

      public void setExtraInfo(String extraInfo)
      Specified by:
      setExtraInfo in interface com.liferay.portal.kernel.model.TicketModel
    • getExpirationDate

      public Date getExpirationDate()
      Specified by:
      getExpirationDate in interface com.liferay.portal.kernel.model.TicketModel
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Specified by:
      setExpirationDate in interface com.liferay.portal.kernel.model.TicketModel
    • getColumnBitmask

      public long getColumnBitmask()
    • getExpandoBridge

      public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Overrides:
      getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • setExpandoBridgeAttributes

      public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Specified by:
      setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • toEscapedModel

      public com.liferay.portal.kernel.model.Ticket toEscapedModel()
      Specified by:
      toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Overrides:
      toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Specified by:
      clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • cloneWithOriginalValues

      public com.liferay.portal.kernel.model.Ticket cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.TicketModel
    • compareTo

      public int compareTo(com.liferay.portal.kernel.model.Ticket ticket)
      Specified by:
      compareTo in interface Comparable<com.liferay.portal.kernel.model.Ticket>
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isEntityCacheEnabled

      @Deprecated public boolean isEntityCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
    • isFinderCacheEnabled

      @Deprecated public boolean isFinderCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
    • resetOriginalValues

      public void resetOriginalValues()
      Specified by:
      resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Overrides:
      resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • toCacheModel

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Ticket> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Ticket>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Ticket>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColumnValue

      public <T> T getColumnValue(String columnName)
    • getColumnOriginalValue

      public <T> T getColumnOriginalValue(String columnName)
    • getColumnBitmask

      public static long getColumnBitmask(String columnName)