Class AssetTagModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetTag>
com.liferay.portlet.asset.model.impl.AssetTagModelImpl
All Implemented Interfaces:
com.liferay.asset.kernel.model.AssetTagModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetTag>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.asset.kernel.model.AssetTag>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<com.liferay.asset.kernel.model.AssetTag>
Direct Known Subclasses:
AssetTagBaseImpl

@JSON(strict=true) public class AssetTagModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetTag> implements com.liferay.asset.kernel.model.AssetTagModel
The base model implementation for the AssetTag service. Represents a row in the "AssetTag" database table, with each column mapped to a property of this class.

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

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

  • Constructor Details

    • AssetTagModelImpl

      public AssetTagModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.asset.kernel.model.AssetTag>
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.asset.kernel.model.AssetTag>
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetTag>
      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.asset.kernel.model.AssetTag>
      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.asset.kernel.model.AssetTag>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetTag>
    • setModelAttributes

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

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

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

      @JSON public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
    • setMvccVersion

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

      @JSON public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.asset.kernel.model.AssetTag>
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Specified by:
      setCtCollectionId in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.asset.kernel.model.AssetTag>
    • getUuid

      @JSON public String getUuid()
      Specified by:
      getUuid in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
    • setUuid

      public void setUuid(String uuid)
      Specified by:
      setUuid in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
    • getOriginalUuid

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

      @JSON public String getExternalReferenceCode()
      Specified by:
      getExternalReferenceCode in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Specified by:
      setExternalReferenceCode in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
    • getOriginalExternalReferenceCode

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

      @JSON public long getTagId()
      Specified by:
      getTagId in interface com.liferay.asset.kernel.model.AssetTagModel
    • setTagId

      public void setTagId(long tagId)
      Specified by:
      setTagId in interface com.liferay.asset.kernel.model.AssetTagModel
    • getGroupId

      @JSON public long getGroupId()
      Specified by:
      getGroupId in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
    • setGroupId

      public void setGroupId(long groupId)
      Specified by:
      setGroupId in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
    • getOriginalGroupId

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

      @JSON public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
    • setCompanyId

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

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

      @JSON public long getUserId()
      Specified by:
      getUserId in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
    • setUserId

      public void setUserId(long userId)
      Specified by:
      setUserId in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
    • getUserUuid

      public String getUserUuid()
      Specified by:
      getUserUuid in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
    • setUserUuid

      public void setUserUuid(String userUuid)
      Specified by:
      setUserUuid in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
    • getUserName

      @JSON public String getUserName()
      Specified by:
      getUserName in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
    • setUserName

      public void setUserName(String userName)
      Specified by:
      setUserName in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
    • getCreateDate

      @JSON public Date getCreateDate()
      Specified by:
      getCreateDate in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Specified by:
      setCreateDate in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
    • getModifiedDate

      @JSON public Date getModifiedDate()
      Specified by:
      getModifiedDate in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
    • hasSetModifiedDate

      public boolean hasSetModifiedDate()
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Specified by:
      setModifiedDate in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
    • getName

      @JSON public String getName()
      Specified by:
      getName in interface com.liferay.asset.kernel.model.AssetTagModel
    • setName

      public void setName(String name)
      Specified by:
      setName in interface com.liferay.asset.kernel.model.AssetTagModel
    • getOriginalName

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

      @JSON public int getAssetCount()
      Specified by:
      getAssetCount in interface com.liferay.asset.kernel.model.AssetTagModel
    • setAssetCount

      public void setAssetCount(int assetCount)
      Specified by:
      setAssetCount in interface com.liferay.asset.kernel.model.AssetTagModel
    • getLastPublishDate

      @JSON public Date getLastPublishDate()
      Specified by:
      getLastPublishDate in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Specified by:
      setLastPublishDate in interface com.liferay.asset.kernel.model.AssetTagModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • 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.asset.kernel.model.AssetTag>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Overrides:
      getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetTag>
    • setExpandoBridgeAttributes

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

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

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

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

      public int compareTo(com.liferay.asset.kernel.model.AssetTag assetTag)
      Specified by:
      compareTo in interface Comparable<com.liferay.asset.kernel.model.AssetTag>
    • 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.asset.kernel.model.AssetTag>
    • 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.asset.kernel.model.AssetTag>
    • resetOriginalValues

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

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.asset.kernel.model.AssetTag> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetTag>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetTag>
    • 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)