Package com.liferay.asset.kernel.model
Class AssetTagWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetTag>
com.liferay.asset.kernel.model.AssetTagWrapper
- All Implemented Interfaces:
AssetTag
,AssetTagModel
,AuditedModel
,BaseModel<AssetTag>
,CTModel<AssetTag>
,ClassedModel
,ExternalReferenceCodeModel
,GroupedModel
,ModelWrapper<AssetTag>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedGroupedModel
,StagedModel
,Serializable
,Cloneable
,Comparable<AssetTag>
public class AssetTagWrapper
extends BaseModelWrapper<AssetTag>
implements AssetTag, ModelWrapper<AssetTag>
This class is a wrapper for AssetTag
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.asset.kernel.model.AssetTag
NAME_ACCESSOR, TAG_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the asset count of this asset tag.long
Returns the company ID of this asset tag.Returns the create date of this asset tag.long
Returns the ct collection ID of this asset tag.Returns the external reference code of this asset tag.long
Returns the group ID of this asset tag.Returns the last publish date of this asset tag.Returns the modified date of this asset tag.long
Returns the mvcc version of this asset tag.getName()
Returns the name of this asset tag.long
Returns the primary key of this asset tag.long
getTagId()
Returns the tag ID of this asset tag.long
Returns the user ID of this asset tag.Returns the user name of this asset tag.Returns the user uuid of this asset tag.getUuid()
Returns the uuid of this asset tag.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setAssetCount
(int assetCount) Sets the asset count of this asset tag.void
setCompanyId
(long companyId) Sets the company ID of this asset tag.void
setCreateDate
(Date createDate) Sets the create date of this asset tag.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this asset tag.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this asset tag.void
setGroupId
(long groupId) Sets the group ID of this asset tag.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this asset tag.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this asset tag.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this asset tag.void
Sets the name of this asset tag.void
setPrimaryKey
(long primaryKey) Sets the primary key of this asset tag.void
setTagId
(long tagId) Sets the tag ID of this asset tag.void
setUserId
(long userId) Sets the user ID of this asset tag.void
setUserName
(String userName) Sets the user name of this asset tag.void
setUserUuid
(String userUuid) Sets the user uuid of this asset tag.void
Sets the uuid of this asset tag.protected AssetTagWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
AssetTagWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<AssetTag>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<AssetTag>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAssetTagModel
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<AssetTag>
-
getAssetCount
public int getAssetCount()Returns the asset count of this asset tag.- Specified by:
getAssetCount
in interfaceAssetTagModel
- Returns:
- the asset count of this asset tag
-
getCompanyId
public long getCompanyId()Returns the company ID of this asset tag.- Specified by:
getCompanyId
in interfaceAssetTagModel
- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this asset tag
-
getCreateDate
Returns the create date of this asset tag.- Specified by:
getCreateDate
in interfaceAssetTagModel
- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this asset tag
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this asset tag.- Specified by:
getCtCollectionId
in interfaceAssetTagModel
- Specified by:
getCtCollectionId
in interfaceCTModel<AssetTag>
- Returns:
- the ct collection ID of this asset tag
-
getExternalReferenceCode
Returns the external reference code of this asset tag.- Specified by:
getExternalReferenceCode
in interfaceAssetTagModel
- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this asset tag
-
getGroupId
public long getGroupId()Returns the group ID of this asset tag.- Specified by:
getGroupId
in interfaceAssetTagModel
- Specified by:
getGroupId
in interfaceGroupedModel
- Returns:
- the group ID of this asset tag
-
getLastPublishDate
Returns the last publish date of this asset tag.- Specified by:
getLastPublishDate
in interfaceAssetTagModel
- Specified by:
getLastPublishDate
in interfaceStagedGroupedModel
- Returns:
- the last publish date of this asset tag
-
getModifiedDate
Returns the modified date of this asset tag.- Specified by:
getModifiedDate
in interfaceAssetTagModel
- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this asset tag
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this asset tag.- Specified by:
getMvccVersion
in interfaceAssetTagModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this asset tag
-
getName
Returns the name of this asset tag.- Specified by:
getName
in interfaceAssetTagModel
- Returns:
- the name of this asset tag
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this asset tag.- Specified by:
getPrimaryKey
in interfaceAssetTagModel
- Specified by:
getPrimaryKey
in interfaceCTModel<AssetTag>
- Returns:
- the primary key of this asset tag
-
getTagId
public long getTagId()Returns the tag ID of this asset tag.- Specified by:
getTagId
in interfaceAssetTagModel
- Returns:
- the tag ID of this asset tag
-
getUserId
public long getUserId()Returns the user ID of this asset tag.- Specified by:
getUserId
in interfaceAssetTagModel
- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this asset tag
-
getUserName
Returns the user name of this asset tag.- Specified by:
getUserName
in interfaceAssetTagModel
- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this asset tag
-
getUserUuid
Returns the user uuid of this asset tag.- Specified by:
getUserUuid
in interfaceAssetTagModel
- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this asset tag
-
getUuid
Returns the uuid of this asset tag.- Specified by:
getUuid
in interfaceAssetTagModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this asset tag
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setAssetCount
public void setAssetCount(int assetCount) Sets the asset count of this asset tag.- Specified by:
setAssetCount
in interfaceAssetTagModel
- Parameters:
assetCount
- the asset count of this asset tag
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this asset tag.- Specified by:
setCompanyId
in interfaceAssetTagModel
- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this asset tag
-
setCreateDate
Sets the create date of this asset tag.- Specified by:
setCreateDate
in interfaceAssetTagModel
- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this asset tag
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this asset tag.- Specified by:
setCtCollectionId
in interfaceAssetTagModel
- Specified by:
setCtCollectionId
in interfaceCTModel<AssetTag>
- Parameters:
ctCollectionId
- the ct collection ID of this asset tag
-
setExternalReferenceCode
Sets the external reference code of this asset tag.- Specified by:
setExternalReferenceCode
in interfaceAssetTagModel
- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this asset tag
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this asset tag.- Specified by:
setGroupId
in interfaceAssetTagModel
- Specified by:
setGroupId
in interfaceGroupedModel
- Parameters:
groupId
- the group ID of this asset tag
-
setLastPublishDate
Sets the last publish date of this asset tag.- Specified by:
setLastPublishDate
in interfaceAssetTagModel
- Specified by:
setLastPublishDate
in interfaceStagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this asset tag
-
setModifiedDate
Sets the modified date of this asset tag.- Specified by:
setModifiedDate
in interfaceAssetTagModel
- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this asset tag
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this asset tag.- Specified by:
setMvccVersion
in interfaceAssetTagModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this asset tag
-
setName
Sets the name of this asset tag.- Specified by:
setName
in interfaceAssetTagModel
- Parameters:
name
- the name of this asset tag
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this asset tag.- Specified by:
setPrimaryKey
in interfaceAssetTagModel
- Specified by:
setPrimaryKey
in interfaceCTModel<AssetTag>
- Parameters:
primaryKey
- the primary key of this asset tag
-
setTagId
public void setTagId(long tagId) Sets the tag ID of this asset tag.- Specified by:
setTagId
in interfaceAssetTagModel
- Parameters:
tagId
- the tag ID of this asset tag
-
setUserId
public void setUserId(long userId) Sets the user ID of this asset tag.- Specified by:
setUserId
in interfaceAssetTagModel
- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this asset tag
-
setUserName
Sets the user name of this asset tag.- Specified by:
setUserName
in interfaceAssetTagModel
- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this asset tag
-
setUserUuid
Sets the user uuid of this asset tag.- Specified by:
setUserUuid
in interfaceAssetTagModel
- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this asset tag
-
setUuid
Sets the uuid of this asset tag.- Specified by:
setUuid
in interfaceAssetTagModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this asset tag
-
toXmlString
- Specified by:
toXmlString
in interfaceAssetTagModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<AssetTag>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<AssetTag>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<AssetTag>
-