|
Liferay 6.1.2-ce-ga3 | |||||||||
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) 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 FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED_USERGROUPS_TEAMS
|
static boolean |
FINDER_CACHE_ENABLED_USERS_TEAMS
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static Object[][] |
MAPPING_TABLE_USERGROUPS_TEAMS_COLUMNS
|
static String |
MAPPING_TABLE_USERGROUPS_TEAMS_NAME
|
static String |
MAPPING_TABLE_USERGROUPS_TEAMS_SQL_CREATE
|
static Object[][] |
MAPPING_TABLE_USERS_TEAMS_COLUMNS
|
static String |
MAPPING_TABLE_USERS_TEAMS_NAME
|
static String |
MAPPING_TABLE_USERS_TEAMS_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 String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this team. |
String |
getName()
Returns the name of this team. |
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
Returns the primary key of this team. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
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. |
int |
hashCode()
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date 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. |
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()
|
Team |
toUnescapedModel()
|
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, setNew |
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, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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 long GROUPID_COLUMN_BITMASK
public static long NAME_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 TeamModel
public void setPrimaryKey(long primaryKey)
TeamModel
setPrimaryKey
in interface TeamModel
primaryKey
- the primary key of this teampublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Team>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface TeamModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Team>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface TeamModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 getTeamId()
TeamModel
getTeamId
in interface TeamModel
public void setTeamId(long teamId)
TeamModel
setTeamId
in interface TeamModel
teamId
- the team ID of this team@JSON public long getCompanyId()
TeamModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface TeamModel
public void setCompanyId(long companyId)
TeamModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface TeamModel
companyId
- the company ID of this team@JSON public long getUserId()
TeamModel
getUserId
in interface AuditedModel
getUserId
in interface TeamModel
public void setUserId(long userId)
TeamModel
setUserId
in interface AuditedModel
setUserId
in interface TeamModel
userId
- the user ID of this teampublic String getUserUuid() throws SystemException
TeamModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface TeamModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
TeamModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface TeamModel
userUuid
- the user uuid of this team@JSON public String getUserName()
TeamModel
getUserName
in interface AuditedModel
getUserName
in interface TeamModel
public void setUserName(String userName)
TeamModel
setUserName
in interface AuditedModel
setUserName
in interface TeamModel
userName
- the user name of this team@JSON public Date getCreateDate()
TeamModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface TeamModel
public void setCreateDate(Date createDate)
TeamModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface TeamModel
createDate
- the create date of this team@JSON public Date getModifiedDate()
TeamModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface TeamModel
public void setModifiedDate(Date modifiedDate)
TeamModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface TeamModel
modifiedDate
- the modified date of this team@JSON public long getGroupId()
TeamModel
getGroupId
in interface GroupedModel
getGroupId
in interface TeamModel
public void setGroupId(long groupId)
TeamModel
setGroupId
in interface GroupedModel
setGroupId
in interface TeamModel
groupId
- the group ID of this teampublic long getOriginalGroupId()
@JSON public String getName()
TeamModel
getName
in interface TeamModel
public void setName(String name)
TeamModel
setName
in interface TeamModel
name
- the name of this teampublic String getOriginalName()
@JSON public String getDescription()
TeamModel
getDescription
in interface TeamModel
public void setDescription(String description)
TeamModel
setDescription
in interface TeamModel
description
- the description of this teampublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Team>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface TeamModel
getExpandoBridge
in class BaseModelImpl<Team>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Team>
setExpandoBridgeAttributes
in interface TeamModel
setExpandoBridgeAttributes
in class BaseModelImpl<Team>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Team toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Team>
toEscapedModel
in interface TeamModel
toEscapedModel
in class BaseModelImpl<Team>
AutoEscapeBeanHandler
public Team toUnescapedModel()
toUnescapedModel
in interface BaseModel<Team>
toUnescapedModel
in interface TeamModel
toUnescapedModel
in class BaseModelImpl<Team>
public Object clone()
BaseModel
clone
in interface BaseModel<Team>
clone
in interface TeamModel
clone
in class BaseModelImpl<Team>
public int compareTo(Team team)
compareTo
in interface TeamModel
compareTo
in interface Comparable<Team>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface TeamModel
hashCode
in class Object
public 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 TeamModel
toCacheModel
in class BaseModelImpl<Team>
public String toString()
toString
in interface TeamModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Team>
toXmlString
in interface TeamModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |