Package com.liferay.asset.link.model
Class AssetLinkWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetLink>
com.liferay.asset.link.model.AssetLinkWrapper
- All Implemented Interfaces:
AssetLink,AssetLinkModel,com.liferay.portal.kernel.model.BaseModel<AssetLink>,com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ModelWrapper<AssetLink>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,Serializable,Cloneable,Comparable<AssetLink>
public class AssetLinkWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetLink>
implements AssetLink, com.liferay.portal.kernel.model.ModelWrapper<AssetLink>
This class is a wrapper for AssetLink.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.asset.link.model.AssetLink
ENTRY_ID2_ACCESSOR, LINK_ID_ACCESSOR -
Constructor Summary
Constructors -
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.voidpersist()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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected AssetLinkWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
AssetLinkWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceAssetLinkModel- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
getCompanyId
public long getCompanyId()Returns the company ID of this asset link.- Specified by:
getCompanyIdin interfaceAssetLinkModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this asset link
-
getCreateDate
Returns the create date of this asset link.- Specified by:
getCreateDatein interfaceAssetLinkModel- Returns:
- the create date of this asset link
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this asset link.- Specified by:
getCtCollectionIdin interfaceAssetLinkModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Returns:
- the ct collection ID of this asset link
-
getEntryId1
public long getEntryId1()Returns the entry id1 of this asset link.- Specified by:
getEntryId1in interfaceAssetLinkModel- Returns:
- the entry id1 of this asset link
-
getEntryId2
public long getEntryId2()Returns the entry id2 of this asset link.- Specified by:
getEntryId2in interfaceAssetLinkModel- Returns:
- the entry id2 of this asset link
-
getLinkId
public long getLinkId()Returns the link ID of this asset link.- Specified by:
getLinkIdin interfaceAssetLinkModel- Returns:
- the link ID of this asset link
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this asset link.- Specified by:
getMvccVersionin interfaceAssetLinkModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this asset link
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this asset link.- Specified by:
getPrimaryKeyin interfaceAssetLinkModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Returns:
- the primary key of this asset link
-
getType
public int getType()Returns the type of this asset link.- Specified by:
getTypein interfaceAssetLinkModel- Returns:
- the type of this asset link
-
getUserId
public long getUserId()Returns the user ID of this asset link.- Specified by:
getUserIdin interfaceAssetLinkModel- Returns:
- the user ID of this asset link
-
getUserName
Returns the user name of this asset link.- Specified by:
getUserNamein interfaceAssetLinkModel- Returns:
- the user name of this asset link
-
getUserUuid
Returns the user uuid of this asset link.- Specified by:
getUserUuidin interfaceAssetLinkModel- Returns:
- the user uuid of this asset link
-
getWeight
public int getWeight()Returns the weight of this asset link.- Specified by:
getWeightin interfaceAssetLinkModel- Returns:
- the weight of this asset link
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this asset link.- Specified by:
setCompanyIdin interfaceAssetLinkModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this asset link
-
setCreateDate
Sets the create date of this asset link.- Specified by:
setCreateDatein interfaceAssetLinkModel- Parameters:
createDate- the create date of this asset link
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this asset link.- Specified by:
setCtCollectionIdin interfaceAssetLinkModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Parameters:
ctCollectionId- the ct collection ID of this asset link
-
setEntryId1
public void setEntryId1(long entryId1) Sets the entry id1 of this asset link.- Specified by:
setEntryId1in interfaceAssetLinkModel- Parameters:
entryId1- the entry id1 of this asset link
-
setEntryId2
public void setEntryId2(long entryId2) Sets the entry id2 of this asset link.- Specified by:
setEntryId2in interfaceAssetLinkModel- Parameters:
entryId2- the entry id2 of this asset link
-
setLinkId
public void setLinkId(long linkId) Sets the link ID of this asset link.- Specified by:
setLinkIdin interfaceAssetLinkModel- Parameters:
linkId- the link ID of this asset link
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this asset link.- Specified by:
setMvccVersionin interfaceAssetLinkModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this asset link
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this asset link.- Specified by:
setPrimaryKeyin interfaceAssetLinkModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>- Parameters:
primaryKey- the primary key of this asset link
-
setType
public void setType(int type) Sets the type of this asset link.- Specified by:
setTypein interfaceAssetLinkModel- Parameters:
type- the type of this asset link
-
setUserId
public void setUserId(long userId) Sets the user ID of this asset link.- Specified by:
setUserIdin interfaceAssetLinkModel- Parameters:
userId- the user ID of this asset link
-
setUserName
Sets the user name of this asset link.- Specified by:
setUserNamein interfaceAssetLinkModel- Parameters:
userName- the user name of this asset link
-
setUserUuid
Sets the user uuid of this asset link.- Specified by:
setUserUuidin interfaceAssetLinkModel- Parameters:
userUuid- the user uuid of this asset link
-
setWeight
public void setWeight(int weight) Sets the weight of this asset link.- Specified by:
setWeightin interfaceAssetLinkModel- Parameters:
weight- the weight of this asset link
-
toXmlString
- Specified by:
toXmlStringin interfaceAssetLinkModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetLink>
-