com.liferay.portlet.asset.model
Class AssetLinkWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.model.AssetLinkWrapper
All Implemented Interfaces:
BaseModel<AssetLink>, AssetLink, AssetLinkModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AssetLink>

public class AssetLinkWrapper
extends java.lang.Object
implements AssetLink

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for AssetLink.

Author:
Brian Wing Shun Chan
See Also:
AssetLink, Serialized Form
Generated:

Constructor Summary
AssetLinkWrapper(AssetLink assetLink)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(AssetLink assetLink)
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 long getEntryId1()
           
 long getEntryId2()
           
 ExpandoBridge getExpandoBridge()
           
 long getLinkId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int getType()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 int getWeight()
           
 AssetLink getWrappedAssetLink()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setEntryId1(long entryId1)
           
 void setEntryId2(long entryId2)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setLinkId(long linkId)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setType(int type)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 void setWeight(int weight)
           
 AssetLink toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssetLinkWrapper

public AssetLinkWrapper(AssetLink assetLink)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface AssetLinkModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface AssetLinkModel

getLinkId

public long getLinkId()
Specified by:
getLinkId in interface AssetLinkModel

setLinkId

public void setLinkId(long linkId)
Specified by:
setLinkId in interface AssetLinkModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface AssetLinkModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface AssetLinkModel

getUserId

public long getUserId()
Specified by:
getUserId in interface AssetLinkModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface AssetLinkModel

getUserUuid

public java.lang.String getUserUuid()
                             throws SystemException
Specified by:
getUserUuid in interface AssetLinkModel
Throws:
SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface AssetLinkModel

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface AssetLinkModel

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface AssetLinkModel

getCreateDate

public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface AssetLinkModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface AssetLinkModel

getEntryId1

public long getEntryId1()
Specified by:
getEntryId1 in interface AssetLinkModel

setEntryId1

public void setEntryId1(long entryId1)
Specified by:
setEntryId1 in interface AssetLinkModel

getEntryId2

public long getEntryId2()
Specified by:
getEntryId2 in interface AssetLinkModel

setEntryId2

public void setEntryId2(long entryId2)
Specified by:
setEntryId2 in interface AssetLinkModel

getType

public int getType()
Specified by:
getType in interface AssetLinkModel

setType

public void setType(int type)
Specified by:
setType in interface AssetLinkModel

getWeight

public int getWeight()
Specified by:
getWeight in interface AssetLinkModel

setWeight

public void setWeight(int weight)
Specified by:
setWeight in interface AssetLinkModel

toEscapedModel

public AssetLink toEscapedModel()
Specified by:
toEscapedModel in interface AssetLinkModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<AssetLink>
Specified by:
isNew in interface AssetLinkModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<AssetLink>
Specified by:
setNew in interface AssetLinkModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<AssetLink>
Specified by:
isCachedModel in interface AssetLinkModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<AssetLink>
Specified by:
setCachedModel in interface AssetLinkModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<AssetLink>
Specified by:
isEscapedModel in interface AssetLinkModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<AssetLink>
Specified by:
setEscapedModel in interface AssetLinkModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<AssetLink>
Specified by:
getPrimaryKeyObj in interface AssetLinkModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<AssetLink>
Specified by:
getExpandoBridge in interface AssetLinkModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<AssetLink>
Specified by:
setExpandoBridgeAttributes in interface AssetLinkModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<AssetLink>
Specified by:
clone in interface AssetLinkModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(AssetLink assetLink)
Specified by:
compareTo in interface AssetLinkModel
Specified by:
compareTo in interface java.lang.Comparable<AssetLink>

hashCode

public int hashCode()
Specified by:
hashCode in interface AssetLinkModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface AssetLinkModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<AssetLink>
Specified by:
toXmlString in interface AssetLinkModel

getWrappedAssetLink

public AssetLink getWrappedAssetLink()