Package wt.team
Class TeamHelper
java.lang.Object
wt.team.TeamHelper
- All Implemented Interfaces:
Externalizable,Serializable
TeamHelper provides client invokable meethods to team services. These
methods are executed on the client side.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TeamManagedsetTeam(TeamManaged object, Team team) Set the team of the TeamManaged object.static TeamManagedsetTeam(TeamManaged object, TeamReference teamRef) Set the team of the TeamManaged object.static TeamManagedsetTeamTemplate(TeamManaged object, TeamTemplate teamTemplate) Set the team template of the TeamManaged object.static TeamManagedsetTeamTemplate(TeamManaged object, TeamTemplateReference teamTemplateRef) Set the team template of the TeamManaged object.
-
Field Details
-
service
Supported API: true
-
-
Method Details
-
setTeam
public static TeamManaged setTeam(TeamManaged object, Team team) throws 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 setteam- the team to be set on the TeamManaged object.- Returns:
- TeamManaged
- Throws:
TeamExceptionWTPropertyVetoException
-
setTeam
public static TeamManaged setTeam(TeamManaged object, TeamReference teamRef) throws WTException, 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 setteamRef- the TeamReference of the team that should be set on the TeamManaged object.- Returns:
- TeamManaged
- Throws:
WTExceptionTeamExceptionWTPropertyVetoException
-
setTeamTemplate
public static TeamManaged setTeamTemplate(TeamManaged object, TeamTemplate teamTemplate) throws 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 setteamTemplate- the teamTemplate to be set on the TeamManaged object.- Returns:
- TeamManaged
- Throws:
TeamExceptionWTPropertyVetoException
-
setTeamTemplate
public static TeamManaged setTeamTemplate(TeamManaged object, TeamTemplateReference teamTemplateRef) throws WTException, 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 setteamTemplateRef- the TeamTemplateReference of the team that should be set on the TeamManaged object.- Returns:
- TeamManaged
- Throws:
WTExceptionTeamExceptionWTPropertyVetoException
-