|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface AssetLinkModel
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.portlet.asset.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.portlet.asset.model.impl.AssetLinkImpl.
AssetLink,
com.liferay.portlet.asset.model.impl.AssetLinkImpl,
com.liferay.portlet.asset.model.impl.AssetLinkModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetLink assetLink)
|
long |
getCompanyId()
Returns the company ID of this asset link. |
Date |
getCreateDate()
Returns the create date of this asset link. |
long |
getEntryId1()
Returns the entry id1 of this asset link. |
long |
getEntryId2()
Returns the entry id2 of this asset link. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getLinkId()
Returns the link ID of this asset link. |
long |
getPrimaryKey()
Returns the primary key of this asset link. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getType()
Returns the type of this asset link. |
long |
getUserId()
Returns the user ID of this asset link. |
String |
getUserName()
Returns the user name of this asset link. |
String |
getUserUuid()
Returns the user uuid of this asset link. |
int |
getWeight()
Returns the weight of this asset link. |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true 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)
Sets the company ID of this asset link. |
void |
setCreateDate(Date createDate)
Sets the create date 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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)
Sets the link ID of this asset link. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset link. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<AssetLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
AssetLink |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this asset linklong getLinkId()
void setLinkId(long linkId)
linkId - the link ID of this asset linklong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this asset linklong getUserId()
void setUserId(long userId)
userId - the user ID of this asset linkString getUserUuid()
void setUserUuid(String userUuid)
userUuid - the user uuid of this asset link@AutoEscape String getUserName()
void setUserName(String userName)
userName - the user name of this asset linkDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this asset linklong getEntryId1()
void setEntryId1(long entryId1)
entryId1 - the entry id1 of this asset linklong getEntryId2()
void setEntryId2(long entryId2)
entryId2 - the entry id2 of this asset linkint getType()
void setType(int type)
type - the type of this asset linkint getWeight()
void setWeight(int weight)
weight - the weight of this asset linkboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<AssetLink>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<AssetLink>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<AssetLink>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<AssetLink>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<AssetLink>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetLink>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AssetLink>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetLink>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AssetLink>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AssetLink>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetLink>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModel
clone in interface BaseModel<AssetLink>int compareTo(AssetLink assetLink)
compareTo in interface Comparable<AssetLink>int hashCode()
hashCode in class ObjectCacheModel<AssetLink> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AssetLink>AssetLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AssetLink>AutoEscapeBeanHandlerAssetLink toUnescapedModel()
toUnescapedModel in interface BaseModel<AssetLink>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetLink>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||