Package com.liferay.asset.link.model
Interface AssetLinkModel
- All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<AssetLink>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<AssetLink>,com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
AssetLink,StagedAssetLink
- All Known Implementing Classes:
AssetLinkWrapper
@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
The base model interface for the AssetLink service. Represents a row in the "AssetLink" database table, with each column mapped to a property of this class.
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.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this asset link.Returns the create date of this asset link.longReturns the ct collection ID of this asset link.longReturns the entry id1 of this asset link.longReturns the entry id2 of this asset link.longReturns the link ID of this asset link.longReturns the mvcc version of this asset link.longReturns the primary key of this asset link.intgetType()Returns the type of this asset link.longReturns the user ID of this asset link.Returns the user name of this asset link.Returns the user uuid of this asset link.intReturns the weight of this asset link.voidsetCompanyId(long companyId) Sets the company ID of this asset link.voidsetCreateDate(Date createDate) Sets the create date of this asset link.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this asset link.voidsetEntryId1(long entryId1) Sets the entry id1 of this asset link.voidsetEntryId2(long entryId2) Sets the entry id2 of this asset link.voidsetLinkId(long linkId) Sets the link ID of this asset link.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this asset link.voidsetPrimaryKey(long primaryKey) Sets the primary key of this asset link.voidsetType(int type) Sets the type of this asset link.voidsetUserId(long userId) Sets the user ID of this asset link.voidsetUserName(String userName) Sets the user name of this asset link.voidsetUserUuid(String userUuid) Sets the user uuid of this asset link.voidsetWeight(int weight) Sets the weight of this asset link.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this asset link.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Returns:
- the primary key of this asset link
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this asset link.- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Parameters:
primaryKey- the primary key of this asset link
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this asset link.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this asset link
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this asset link.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this asset link
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this asset link.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Returns:
- the ct collection ID of this asset link
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this asset link.- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Parameters:
ctCollectionId- the ct collection ID of this asset link
-
getLinkId
long getLinkId()Returns the link ID of this asset link.- Returns:
- the link ID of this asset link
-
setLinkId
void setLinkId(long linkId) Sets the link ID of this asset link.- Parameters:
linkId- the link ID of this asset link
-
getCompanyId
long getCompanyId()Returns the company ID of this asset link.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this asset link
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this asset link.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this asset link
-
getUserId
long getUserId()Returns the user ID of this asset link.- Returns:
- the user ID of this asset link
-
setUserId
void setUserId(long userId) Sets the user ID of this asset link.- Parameters:
userId- the user ID of this asset link
-
getUserUuid
String getUserUuid()Returns the user uuid of this asset link.- Returns:
- the user uuid of this asset link
-
setUserUuid
Sets the user uuid of this asset link.- Parameters:
userUuid- the user uuid of this asset link
-
getUserName
Returns the user name of this asset link.- Returns:
- the user name of this asset link
-
setUserName
Sets the user name of this asset link.- Parameters:
userName- the user name of this asset link
-
getCreateDate
Date getCreateDate()Returns the create date of this asset link.- Returns:
- the create date of this asset link
-
setCreateDate
Sets the create date of this asset link.- Parameters:
createDate- the create date of this asset link
-
getEntryId1
long getEntryId1()Returns the entry id1 of this asset link.- Returns:
- the entry id1 of this asset link
-
setEntryId1
void setEntryId1(long entryId1) Sets the entry id1 of this asset link.- Parameters:
entryId1- the entry id1 of this asset link
-
getEntryId2
long getEntryId2()Returns the entry id2 of this asset link.- Returns:
- the entry id2 of this asset link
-
setEntryId2
void setEntryId2(long entryId2) Sets the entry id2 of this asset link.- Parameters:
entryId2- the entry id2 of this asset link
-
getType
int getType()Returns the type of this asset link.- Returns:
- the type of this asset link
-
setType
void setType(int type) Sets the type of this asset link.- Parameters:
type- the type of this asset link
-
getWeight
int getWeight()Returns the weight of this asset link.- Returns:
- the weight of this asset link
-
setWeight
void setWeight(int weight) Sets the weight of this asset link.- Parameters:
weight- the weight of this asset link
-
cloneWithOriginalValues
AssetLink cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
toXmlString
-