wt.inf.team
Class ContainerTeamHelper

java.lang.Object
  extended by wt.inf.team.ContainerTeamHelper

public class ContainerTeamHelper
extends Object

Selects the MyPageQueryables specified by the ContainerSpec

Supported API: true

Extendable: false


Method Summary
static Role getDefaultRole()
          

Supported API: true
static CompositeQuerySpec getMembershipQueries(wt.inf.container.ContainerSpec containerSpec)
          This is the API to be used to get a list of containers for a particular user.
static ContainerTeamManaged setAllowUserToConfigureAccess(ContainerTeamManaged container, boolean allowUserToConfigureAccess)
          

Supported API: true
static ContainerTeamManaged setContainerTeam(ContainerTeamManaged object, ContainerTeam containerTeam)
          Set the ContainerTeam of the ContainerTeamManaged object..
static ContainerTeamManaged setContainerTeam(ContainerTeamManaged object, wt.inf.team.ContainerTeamReference ctRef)
          Set the ContainerTeam of the ContainerTeamManaged object.
static ContainerTeamManaged setSendInvitations(ContainerTeamManaged container, boolean sendInvitations)
          

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setContainerTeam

public static ContainerTeamManaged setContainerTeam(ContainerTeamManaged object,
                                                    ContainerTeam containerTeam)
                                             throws WTException,
                                                    WTPropertyVetoException
Set the ContainerTeam of the ContainerTeamManaged object.. If the object is already persisted, this method will throw an exception.

Supported API: true

Parameters:
object - the ContainerTeamManaged object whose containerTeam will be set
containerTeam - the containerTeam to be set on the ContainerTeamManaged object.
Returns:
ContainerTeamManaged
Throws:
WTException
WTPropertyVetoException

setContainerTeam

public static ContainerTeamManaged setContainerTeam(ContainerTeamManaged object,
                                                    wt.inf.team.ContainerTeamReference ctRef)
                                             throws WTException,
                                                    WTPropertyVetoException
Set the ContainerTeam of the ContainerTeamManaged object. If the object is already persisted, this method will throw an exception.

Supported API: true

Parameters:
object - the ContainerTeamManaged object whose container team should be set
ctRef - the ContainerTeamReference of the ContainerTeam that should be set on the ContainerTeamManaged object.
Returns:
ContainerTeamManaged
Throws:
WTException
WTPropertyVetoException

setSendInvitations

public static ContainerTeamManaged setSendInvitations(ContainerTeamManaged container,
                                                      boolean sendInvitations)
                                               throws WTException,
                                                      WTPropertyVetoException


Supported API: true

Parameters:
container - the ContainerTeamManaged object whose containerTeam will be set
sendInvitations - the containerTeam to be set on the ContainerTeamManaged object.
Returns:
ContainerTeamManaged
Throws:
WTException
WTPropertyVetoException

setAllowUserToConfigureAccess

public static ContainerTeamManaged setAllowUserToConfigureAccess(ContainerTeamManaged container,
                                                                 boolean allowUserToConfigureAccess)
                                                          throws WTException,
                                                                 WTPropertyVetoException


Supported API: true

Parameters:
container -
allowUserToConfigureAccess -
Returns:
ContainerTeamManaged
Throws:
WTException
WTPropertyVetoException

getDefaultRole

public static Role getDefaultRole()


Supported API: true

Returns:
Role

getMembershipQueries

public static CompositeQuerySpec getMembershipQueries(wt.inf.container.ContainerSpec containerSpec)
                                               throws WTException
This is the API to be used to get a list of containers for a particular user. The other API is deprecated and would be removed at some point.

Supported API: true

Parameters:
containerSpec -
Returns:
CompositeQuerySpec
Throws:
WTException