Package wt.inf.team
Class ContainerTeamHelper
java.lang.Object
wt.inf.team.ContainerTeamHelper
Selects the
Supported API: true
Extendable: false
MyPageQueryables specified by the ContainerSpec
Supported API: true
Extendable: false
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Supported API: truestatic final String
Supported API: truestatic final String
Supported API: truestatic final String
Supported API: truestatic final String
Supported API: truestatic final ContainerTeamService
Supported API: truestatic final String
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionstatic Role
Supported API: truestatic StatementSpecgetMembershipQueries(ContainerSpec containerSpec, int select_state) This is the API to be used to get a list of containers for a particular user.static ContainerTeamManagedsetAllowUserToConfigureAccess(ContainerTeamManaged container, boolean allowUserToConfigureAccess)
Supported API: truestatic ContainerTeamManagedsetContainerTeam(ContainerTeamManaged object, ContainerTeam containerTeam) Set the ContainerTeam of the ContainerTeamManaged object..static ContainerTeamManagedsetContainerTeam(ContainerTeamManaged object, ContainerTeamReference ctRef) Set the ContainerTeam of the ContainerTeamManaged object.static ContainerTeamManagedsetSendInvitations(ContainerTeamManaged container, boolean sendInvitations)
Supported API: truestatic booleanReturn the value of the property: wt.inf.team.useOrgGroups This property will determine whether the "orgs" group and associated "_ORG" groups will be used in container teams.
-
Field Details
-
ROLE_GROUPS
Supported API: true- See Also:
-
ORG_GROUPS
Supported API: true- See Also:
-
GUEST
Supported API: true- See Also:
-
INVITED
Supported API: true- See Also:
-
TEAM_MEMBERS
Supported API: true- See Also:
-
PENDING_USERS
Supported API: true- See Also:
-
service
Supported API: true
-
-
Method Details
-
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 setcontainerTeam- the containerTeam to be set on the ContainerTeamManaged object.- Returns:
- ContainerTeamManaged
- Throws:
WTExceptionWTPropertyVetoException
-
setContainerTeam
public static ContainerTeamManaged setContainerTeam(ContainerTeamManaged object, 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 setctRef- the ContainerTeamReference of the ContainerTeam that should be set on the ContainerTeamManaged object.- Returns:
- ContainerTeamManaged
- Throws:
WTExceptionWTPropertyVetoException
-
setSendInvitations
public static ContainerTeamManaged setSendInvitations(ContainerTeamManaged container, boolean sendInvitations) throws WTException, WTPropertyVetoException
Supported API: true- Parameters:
container- the ContainerTeamManaged object whose containerTeam will be setsendInvitations- the containerTeam to be set on the ContainerTeamManaged object.- Returns:
- ContainerTeamManaged
- Throws:
WTExceptionWTPropertyVetoException
-
setAllowUserToConfigureAccess
public static ContainerTeamManaged setAllowUserToConfigureAccess(ContainerTeamManaged container, boolean allowUserToConfigureAccess) throws WTException, WTPropertyVetoException
Supported API: true- Parameters:
container-allowUserToConfigureAccess-- Returns:
- ContainerTeamManaged
- Throws:
WTExceptionWTPropertyVetoException
-
getDefaultRole
Supported API: true- Returns:
- Role
-
getMembershipQueries
public static StatementSpec getMembershipQueries(ContainerSpec containerSpec, int select_state) throws WTException This is the API to be used to get a list of containers for a particular user.
Supported API: true- Parameters:
containerSpec-select_state-- Returns:
- StatementSpec
- Throws:
WTException
-
useOrgGroups
public static boolean useOrgGroups()Return the value of the property: wt.inf.team.useOrgGroups This property will determine whether the "orgs" group and associated "_ORG" groups will be used in container teams.
Supported API: true- Returns:
-