|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<AssetLink>
com.liferay.portlet.asset.model.impl.AssetLinkModelImpl
public class AssetLinkModelImpl
The base model implementation for the AssetLink service. Represents a row in the "AssetLink" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AssetLinkModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetLinkImpl.
Never modify or reference this class directly. All methods that expect a asset link model instance should use the AssetLink interface instead.
AssetLinkImpl,
AssetLink,
AssetLinkModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
AssetLinkModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetLink assetLink)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Gets the company id of this asset link. |
Date |
getCreateDate()
Gets the create date of this asset link. |
long |
getEntryId1()
Gets the entry id1 of this asset link. |
long |
getEntryId2()
Gets the entry id2 of this asset link. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getLinkId()
Gets the link id of this asset link. |
long |
getPrimaryKey()
Gets the primary key of this asset link. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getType()
Gets the type of this asset link. |
long |
getUserId()
Gets the user id of this asset link. |
String |
getUserName()
Gets the user name of this asset link. |
String |
getUserUuid()
Gets the user uuid of this asset link. |
int |
getWeight()
Gets the weight of this asset link. |
int |
hashCode()
|
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(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 |
setPrimaryKey(long pk)
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. |
AssetLink |
toEscapedModel()
Gets a copy of this asset link as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.asset.model.AssetLinkModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public AssetLinkModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
AssetLinkModel
getPrimaryKey in interface AssetLinkModelpublic void setPrimaryKey(long pk)
AssetLinkModel
setPrimaryKey in interface AssetLinkModelpk - the primary key of this asset linkpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetLink>getPrimaryKeyObj in interface AssetLinkModelpublic long getLinkId()
AssetLinkModel
getLinkId in interface AssetLinkModelpublic void setLinkId(long linkId)
AssetLinkModel
setLinkId in interface AssetLinkModellinkId - the link id of this asset linkpublic long getCompanyId()
AssetLinkModel
getCompanyId in interface AssetLinkModelpublic void setCompanyId(long companyId)
AssetLinkModel
setCompanyId in interface AssetLinkModelcompanyId - the company id of this asset linkpublic long getUserId()
AssetLinkModel
getUserId in interface AssetLinkModelpublic void setUserId(long userId)
AssetLinkModel
setUserId in interface AssetLinkModeluserId - the user id of this asset link
public String getUserUuid()
throws SystemException
AssetLinkModel
getUserUuid in interface AssetLinkModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AssetLinkModel
setUserUuid in interface AssetLinkModeluserUuid - the user uuid of this asset linkpublic String getUserName()
AssetLinkModel
getUserName in interface AssetLinkModelpublic void setUserName(String userName)
AssetLinkModel
setUserName in interface AssetLinkModeluserName - the user name of this asset linkpublic Date getCreateDate()
AssetLinkModel
getCreateDate in interface AssetLinkModelpublic void setCreateDate(Date createDate)
AssetLinkModel
setCreateDate in interface AssetLinkModelcreateDate - the create date of this asset linkpublic long getEntryId1()
AssetLinkModel
getEntryId1 in interface AssetLinkModelpublic void setEntryId1(long entryId1)
AssetLinkModel
setEntryId1 in interface AssetLinkModelentryId1 - the entry id1 of this asset linkpublic long getEntryId2()
AssetLinkModel
getEntryId2 in interface AssetLinkModelpublic void setEntryId2(long entryId2)
AssetLinkModel
setEntryId2 in interface AssetLinkModelentryId2 - the entry id2 of this asset linkpublic int getType()
AssetLinkModel
getType in interface AssetLinkModelpublic void setType(int type)
AssetLinkModel
setType in interface AssetLinkModeltype - the type of this asset linkpublic int getWeight()
AssetLinkModel
getWeight in interface AssetLinkModelpublic void setWeight(int weight)
AssetLinkModel
setWeight in interface AssetLinkModelweight - the weight of this asset linkpublic AssetLink toEscapedModel()
AssetLinkModelAutoEscapeBeanHandler.
toEscapedModel in interface AssetLinkModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetLink>getExpandoBridge in interface AssetLinkModelgetExpandoBridge in class BaseModelImpl<AssetLink>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetLink>setExpandoBridgeAttributes in interface AssetLinkModelsetExpandoBridgeAttributes in class BaseModelImpl<AssetLink>serviceContext - 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 BaseModelImpl<AssetLink>public int compareTo(AssetLink assetLink)
compareTo in interface AssetLinkModelcompareTo in interface Comparable<AssetLink>public boolean equals(Object obj)
equals in class Objectpublic 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 AssetLinkModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||