|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<AssetTag>
com.liferay.portlet.asset.model.impl.AssetTagModelImpl
@JSON(strict=true) @ProviderType public class AssetTagModelImpl
The base model implementation for the AssetTag service. Represents a row in the "AssetTag" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AssetTagModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetTagImpl.
AssetTagImpl,
AssetTag,
AssetTagModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETTAGS
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static Object[][] |
MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_COLUMNS
|
static String |
MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_NAME
|
static String |
MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_SQL_CREATE
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
AssetTagModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetTag assetTag)
|
boolean |
equals(Object obj)
|
int |
getAssetCount()
Returns the asset count of this asset tag. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this asset tag. |
Date |
getCreateDate()
Returns the create date of this asset tag. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this asset tag. |
Date |
getLastPublishDate()
Returns the last publish date of this asset tag. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this asset tag. |
String |
getName()
Returns the name of this asset tag. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this asset tag. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
long |
getTagId()
Returns the tag ID of this asset tag. |
long |
getUserId()
Returns the user ID of this asset tag. |
String |
getUserName()
Returns the user name of this asset tag. |
String |
getUserUuid()
Returns the user uuid of this asset tag. |
String |
getUuid()
Returns the uuid of this asset tag. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAssetCount(int assetCount)
Sets the asset count of this asset tag. |
void |
setCompanyId(long companyId)
Sets the company ID of this asset tag. |
void |
setCreateDate(Date createDate)
Sets the create date of this asset tag. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this asset tag. |
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this asset tag. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset tag. |
void |
setName(String name)
Sets the name of this asset tag. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset tag. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTagId(long tagId)
Sets the tag ID of this asset tag. |
void |
setUserId(long userId)
Sets the user ID of this asset tag. |
void |
setUserName(String userName)
Sets the user name of this asset tag. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset tag. |
void |
setUuid(String uuid)
Sets the uuid of this asset tag. |
CacheModel<AssetTag> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetTag |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static AssetTag |
toModel(AssetTagSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<AssetTag> |
toModels(AssetTagSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.asset.model.AssetTagModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
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 final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_NAME
public static final Object[][] MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_COLUMNS
public static final String MAPPING_TABLE_ASSETENTRIES_ASSETTAGS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_ASSETENTRIES_ASSETTAGS
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public AssetTagModelImpl()
| Method Detail |
|---|
public static AssetTag toModel(AssetTagSoap soapModel)
soapModel - the soap model instance to convert
public static List<AssetTag> toModels(AssetTagSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
AssetTagModel
getPrimaryKey in interface AssetTagModelpublic void setPrimaryKey(long primaryKey)
AssetTagModel
setPrimaryKey in interface AssetTagModelprimaryKey - the primary key of this asset tagpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetTag>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AssetTagModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AssetTag>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AssetTagModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetTag>getModelAttributes in class BaseModelImpl<AssetTag>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AssetTag>setModelAttributes in class BaseModelImpl<AssetTag>@JSON public String getUuid()
AssetTagModel
getUuid in interface StagedModelgetUuid in interface AssetTagModelpublic void setUuid(String uuid)
AssetTagModel
setUuid in interface StagedModelsetUuid in interface AssetTagModeluuid - the uuid of this asset tagpublic String getOriginalUuid()
@JSON public long getTagId()
AssetTagModel
getTagId in interface AssetTagModelpublic void setTagId(long tagId)
AssetTagModel
setTagId in interface AssetTagModeltagId - the tag ID of this asset tag@JSON public long getGroupId()
AssetTagModel
getGroupId in interface GroupedModelgetGroupId in interface AssetTagModelpublic void setGroupId(long groupId)
AssetTagModel
setGroupId in interface GroupedModelsetGroupId in interface AssetTagModelgroupId - the group ID of this asset tagpublic long getOriginalGroupId()
@JSON public long getCompanyId()
AssetTagModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface AssetTagModelpublic void setCompanyId(long companyId)
AssetTagModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface AssetTagModelcompanyId - the company ID of this asset tagpublic long getOriginalCompanyId()
@JSON public long getUserId()
AssetTagModel
getUserId in interface AuditedModelgetUserId in interface AssetTagModelpublic void setUserId(long userId)
AssetTagModel
setUserId in interface AuditedModelsetUserId in interface AssetTagModeluserId - the user ID of this asset tagpublic String getUserUuid()
AssetTagModel
getUserUuid in interface AuditedModelgetUserUuid in interface AssetTagModelpublic void setUserUuid(String userUuid)
AssetTagModel
setUserUuid in interface AuditedModelsetUserUuid in interface AssetTagModeluserUuid - the user uuid of this asset tag@JSON public String getUserName()
AssetTagModel
getUserName in interface AuditedModelgetUserName in interface AssetTagModelpublic void setUserName(String userName)
AssetTagModel
setUserName in interface AuditedModelsetUserName in interface AssetTagModeluserName - the user name of this asset tag@JSON public Date getCreateDate()
AssetTagModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface AssetTagModelpublic void setCreateDate(Date createDate)
AssetTagModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface AssetTagModelcreateDate - the create date of this asset tag@JSON public Date getModifiedDate()
AssetTagModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface AssetTagModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
AssetTagModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface AssetTagModelmodifiedDate - the modified date of this asset tag@JSON public String getName()
AssetTagModel
getName in interface AssetTagModelpublic void setName(String name)
AssetTagModel
setName in interface AssetTagModelname - the name of this asset tagpublic String getOriginalName()
@JSON public int getAssetCount()
AssetTagModel
getAssetCount in interface AssetTagModelpublic void setAssetCount(int assetCount)
AssetTagModel
setAssetCount in interface AssetTagModelassetCount - the asset count of this asset tag@JSON public Date getLastPublishDate()
AssetTagModel
getLastPublishDate in interface StagedGroupedModelgetLastPublishDate in interface AssetTagModelpublic void setLastPublishDate(Date lastPublishDate)
AssetTagModel
setLastPublishDate in interface StagedGroupedModelsetLastPublishDate in interface AssetTagModellastPublishDate - the last publish date of this asset tagpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetTag>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AssetTagModelgetExpandoBridge in class BaseModelImpl<AssetTag>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetTag>setExpandoBridgeAttributes in interface AssetTagModelsetExpandoBridgeAttributes in class BaseModelImpl<AssetTag>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public AssetTag toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AssetTag>toEscapedModel in interface AssetTagModeltoEscapedModel in class BaseModelImpl<AssetTag>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<AssetTag>clone in interface StagedModelclone in interface AssetTagModelclone in class BaseModelImpl<AssetTag>public int compareTo(AssetTag assetTag)
compareTo in interface AssetTagModelcompareTo in interface Comparable<AssetTag>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface AssetTagModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<AssetTag>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<AssetTag>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<AssetTag>resetOriginalValues in class BaseModelImpl<AssetTag>public CacheModel<AssetTag> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AssetTag>toCacheModel in interface AssetTagModeltoCacheModel in class BaseModelImpl<AssetTag>public String toString()
toString in interface AssetTagModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetTag>toXmlString in interface AssetTagModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||