Liferay 6.0.5

com.liferay.portal.model
Class TeamWrapper

java.lang.Object
  extended by com.liferay.portal.model.TeamWrapper
All Implemented Interfaces:
BaseModel<Team>, Team, TeamModel, Serializable, Cloneable, Comparable<Team>

public class TeamWrapper
extends Object
implements Team

This class is a wrapper for Team.

See Also:
Team, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
TeamWrapper(Team team)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Team team)
           
 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 getPrimaryKey()
          Gets the primary key of this team.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 Role getRole()
           
 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.
 Team getWrappedTeam()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 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)
          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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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.
 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

TeamWrapper

public TeamWrapper(Team team)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: TeamModel
Gets the primary key of this team.

Specified by:
getPrimaryKey in interface TeamModel
Returns:
the primary key of this team

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: TeamModel
Sets the primary key of this team

Specified by:
setPrimaryKey in interface TeamModel
Parameters:
pk - the primary key of this team

getTeamId

public long getTeamId()
Description copied from interface: TeamModel
Gets the team id of this team.

Specified by:
getTeamId in interface TeamModel
Returns:
the team id of this team

setTeamId

public void setTeamId(long teamId)
Description copied from interface: TeamModel
Sets the team id of this team.

Specified by:
setTeamId in interface TeamModel
Parameters:
teamId - the team id of this team

getCompanyId

public long getCompanyId()
Description copied from interface: TeamModel
Gets the company id of this team.

Specified by:
getCompanyId in interface TeamModel
Returns:
the company id of this team

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: TeamModel
Sets the company id of this team.

Specified by:
setCompanyId in interface TeamModel
Parameters:
companyId - the company id of this team

getUserId

public long getUserId()
Description copied from interface: TeamModel
Gets the user id of this team.

Specified by:
getUserId in interface TeamModel
Returns:
the user id of this team

setUserId

public void setUserId(long userId)
Description copied from interface: TeamModel
Sets the user id of this team.

Specified by:
setUserId in interface TeamModel
Parameters:
userId - the user id of this team

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: TeamModel
Gets the user uuid of this team.

Specified by:
getUserUuid in interface TeamModel
Returns:
the user uuid of this team
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: TeamModel
Sets the user uuid of this team.

Specified by:
setUserUuid in interface TeamModel
Parameters:
userUuid - the user uuid of this team

getUserName

public String getUserName()
Description copied from interface: TeamModel
Gets the user name of this team.

Specified by:
getUserName in interface TeamModel
Returns:
the user name of this team

setUserName

public void setUserName(String userName)
Description copied from interface: TeamModel
Sets the user name of this team.

Specified by:
setUserName in interface TeamModel
Parameters:
userName - the user name of this team

getCreateDate

public Date getCreateDate()
Description copied from interface: TeamModel
Gets the create date of this team.

Specified by:
getCreateDate in interface TeamModel
Returns:
the create date of this team

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: TeamModel
Sets the create date of this team.

Specified by:
setCreateDate in interface TeamModel
Parameters:
createDate - the create date of this team

getModifiedDate

public Date getModifiedDate()
Description copied from interface: TeamModel
Gets the modified date of this team.

Specified by:
getModifiedDate in interface TeamModel
Returns:
the modified date of this team

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: TeamModel
Sets the modified date of this team.

Specified by:
setModifiedDate in interface TeamModel
Parameters:
modifiedDate - the modified date of this team

getGroupId

public long getGroupId()
Description copied from interface: TeamModel
Gets the group id of this team.

Specified by:
getGroupId in interface TeamModel
Returns:
the group id of this team

setGroupId

public void setGroupId(long groupId)
Description copied from interface: TeamModel
Sets the group id of this team.

Specified by:
setGroupId in interface TeamModel
Parameters:
groupId - the group id of this team

getName

public String getName()
Description copied from interface: TeamModel
Gets the name of this team.

Specified by:
getName in interface TeamModel
Returns:
the name of this team

setName

public void setName(String name)
Description copied from interface: TeamModel
Sets the name of this team.

Specified by:
setName in interface TeamModel
Parameters:
name - the name of this team

getDescription

public String getDescription()
Description copied from interface: TeamModel
Gets the description of this team.

Specified by:
getDescription in interface TeamModel
Returns:
the description of this team

setDescription

public void setDescription(String description)
Description copied from interface: TeamModel
Sets the description of this team.

Specified by:
setDescription in interface TeamModel
Parameters:
description - the description of this team

toEscapedModel

public Team toEscapedModel()
Description copied from interface: TeamModel
Gets a copy of this team as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface TeamModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<Team>
Specified by:
isNew in interface TeamModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<Team>
Specified by:
setNew in interface TeamModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<Team>
Specified by:
isCachedModel in interface TeamModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<Team>
Specified by:
setCachedModel in interface TeamModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<Team>
Specified by:
isEscapedModel in interface TeamModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<Team>
Specified by:
setEscapedModel in interface TeamModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Team>
Specified by:
getPrimaryKeyObj in interface TeamModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Team>
Specified by:
getExpandoBridge in interface TeamModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Team>
Specified by:
setExpandoBridgeAttributes in interface TeamModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Team>
Specified by:
clone in interface TeamModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Team team)
Specified by:
compareTo in interface TeamModel
Specified by:
compareTo in interface Comparable<Team>

hashCode

public int hashCode()
Specified by:
hashCode in interface TeamModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface TeamModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Team>
Specified by:
toXmlString in interface TeamModel
Returns:
the XML representation of this model instance

getRole

public Role getRole()
             throws PortalException,
                    SystemException
Specified by:
getRole in interface Team
Throws:
PortalException
SystemException

getWrappedTeam

public Team getWrappedTeam()

Liferay 6.0.5