|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.model.AssetLinkWrapper
public class AssetLinkWrapper
This class is a wrapper for AssetLink.
AssetLink,
Serialized Form| Constructor Summary | |
|---|---|
AssetLinkWrapper(AssetLink assetLink)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetLink assetLink)
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
long |
getEntryId1()
|
long |
getEntryId2()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getLinkId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
int |
getType()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
int |
getWeight()
|
AssetLink |
getWrappedAssetLink()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEntryId1(long entryId1)
|
void |
setEntryId2(long entryId2)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setLinkId(long linkId)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setType(int type)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setWeight(int weight)
|
AssetLink |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssetLinkWrapper(AssetLink assetLink)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface AssetLinkModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface AssetLinkModelpublic long getLinkId()
getLinkId in interface AssetLinkModelpublic void setLinkId(long linkId)
setLinkId in interface AssetLinkModelpublic long getCompanyId()
getCompanyId in interface AssetLinkModelpublic void setCompanyId(long companyId)
setCompanyId in interface AssetLinkModelpublic long getUserId()
getUserId in interface AssetLinkModelpublic void setUserId(long userId)
setUserId in interface AssetLinkModel
public String getUserUuid()
throws SystemException
getUserUuid in interface AssetLinkModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface AssetLinkModelpublic String getUserName()
getUserName in interface AssetLinkModelpublic void setUserName(String userName)
setUserName in interface AssetLinkModelpublic Date getCreateDate()
getCreateDate in interface AssetLinkModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AssetLinkModelpublic long getEntryId1()
getEntryId1 in interface AssetLinkModelpublic void setEntryId1(long entryId1)
setEntryId1 in interface AssetLinkModelpublic long getEntryId2()
getEntryId2 in interface AssetLinkModelpublic void setEntryId2(long entryId2)
setEntryId2 in interface AssetLinkModelpublic int getType()
getType in interface AssetLinkModelpublic void setType(int type)
setType in interface AssetLinkModelpublic int getWeight()
getWeight in interface AssetLinkModelpublic void setWeight(int weight)
setWeight in interface AssetLinkModelpublic AssetLink toEscapedModel()
toEscapedModel in interface AssetLinkModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<AssetLink>isNew in interface AssetLinkModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<AssetLink>setNew in interface AssetLinkModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<AssetLink>isCachedModel in interface AssetLinkModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<AssetLink>setCachedModel in interface AssetLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<AssetLink>isEscapedModel in interface AssetLinkModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<AssetLink>setEscapedModel in interface AssetLinkModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetLink>getPrimaryKeyObj in interface AssetLinkModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetLink>getExpandoBridge in interface AssetLinkModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetLink>setExpandoBridgeAttributes in interface AssetLinkModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<AssetLink>clone in interface AssetLinkModelclone in class Objectpublic int compareTo(AssetLink assetLink)
compareTo in interface AssetLinkModelcompareTo in interface Comparable<AssetLink>public int hashCode()
hashCode in interface AssetLinkModelhashCode in class Objectpublic String toString()
toString in interface AssetLinkModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetLink>toXmlString in interface AssetLinkModelpublic AssetLink getWrappedAssetLink()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||