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
model
Fields inherited from interface com.liferay.asset.link.model.AssetLink
ENTRY_ID2_ACCESSOR, LINK_ID_ACCESSOR
-
Constructor Summary
Constructors -
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
persist()
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
setModelAttributes
(Map<String, Object> attributes) 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.protected AssetLinkWrapper
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
-
Constructor Details
-
AssetLinkWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAssetLinkModel
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
getCompanyId
public long getCompanyId()Returns the company ID of this asset link.- Specified by:
getCompanyId
in interfaceAssetLinkModel
- Specified by:
getCompanyId
in 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:
getCreateDate
in interfaceAssetLinkModel
- Returns:
- the create date of this asset link
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this asset link.- Specified by:
getCtCollectionId
in interfaceAssetLinkModel
- Specified by:
getCtCollectionId
in 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:
getEntryId1
in interfaceAssetLinkModel
- Returns:
- the entry id1 of this asset link
-
getEntryId2
public long getEntryId2()Returns the entry id2 of this asset link.- Specified by:
getEntryId2
in interfaceAssetLinkModel
- Returns:
- the entry id2 of this asset link
-
getLinkId
public long getLinkId()Returns the link ID of this asset link.- Specified by:
getLinkId
in interfaceAssetLinkModel
- Returns:
- the link ID of this asset link
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this asset link.- Specified by:
getMvccVersion
in interfaceAssetLinkModel
- Specified by:
getMvccVersion
in 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:
getPrimaryKey
in interfaceAssetLinkModel
- Specified by:
getPrimaryKey
in 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:
getType
in interfaceAssetLinkModel
- Returns:
- the type of this asset link
-
getUserId
public long getUserId()Returns the user ID of this asset link.- Specified by:
getUserId
in interfaceAssetLinkModel
- Returns:
- the user ID of this asset link
-
getUserName
Returns the user name of this asset link.- Specified by:
getUserName
in interfaceAssetLinkModel
- Returns:
- the user name of this asset link
-
getUserUuid
Returns the user uuid of this asset link.- Specified by:
getUserUuid
in interfaceAssetLinkModel
- Returns:
- the user uuid of this asset link
-
getWeight
public int getWeight()Returns the weight of this asset link.- Specified by:
getWeight
in interfaceAssetLinkModel
- Returns:
- the weight of this asset link
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this asset link.- Specified by:
setCompanyId
in interfaceAssetLinkModel
- Specified by:
setCompanyId
in 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:
setCreateDate
in 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:
setCtCollectionId
in interfaceAssetLinkModel
- Specified by:
setCtCollectionId
in 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:
setEntryId1
in 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:
setEntryId2
in 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:
setLinkId
in 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:
setMvccVersion
in interfaceAssetLinkModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceAssetLinkModel
- Specified by:
setPrimaryKey
in 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:
setType
in 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:
setUserId
in interfaceAssetLinkModel
- Parameters:
userId
- the user ID of this asset link
-
setUserName
Sets the user name of this asset link.- Specified by:
setUserName
in interfaceAssetLinkModel
- Parameters:
userName
- the user name of this asset link
-
setUserUuid
Sets the user uuid of this asset link.- Specified by:
setUserUuid
in 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:
setWeight
in interfaceAssetLinkModel
- Parameters:
weight
- the weight of this asset link
-
toXmlString
- Specified by:
toXmlString
in interfaceAssetLinkModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<AssetLink>
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetLink>
-