|
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<Team>
com.liferay.portal.model.impl.TeamModelImpl
@JSON(strict=true) @ProviderType public class TeamModelImpl
The base model implementation for the Team service. Represents a row in the "Team" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface TeamModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in TeamImpl.
TeamImpl,
Team,
TeamModel,
Serialized Form| Constructor Summary | |
|---|---|
TeamModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Team team)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this team. |
Date |
getCreateDate()
Returns the create date of this team. |
String |
getDescription()
Returns the description of this team. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this team. |
Date |
getLastPublishDate()
Returns the last publish date of this team. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this team. |
long |
getMvccVersion()
Returns the mvcc version of this team. |
String |
getName()
Returns the name of this team. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this team. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
long |
getTeamId()
Returns the team ID of this team. |
long |
getUserId()
Returns the user ID of this team. |
String |
getUserName()
Returns the user name of this team. |
String |
getUserUuid()
Returns the user uuid of this team. |
String |
getUuid()
Returns the uuid of this team. |
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 |
setCompanyId(long companyId)
Sets the company ID of this team. |
void |
setCreateDate(Date createDate)
Sets the create date of this team. |
void |
setDescription(String description)
Sets the description of this team. |
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 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 |
setName(String name)
Sets the name of this team. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this team. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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 |
setUuid(String uuid)
Sets the uuid of this team. |
CacheModel<Team> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Team |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Team |
toModel(TeamSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Team> |
toModels(TeamSoap[] 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.portal.model.TeamModel |
|---|
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_USERS_TEAMS_NAME
public static final Object[][] MAPPING_TABLE_USERS_TEAMS_COLUMNS
public static final String MAPPING_TABLE_USERS_TEAMS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_TEAMS
public static final String MAPPING_TABLE_USERGROUPS_TEAMS_NAME
public static final Object[][] MAPPING_TABLE_USERGROUPS_TEAMS_COLUMNS
public static final String MAPPING_TABLE_USERGROUPS_TEAMS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERGROUPS_TEAMS
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public TeamModelImpl()
| Method Detail |
|---|
public static Team toModel(TeamSoap soapModel)
soapModel - the soap model instance to convert
public static List<Team> toModels(TeamSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
TeamModel
getPrimaryKey in interface TeamModelpublic void setPrimaryKey(long primaryKey)
TeamModel
setPrimaryKey in interface TeamModelprimaryKey - the primary key of this teampublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Team>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TeamModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Team>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface TeamModelprimaryKeyObj - 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<Team>getModelAttributes in class BaseModelImpl<Team>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Team>setModelAttributes in class BaseModelImpl<Team>@JSON public long getMvccVersion()
TeamModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface TeamModelpublic void setMvccVersion(long mvccVersion)
TeamModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface TeamModelmvccVersion - the mvcc version of this team@JSON public String getUuid()
TeamModel
getUuid in interface StagedModelgetUuid in interface TeamModelpublic void setUuid(String uuid)
TeamModel
setUuid in interface StagedModelsetUuid in interface TeamModeluuid - the uuid of this teampublic String getOriginalUuid()
@JSON public long getTeamId()
TeamModel
getTeamId in interface TeamModelpublic void setTeamId(long teamId)
TeamModel
setTeamId in interface TeamModelteamId - the team ID of this team@JSON public long getCompanyId()
TeamModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface TeamModelpublic void setCompanyId(long companyId)
TeamModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface TeamModelcompanyId - the company ID of this teampublic long getOriginalCompanyId()
@JSON public long getUserId()
TeamModel
getUserId in interface AuditedModelgetUserId in interface TeamModelpublic void setUserId(long userId)
TeamModel
setUserId in interface AuditedModelsetUserId in interface TeamModeluserId - the user ID of this teampublic String getUserUuid()
TeamModel
getUserUuid in interface AuditedModelgetUserUuid in interface TeamModelpublic void setUserUuid(String userUuid)
TeamModel
setUserUuid in interface AuditedModelsetUserUuid in interface TeamModeluserUuid - the user uuid of this team@JSON public String getUserName()
TeamModel
getUserName in interface AuditedModelgetUserName in interface TeamModelpublic void setUserName(String userName)
TeamModel
setUserName in interface AuditedModelsetUserName in interface TeamModeluserName - the user name of this team@JSON public Date getCreateDate()
TeamModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface TeamModelpublic void setCreateDate(Date createDate)
TeamModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface TeamModelcreateDate - the create date of this team@JSON public Date getModifiedDate()
TeamModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface TeamModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
TeamModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface TeamModelmodifiedDate - the modified date of this team@JSON public long getGroupId()
TeamModel
getGroupId in interface GroupedModelgetGroupId in interface TeamModelpublic void setGroupId(long groupId)
TeamModel
setGroupId in interface GroupedModelsetGroupId in interface TeamModelgroupId - the group ID of this teampublic long getOriginalGroupId()
@JSON public String getName()
TeamModel
getName in interface TeamModelpublic void setName(String name)
TeamModel
setName in interface TeamModelname - the name of this teampublic String getOriginalName()
@JSON public String getDescription()
TeamModel
getDescription in interface TeamModelpublic void setDescription(String description)
TeamModel
setDescription in interface TeamModeldescription - the description of this team@JSON public Date getLastPublishDate()
TeamModel
getLastPublishDate in interface StagedGroupedModelgetLastPublishDate in interface TeamModelpublic void setLastPublishDate(Date lastPublishDate)
TeamModel
setLastPublishDate in interface StagedGroupedModelsetLastPublishDate in interface TeamModellastPublishDate - the last publish date of this teampublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Team>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface TeamModelgetExpandoBridge in class BaseModelImpl<Team>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Team>setExpandoBridgeAttributes in interface TeamModelsetExpandoBridgeAttributes in class BaseModelImpl<Team>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public Team toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Team>toEscapedModel in interface TeamModeltoEscapedModel in class BaseModelImpl<Team>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Team>clone in interface StagedModelclone in interface TeamModelclone in class BaseModelImpl<Team>public int compareTo(Team team)
compareTo in interface TeamModelcompareTo in interface Comparable<Team>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface TeamModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Team>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<Team>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Team>resetOriginalValues in class BaseModelImpl<Team>public CacheModel<Team> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Team>toCacheModel in interface TeamModeltoCacheModel in class BaseModelImpl<Team>public String toString()
toString in interface TeamModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Team>toXmlString in interface TeamModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||