|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<Team> com.liferay.portal.model.impl.TeamModelImpl
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
.
Never modify or reference this class directly. All methods that expect a team model instance should use the Team
interface instead.
TeamImpl
,
Team
,
TeamModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED_USERS_TEAMS
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
MAPPING_TABLE_USERS_TEAMS_NAME
|
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 |
getCompanyId()
Gets the company id of this team. |
Date |
getCreateDate()
Gets the create date of this team. |
String |
getDescription()
Gets the description of this team. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this team. |
Date |
getModifiedDate()
Gets the modified date of this team. |
String |
getName()
Gets the name of this team. |
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
Gets the primary key of this team. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTeamId()
Gets the team id of this team. |
long |
getUserId()
Gets the user id of this team. |
String |
getUserName()
Gets the user name of this team. |
String |
getUserUuid()
Gets the user uuid of this team. |
int |
hashCode()
|
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date of this team. |
void |
setName(String name)
Sets the name of this team. |
void |
setPrimaryKey(long pk)
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. |
Team |
toEscapedModel()
Gets a copy of this team 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()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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 String MAPPING_TABLE_USERS_TEAMS_NAME
public static final boolean FINDER_CACHE_ENABLED_USERS_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 pk)
TeamModel
setPrimaryKey
in interface TeamModel
pk
- the primary key of this teampublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Team>
getPrimaryKeyObj
in interface TeamModel
public long getTeamId()
TeamModel
getTeamId
in interface TeamModel
public void setTeamId(long teamId)
TeamModel
setTeamId
in interface TeamModel
teamId
- the team id of this teampublic long getCompanyId()
TeamModel
getCompanyId
in interface TeamModel
public void setCompanyId(long companyId)
TeamModel
setCompanyId
in interface TeamModel
companyId
- the company id of this teampublic long getUserId()
TeamModel
getUserId
in interface TeamModel
public void setUserId(long userId)
TeamModel
setUserId
in interface TeamModel
userId
- the user id of this teampublic String getUserUuid() throws SystemException
TeamModel
getUserUuid
in interface TeamModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
TeamModel
setUserUuid
in interface TeamModel
userUuid
- the user uuid of this teampublic String getUserName()
TeamModel
getUserName
in interface TeamModel
public void setUserName(String userName)
TeamModel
setUserName
in interface TeamModel
userName
- the user name of this teampublic Date getCreateDate()
TeamModel
getCreateDate
in interface TeamModel
public void setCreateDate(Date createDate)
TeamModel
setCreateDate
in interface TeamModel
createDate
- the create date of this teampublic Date getModifiedDate()
TeamModel
getModifiedDate
in interface TeamModel
public void setModifiedDate(Date modifiedDate)
TeamModel
setModifiedDate
in interface TeamModel
modifiedDate
- the modified date of this teampublic long getGroupId()
TeamModel
getGroupId
in interface TeamModel
public void setGroupId(long groupId)
TeamModel
setGroupId
in interface TeamModel
groupId
- the group id of this teampublic long getOriginalGroupId()
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()
public String getDescription()
TeamModel
getDescription
in interface TeamModel
public void setDescription(String description)
TeamModel
setDescription
in interface TeamModel
description
- the description of this teampublic Team toEscapedModel()
TeamModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface TeamModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Team>
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 context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
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 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.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |