|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
.
AssetLinkImpl
,
AssetLink
,
AssetLinkModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static long |
ENTRYID1_COLUMN_BITMASK
|
static long |
ENTRYID2_COLUMN_BITMASK
|
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
|
static long |
TYPE_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
AssetLinkModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetLink assetLink)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalEntryId1()
|
long |
getOriginalEntryId2()
|
int |
getOriginalType()
|
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()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long ENTRYID1_COLUMN_BITMASK
public static long ENTRYID2_COLUMN_BITMASK
public static long TYPE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public AssetLinkModelImpl()
Method Detail |
---|
public long getPrimaryKey()
AssetLinkModel
getPrimaryKey
in interface AssetLinkModel
public void setPrimaryKey(long primaryKey)
AssetLinkModel
setPrimaryKey
in interface AssetLinkModel
primaryKey
- the primary key of this asset linkpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetLink>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AssetLinkModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetLink>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AssetLinkModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AssetLink>
getModelAttributes
in class BaseModelImpl<AssetLink>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetLink>
setModelAttributes
in class BaseModelImpl<AssetLink>
public long getLinkId()
AssetLinkModel
getLinkId
in interface AssetLinkModel
public void setLinkId(long linkId)
AssetLinkModel
setLinkId
in interface AssetLinkModel
linkId
- the link ID of this asset linkpublic long getCompanyId()
AssetLinkModel
getCompanyId
in interface AssetLinkModel
public void setCompanyId(long companyId)
AssetLinkModel
setCompanyId
in interface AssetLinkModel
companyId
- the company ID of this asset linkpublic long getUserId()
AssetLinkModel
getUserId
in interface AssetLinkModel
public void setUserId(long userId)
AssetLinkModel
setUserId
in interface AssetLinkModel
userId
- the user ID of this asset linkpublic String getUserUuid() throws SystemException
AssetLinkModel
getUserUuid
in interface AssetLinkModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AssetLinkModel
setUserUuid
in interface AssetLinkModel
userUuid
- the user uuid of this asset linkpublic String getUserName()
AssetLinkModel
getUserName
in interface AssetLinkModel
public void setUserName(String userName)
AssetLinkModel
setUserName
in interface AssetLinkModel
userName
- the user name of this asset linkpublic Date getCreateDate()
AssetLinkModel
getCreateDate
in interface AssetLinkModel
public void setCreateDate(Date createDate)
AssetLinkModel
setCreateDate
in interface AssetLinkModel
createDate
- the create date of this asset linkpublic long getEntryId1()
AssetLinkModel
getEntryId1
in interface AssetLinkModel
public void setEntryId1(long entryId1)
AssetLinkModel
setEntryId1
in interface AssetLinkModel
entryId1
- the entry id1 of this asset linkpublic long getOriginalEntryId1()
public long getEntryId2()
AssetLinkModel
getEntryId2
in interface AssetLinkModel
public void setEntryId2(long entryId2)
AssetLinkModel
setEntryId2
in interface AssetLinkModel
entryId2
- the entry id2 of this asset linkpublic long getOriginalEntryId2()
public int getType()
AssetLinkModel
getType
in interface AssetLinkModel
public void setType(int type)
AssetLinkModel
setType
in interface AssetLinkModel
type
- the type of this asset linkpublic int getOriginalType()
public int getWeight()
AssetLinkModel
getWeight
in interface AssetLinkModel
public void setWeight(int weight)
AssetLinkModel
setWeight
in interface AssetLinkModel
weight
- the weight of this asset linkpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetLink>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetLinkModel
getExpandoBridge
in class BaseModelImpl<AssetLink>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetLink>
setExpandoBridgeAttributes
in interface AssetLinkModel
setExpandoBridgeAttributes
in class BaseModelImpl<AssetLink>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public AssetLink toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetLink>
toEscapedModel
in interface AssetLinkModel
toEscapedModel
in class BaseModelImpl<AssetLink>
AutoEscapeBeanHandler
public AssetLink toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetLink>
toUnescapedModel
in interface AssetLinkModel
toUnescapedModel
in class BaseModelImpl<AssetLink>
public Object clone()
BaseModel
clone
in interface BaseModel<AssetLink>
clone
in interface AssetLinkModel
clone
in class BaseModelImpl<AssetLink>
public int compareTo(AssetLink assetLink)
compareTo
in interface AssetLinkModel
compareTo
in interface Comparable<AssetLink>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AssetLinkModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetLink>
resetOriginalValues
in class BaseModelImpl<AssetLink>
public CacheModel<AssetLink> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetLink>
toCacheModel
in interface AssetLinkModel
toCacheModel
in class BaseModelImpl<AssetLink>
public String toString()
toString
in interface AssetLinkModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetLink>
toXmlString
in interface AssetLinkModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |