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 TypeMethodDescriptionlong
Returns the company ID of this asset link.Returns the create date of this asset link.long
Returns the ct collection ID of this asset link.long
Returns the entry id1 of this asset link.long
Returns the entry id2 of this asset link.long
Returns the link ID of this asset link.long
Returns the mvcc version of this asset link.long
Returns the primary key of this asset link.int
getType()
Returns the type of this asset link.long
Returns the user ID of this asset link.Returns the user name of this asset link.Returns the user uuid of this asset link.int
Returns the weight of this asset link.void
setCompanyId
(long companyId) Sets the company ID of this asset link.void
setCreateDate
(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
(String userName) Sets the user name of this asset link.void
setUserUuid
(String userUuid) Sets the user uuid of this asset link.void
setWeight
(int weight) Sets the weight of this asset link.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this asset link.- Specified by:
getPrimaryKey
in 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:
setPrimaryKey
in 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:
getMvccVersion
in 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:
setMvccVersion
in 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:
getCtCollectionId
in 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:
setCtCollectionId
in 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:
getCompanyId
in 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:
setCompanyId
in 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:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
toXmlString
-