Package com.liferay.portal.kernel.model
Class ListTypeWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListType>
com.liferay.portal.kernel.model.ListTypeWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<ListType>
,ClassedModel
,ListType
,ListTypeModel
,ModelWrapper<ListType>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,Serializable
,Cloneable
,Comparable<ListType>
public class ListTypeWrapper
extends BaseModelWrapper<ListType>
implements ListType, ModelWrapper<ListType>
This class is a wrapper for ListType
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.ListType
LIST_TYPE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this list type.Returns the create date of this list type.long
Returns the list type ID of this list type.Returns the modified date of this list type.long
Returns the mvcc version of this list type.getName()
Returns the name of this list type.long
Returns the primary key of this list type.getType()
Returns the type of this list type.long
Returns the user ID of this list type.Returns the user name of this list type.Returns the user uuid of this list type.getUuid()
Returns the uuid of this list type.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this list type.void
setCreateDate
(Date createDate) Sets the create date of this list type.void
setListTypeId
(long listTypeId) Sets the list type ID of this list type.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this list type.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this list type.void
Sets the name of this list type.void
setPrimaryKey
(long primaryKey) Sets the primary key of this list type.void
Sets the type of this list type.void
setUserId
(long userId) Sets the user ID of this list type.void
setUserName
(String userName) Sets the user name of this list type.void
setUserUuid
(String userUuid) Sets the user uuid of this list type.void
Sets the uuid of this list type.protected ListTypeWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
ListTypeWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<ListType>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<ListType>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ListType>
- Specified by:
cloneWithOriginalValues
in interfaceListTypeModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this list type.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceListTypeModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this list type
-
getCreateDate
Returns the create date of this list type.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceListTypeModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this list type
-
getListTypeId
public long getListTypeId()Returns the list type ID of this list type.- Specified by:
getListTypeId
in interfaceListTypeModel
- Returns:
- the list type ID of this list type
-
getModifiedDate
Returns the modified date of this list type.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceListTypeModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this list type
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this list type.- Specified by:
getMvccVersion
in interfaceListTypeModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this list type
-
getName
Returns the name of this list type.- Specified by:
getName
in interfaceListTypeModel
- Returns:
- the name of this list type
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this list type.- Specified by:
getPrimaryKey
in interfaceListTypeModel
- Returns:
- the primary key of this list type
-
getType
Returns the type of this list type.- Specified by:
getType
in interfaceListTypeModel
- Returns:
- the type of this list type
-
getUserId
public long getUserId()Returns the user ID of this list type.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceListTypeModel
- Returns:
- the user ID of this list type
-
getUserName
Returns the user name of this list type.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceListTypeModel
- Returns:
- the user name of this list type
-
getUserUuid
Returns the user uuid of this list type.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceListTypeModel
- Returns:
- the user uuid of this list type
-
getUuid
Returns the uuid of this list type.- Specified by:
getUuid
in interfaceListTypeModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this list type
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this list type.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceListTypeModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this list type
-
setCreateDate
Sets the create date of this list type.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceListTypeModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this list type
-
setListTypeId
public void setListTypeId(long listTypeId) Sets the list type ID of this list type.- Specified by:
setListTypeId
in interfaceListTypeModel
- Parameters:
listTypeId
- the list type ID of this list type
-
setModifiedDate
Sets the modified date of this list type.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceListTypeModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this list type
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this list type.- Specified by:
setMvccVersion
in interfaceListTypeModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this list type
-
setName
Sets the name of this list type.- Specified by:
setName
in interfaceListTypeModel
- Parameters:
name
- the name of this list type
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this list type.- Specified by:
setPrimaryKey
in interfaceListTypeModel
- Parameters:
primaryKey
- the primary key of this list type
-
setType
Sets the type of this list type.- Specified by:
setType
in interfaceListTypeModel
- Parameters:
type
- the type of this list type
-
setUserId
public void setUserId(long userId) Sets the user ID of this list type.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceListTypeModel
- Parameters:
userId
- the user ID of this list type
-
setUserName
Sets the user name of this list type.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceListTypeModel
- Parameters:
userName
- the user name of this list type
-
setUserUuid
Sets the user uuid of this list type.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceListTypeModel
- Parameters:
userUuid
- the user uuid of this list type
-
setUuid
Sets the uuid of this list type.- Specified by:
setUuid
in interfaceListTypeModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this list type
-
toXmlString
- Specified by:
toXmlString
in interfaceListTypeModel
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<ListType>
-