Package com.liferay.portal.kernel.model
Class TeamWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Team>
com.liferay.portal.kernel.model.TeamWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<Team>
,CTModel<Team>
,ClassedModel
,GroupedModel
,ModelWrapper<Team>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedGroupedModel
,StagedModel
,Team
,TeamModel
,Serializable
,Cloneable
,Comparable<Team>
This class is a wrapper for Team
.
- 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.Team
NAME_ACCESSOR, TEAM_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this team.Returns the create date of this team.long
Returns the ct collection ID of this team.Returns the description of this team.long
Returns the group ID of this team.Returns the last publish date of this team.Returns the modified date of this team.long
Returns the mvcc version of this team.getName()
Returns the name of this team.long
Returns the primary key of this team.getRole()
long
Returns the team ID of this team.long
Returns the user ID of this team.Returns the user name of this team.Returns the user uuid of this team.getUuid()
Returns the uuid of this team.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 team.void
setCreateDate
(Date createDate) Sets the create date of this team.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this team.void
setDescription
(String description) Sets the description of this team.void
setGroupId
(long groupId) Sets the group ID of this team.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this team.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this team.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this team.void
Sets the name of this team.void
setPrimaryKey
(long primaryKey) Sets the primary key of this team.void
setTeamId
(long teamId) Sets the team ID of this team.void
setUserId
(long userId) Sets the user ID of this team.void
setUserName
(String userName) Sets the user name of this team.void
setUserUuid
(String userUuid) Sets the user uuid of this team.void
Sets the uuid of this team.protected TeamWrapper
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, 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
-
TeamWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Team>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Team>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Team>
- Specified by:
cloneWithOriginalValues
in interfaceTeamModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this team.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Specified by:
getCompanyId
in interfaceTeamModel
- Returns:
- the company ID of this team
-
getCreateDate
Returns the create date of this team.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Specified by:
getCreateDate
in interfaceTeamModel
- Returns:
- the create date of this team
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this team.- Specified by:
getCtCollectionId
in interfaceCTModel<Team>
- Specified by:
getCtCollectionId
in interfaceTeamModel
- Returns:
- the ct collection ID of this team
-
getDescription
Returns the description of this team.- Specified by:
getDescription
in interfaceTeamModel
- Returns:
- the description of this team
-
getGroupId
public long getGroupId()Returns the group ID of this team.- Specified by:
getGroupId
in interfaceGroupedModel
- Specified by:
getGroupId
in interfaceTeamModel
- Returns:
- the group ID of this team
-
getLastPublishDate
Returns the last publish date of this team.- Specified by:
getLastPublishDate
in interfaceStagedGroupedModel
- Specified by:
getLastPublishDate
in interfaceTeamModel
- Returns:
- the last publish date of this team
-
getModifiedDate
Returns the modified date of this team.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Specified by:
getModifiedDate
in interfaceTeamModel
- Returns:
- the modified date of this team
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this team.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceTeamModel
- Returns:
- the mvcc version of this team
-
getName
Returns the name of this team. -
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this team.- Specified by:
getPrimaryKey
in interfaceCTModel<Team>
- Specified by:
getPrimaryKey
in interfaceTeamModel
- Returns:
- the primary key of this team
-
getRole
- Specified by:
getRole
in interfaceTeam
- Throws:
PortalException
-
getTeamId
public long getTeamId()Returns the team ID of this team. -
getUserId
public long getUserId()Returns the user ID of this team.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceTeamModel
- Returns:
- the user ID of this team
-
getUserName
Returns the user name of this team.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceTeamModel
- Returns:
- the user name of this team
-
getUserUuid
Returns the user uuid of this team.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceTeamModel
- Returns:
- the user uuid of this team
-
getUuid
Returns the uuid of this team.- Specified by:
getUuid
in interfaceStagedModel
- Specified by:
getUuid
in interfaceTeamModel
- Returns:
- the uuid of this team
-
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 team.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Specified by:
setCompanyId
in interfaceTeamModel
- Parameters:
companyId
- the company ID of this team
-
setCreateDate
Sets the create date of this team.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Specified by:
setCreateDate
in interfaceTeamModel
- Parameters:
createDate
- the create date of this team
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this team.- Specified by:
setCtCollectionId
in interfaceCTModel<Team>
- Specified by:
setCtCollectionId
in interfaceTeamModel
- Parameters:
ctCollectionId
- the ct collection ID of this team
-
setDescription
Sets the description of this team.- Specified by:
setDescription
in interfaceTeamModel
- Parameters:
description
- the description of this team
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this team.- Specified by:
setGroupId
in interfaceGroupedModel
- Specified by:
setGroupId
in interfaceTeamModel
- Parameters:
groupId
- the group ID of this team
-
setLastPublishDate
Sets the last publish date of this team.- Specified by:
setLastPublishDate
in interfaceStagedGroupedModel
- Specified by:
setLastPublishDate
in interfaceTeamModel
- Parameters:
lastPublishDate
- the last publish date of this team
-
setModifiedDate
Sets the modified date of this team.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Specified by:
setModifiedDate
in interfaceTeamModel
- Parameters:
modifiedDate
- the modified date of this team
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this team.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceTeamModel
- Parameters:
mvccVersion
- the mvcc version of this team
-
setName
Sets the name of this team. -
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this team.- Specified by:
setPrimaryKey
in interfaceCTModel<Team>
- Specified by:
setPrimaryKey
in interfaceTeamModel
- Parameters:
primaryKey
- the primary key of this team
-
setTeamId
public void setTeamId(long teamId) Sets the team ID of this team. -
setUserId
public void setUserId(long userId) Sets the user ID of this team.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceTeamModel
- Parameters:
userId
- the user ID of this team
-
setUserName
Sets the user name of this team.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceTeamModel
- Parameters:
userName
- the user name of this team
-
setUserUuid
Sets the user uuid of this team.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceTeamModel
- Parameters:
userUuid
- the user uuid of this team
-
setUuid
Sets the uuid of this team.- Specified by:
setUuid
in interfaceStagedModel
- Specified by:
setUuid
in interfaceTeamModel
- Parameters:
uuid
- the uuid of this team
-
toXmlString
- Specified by:
toXmlString
in interfaceTeamModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<Team>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<Team>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Team>
-