|
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 Form| Field 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 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 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 TeamModelpublic void setCompanyId(long companyId)
TeamModel
setCompanyId in interface AuditedModelsetCompanyId in interface TeamModelcompanyId - the company ID of this team@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 team
public String getUserUuid()
throws SystemException
TeamModel
getUserUuid in interface AuditedModelgetUserUuid in interface TeamModelSystemException - if a system exception occurredpublic 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 TeamModelpublic void setCreateDate(Date createDate)
TeamModel
setCreateDate in interface AuditedModelsetCreateDate in interface TeamModelcreateDate - the create date of this team@JSON public Date getModifiedDate()
TeamModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface TeamModelpublic void setModifiedDate(Date modifiedDate)
TeamModel
setModifiedDate in interface AuditedModelsetModifiedDate 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 teampublic 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 contextServiceContext.getExpandoBridgeAttributes(
)public Team toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Team>toEscapedModel in interface TeamModeltoEscapedModel in class BaseModelImpl<Team>AutoEscapeBeanHandlerpublic Team toUnescapedModel()
toUnescapedModel in interface BaseModel<Team>toUnescapedModel in interface TeamModeltoUnescapedModel in class BaseModelImpl<Team>public Object clone()
BaseModel
clone in interface BaseModel<Team>clone 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 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 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||