@ProviderType public interface AssetLinkModel extends com.liferay.portal.kernel.model.BaseModel<AssetLink>, com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.asset.link.model.impl.AssetLinkModelImpl
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.asset.link.model.impl.AssetLinkImpl
.
AssetLink
Modifier and Type | Method and Description |
---|---|
AssetLink |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this asset link.
|
java.util.Date |
getCreateDate()
Returns the create date of this asset link.
|
long |
getCtCollectionId()
Returns the ct collection ID of this asset link.
|
long |
getEntryId1()
Returns the entry id1 of this asset link.
|
long |
getEntryId2()
Returns the entry id2 of this asset link.
|
long |
getLinkId()
Returns the link ID of this asset link.
|
long |
getMvccVersion()
Returns the mvcc version of this asset link.
|
long |
getPrimaryKey()
Returns the primary key of this asset link.
|
int |
getType()
Returns the type of this asset link.
|
long |
getUserId()
Returns the user ID of this asset link.
|
java.lang.String |
getUserName()
Returns the user name of this asset link.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this asset link.
|
int |
getWeight()
Returns the weight of this asset link.
|
void |
setCompanyId(long companyId)
Sets the company ID of this asset link.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this asset link.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this asset link.
|
void |
setEntryId1(long entryId1)
Sets the entry id1 of this asset link.
|
void |
setEntryId2(long entryId2)
Sets the entry id2 of this asset link.
|
void |
setLinkId(long linkId)
Sets the link ID of this asset link.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this asset link.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset link.
|
void |
setType(int type)
Sets the type of this asset link.
|
void |
setUserId(long userId)
Sets the user ID of this asset link.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this asset link.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this asset link.
|
void |
setWeight(int weight)
Sets the weight of this asset link.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
primaryKey
- the primary key of this asset linklong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this asset linklong getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
ctCollectionId
- the ct collection ID of this asset linklong getLinkId()
void setLinkId(long linkId)
linkId
- the link ID of this asset linklong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this asset linklong getUserId()
void setUserId(long userId)
userId
- the user ID of this asset linkjava.lang.String getUserUuid()
void setUserUuid(java.lang.String userUuid)
userUuid
- the user uuid of this asset link@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName
- the user name of this asset linkjava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate
- the create date of this asset linklong getEntryId1()
void setEntryId1(long entryId1)
entryId1
- the entry id1 of this asset linklong getEntryId2()
void setEntryId2(long entryId2)
entryId2
- the entry id2 of this asset linkint getType()
void setType(int type)
type
- the type of this asset linkint getWeight()
void setWeight(int weight)
weight
- the weight of this asset linkAssetLink cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<AssetLink>
default java.lang.String toXmlString()