com.liferay.portlet.asset.model.impl
Class AssetLinkModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
com.liferay.portlet.asset.model.impl.AssetLinkModelImpl
- All Implemented Interfaces:
- com.liferay.asset.kernel.model.AssetLinkModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.asset.kernel.model.AssetLink>
- Direct Known Subclasses:
- AssetLinkBaseImpl
@ProviderType
public class AssetLinkModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
- implements com.liferay.asset.kernel.model.AssetLinkModel
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.
- See Also:
AssetLinkImpl,
AssetLink,
AssetLinkModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.asset.kernel.model.AssetLinkModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
ENTRYID1_COLUMN_BITMASK
public static final long ENTRYID1_COLUMN_BITMASK
- See Also:
- Constant Field Values
ENTRYID2_COLUMN_BITMASK
public static final long ENTRYID2_COLUMN_BITMASK
- See Also:
- Constant Field Values
TYPE_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
- See Also:
- Constant Field Values
WEIGHT_COLUMN_BITMASK
public static final long WEIGHT_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
AssetLinkModelImpl
public AssetLinkModelImpl()
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.asset.kernel.model.AssetLinkModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.asset.kernel.model.AssetLinkModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
getLinkId
public long getLinkId()
- Specified by:
getLinkId in interface com.liferay.asset.kernel.model.AssetLinkModel
setLinkId
public void setLinkId(long linkId)
- Specified by:
setLinkId in interface com.liferay.asset.kernel.model.AssetLinkModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
getUserId
public long getUserId()
- Specified by:
getUserId in interface com.liferay.asset.kernel.model.AssetLinkModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.asset.kernel.model.AssetLinkModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface com.liferay.asset.kernel.model.AssetLinkModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface com.liferay.asset.kernel.model.AssetLinkModel
getUserName
public String getUserName()
- Specified by:
getUserName in interface com.liferay.asset.kernel.model.AssetLinkModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface com.liferay.asset.kernel.model.AssetLinkModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.asset.kernel.model.AssetLinkModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface com.liferay.asset.kernel.model.AssetLinkModel
getEntryId1
public long getEntryId1()
- Specified by:
getEntryId1 in interface com.liferay.asset.kernel.model.AssetLinkModel
setEntryId1
public void setEntryId1(long entryId1)
- Specified by:
setEntryId1 in interface com.liferay.asset.kernel.model.AssetLinkModel
getOriginalEntryId1
public long getOriginalEntryId1()
getEntryId2
public long getEntryId2()
- Specified by:
getEntryId2 in interface com.liferay.asset.kernel.model.AssetLinkModel
setEntryId2
public void setEntryId2(long entryId2)
- Specified by:
setEntryId2 in interface com.liferay.asset.kernel.model.AssetLinkModel
getOriginalEntryId2
public long getOriginalEntryId2()
getType
public int getType()
- Specified by:
getType in interface com.liferay.asset.kernel.model.AssetLinkModel
setType
public void setType(int type)
- Specified by:
setType in interface com.liferay.asset.kernel.model.AssetLinkModel
getOriginalType
public int getOriginalType()
getWeight
public int getWeight()
- Specified by:
getWeight in interface com.liferay.asset.kernel.model.AssetLinkModel
setWeight
public void setWeight(int weight)
- Specified by:
setWeight in interface com.liferay.asset.kernel.model.AssetLinkModel
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
toEscapedModel
public com.liferay.asset.kernel.model.AssetLink toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
compareTo
public int compareTo(com.liferay.asset.kernel.model.AssetLink assetLink)
- Specified by:
compareTo in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
compareTo in interface Comparable<com.liferay.asset.kernel.model.AssetLink>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.asset.kernel.model.AssetLinkModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.asset.kernel.model.AssetLink> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.asset.kernel.model.AssetLink>
toString
public String toString()
- Specified by:
toString in interface com.liferay.asset.kernel.model.AssetLinkModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.asset.kernel.model.AssetLinkModel- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.asset.kernel.model.AssetLink>