wt.team
Class TeamHelper

java.lang.Object
  extended by wt.team.TeamHelper
All Implemented Interfaces:
Externalizable, Serializable

public class TeamHelper
extends Object
implements Externalizable

TeamHelper provides client invokable meethods to team services. These methods are executed on the client side.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static TeamService service
          

Supported API: true
 
Method Summary
static wt.team.TeamManaged setTeam(wt.team.TeamManaged object, wt.team.Team team)
          Set the team of the TeamManaged object.
static wt.team.TeamManaged setTeam(wt.team.TeamManaged object, wt.team.TeamReference teamRef)
          Set the team of the TeamManaged object.
static wt.team.TeamManaged setTeamTemplate(wt.team.TeamManaged object, wt.team.TeamTemplate teamTemplate)
          Set the team template of the TeamManaged object.
static wt.team.TeamManaged setTeamTemplate(wt.team.TeamManaged object, wt.team.TeamTemplateReference teamTemplateRef)
          Set the team template of the TeamManaged object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

public static final TeamService service


Supported API: true

Method Detail

setTeam

public static wt.team.TeamManaged setTeam(wt.team.TeamManaged object,
                                          wt.team.Team team)
                                   throws wt.team.TeamException,
                                          WTPropertyVetoException
Set the team of the TeamManaged object. If the object is already persisted, this method will throw an exception.

Supported API: true

Parameters:
object - the TeamManaged object whose team will be set
team - the team to be set on the TeamManaged object.
Returns:
TeamManaged
Throws:
wt.team.TeamException
WTPropertyVetoException

setTeam

public static wt.team.TeamManaged setTeam(wt.team.TeamManaged object,
                                          wt.team.TeamReference teamRef)
                                   throws WTException,
                                          wt.team.TeamException,
                                          WTPropertyVetoException
Set the team of the TeamManaged object. If the object is already persisted, this method will throw an exception.

Supported API: true

Parameters:
object - the TeamManaged object whose team should be set
teamRef - the TeamReference of the team that should be set on the TeamManaged object.
Returns:
TeamManaged
Throws:
WTException
wt.team.TeamException
WTPropertyVetoException

setTeamTemplate

public static wt.team.TeamManaged setTeamTemplate(wt.team.TeamManaged object,
                                                  wt.team.TeamTemplate teamTemplate)
                                           throws wt.team.TeamException,
                                                  WTPropertyVetoException
Set the team template of the TeamManaged object. If the object is already persisted, this method will throw an exception.

Supported API: true

Parameters:
object - the TeamManaged object whose team will be set
teamTemplate - the teamTemplate to be set on the TeamManaged object.
Returns:
TeamManaged
Throws:
wt.team.TeamException
WTPropertyVetoException

setTeamTemplate

public static wt.team.TeamManaged setTeamTemplate(wt.team.TeamManaged object,
                                                  wt.team.TeamTemplateReference teamTemplateRef)
                                           throws WTException,
                                                  wt.team.TeamException,
                                                  WTPropertyVetoException
Set the team template of the TeamManaged object. If the object is already persisted, this method will throw an exception.

Supported API: true

Parameters:
object - the TeamManaged object whose team should be set
teamTemplateRef - the TeamTemplateReference of the team that should be set on the TeamManaged object.
Returns:
TeamManaged
Throws:
WTException
wt.team.TeamException
WTPropertyVetoException