|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.TeamWrapper
public class TeamWrapper
This class is a wrapper for Team.
Team,
Serialized Form| Constructor Summary | |
|---|---|
TeamWrapper(Team team)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Team team)
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
Date |
getModifiedDate()
|
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
Role |
getRole()
|
long |
getTeamId()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
Team |
getWrappedTeam()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setDescription(String description)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setTeamId(long teamId)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
Team |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TeamWrapper(Team team)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface TeamModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface TeamModelpublic long getTeamId()
getTeamId in interface TeamModelpublic void setTeamId(long teamId)
setTeamId in interface TeamModelpublic long getCompanyId()
getCompanyId in interface TeamModelpublic void setCompanyId(long companyId)
setCompanyId in interface TeamModelpublic long getUserId()
getUserId in interface TeamModelpublic void setUserId(long userId)
setUserId in interface TeamModel
public String getUserUuid()
throws SystemException
getUserUuid in interface TeamModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface TeamModelpublic String getUserName()
getUserName in interface TeamModelpublic void setUserName(String userName)
setUserName in interface TeamModelpublic Date getCreateDate()
getCreateDate in interface TeamModelpublic void setCreateDate(Date createDate)
setCreateDate in interface TeamModelpublic Date getModifiedDate()
getModifiedDate in interface TeamModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface TeamModelpublic long getGroupId()
getGroupId in interface TeamModelpublic void setGroupId(long groupId)
setGroupId in interface TeamModelpublic String getName()
getName in interface TeamModelpublic void setName(String name)
setName in interface TeamModelpublic String getDescription()
getDescription in interface TeamModelpublic void setDescription(String description)
setDescription in interface TeamModelpublic Team toEscapedModel()
toEscapedModel in interface TeamModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Team>isNew in interface TeamModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Team>setNew in interface TeamModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Team>isCachedModel in interface TeamModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Team>setCachedModel in interface TeamModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Team>isEscapedModel in interface TeamModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Team>setEscapedModel in interface TeamModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Team>getPrimaryKeyObj in interface TeamModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Team>getExpandoBridge in interface TeamModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Team>setExpandoBridgeAttributes in interface TeamModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Team>clone in interface TeamModelclone in class Objectpublic int compareTo(Team team)
compareTo in interface TeamModelcompareTo in interface Comparable<Team>public int hashCode()
hashCode in interface TeamModelhashCode in class Objectpublic String toString()
toString in interface TeamModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Team>toXmlString in interface TeamModel
public Role getRole()
throws PortalException,
SystemException
getRole in interface TeamPortalException
SystemExceptionpublic Team getWrappedTeam()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||