wt.inf.team
Interface ContainerTeamServiceSvr

All Known Implementing Classes:
StandardContainerTeamService

public interface ContainerTeamServiceSvr



Supported API: true

Extendable: false


Method Summary
 Enumeration findRoles(ContainerTeamReference containerTeamReference, WTPrincipal principal)
          Find all the roles which this principal is a member of in the container team.
 Enumeration findUsers(ContainerTeamManaged container)
          

Supported API: true
 void fixInternalOrgGroups(WTUser user)
          Given a WTUser object this API will 'fix' the internal Org groups.
 boolean isConfirmedParticipant(ContainerTeamManaged container, WTUser user)
          Given a WTUser and a WTContainer return true/false - whether that user is a confirmed participant in that particular container.
 boolean isMember(ContainerTeamManaged container, WTUser user)
          Given a WTUser and Container, return whether that user is a member of the container's team.
 

Method Detail

isConfirmedParticipant

public boolean isConfirmedParticipant(ContainerTeamManaged container,
                                      WTUser user)
                               throws WTException
Given a WTUser and a WTContainer return true/false - whether that user is a confirmed participant in that particular container.

Supported API: false

Parameters:
container - The container of interest.
user - The WTUser of interest.
Returns:
boolean
Throws:
WTException

findRoles

public Enumeration findRoles(ContainerTeamReference containerTeamReference,
                             WTPrincipal principal)
                      throws WTException
Find all the roles which this principal is a member of in the container team.

Supported API: false

Parameters:
containerTeamReference - The container to search for the user's roles.
principal - The principal to search for membership in roles.
Returns:
Enumeration
Throws:
WTException

isMember

public boolean isMember(ContainerTeamManaged container,
                        WTUser user)
                 throws WTException
Given a WTUser and Container, return whether that user is a member of the container's team.

Supported API: true

Parameters:
container - The container to search for membership of user.
user - The user to determine membership of.
Returns:
boolean
Throws:
WTException

findUsers

public Enumeration findUsers(ContainerTeamManaged container)
                      throws WTException


Supported API: true

Parameters:
container -
Returns:
Enumeration
Throws:
WTException

fixInternalOrgGroups

public void fixInternalOrgGroups(WTUser user)
                          throws WTException
Given a WTUser object this API will 'fix' the internal Org groups. The user will be removed from any existing org groups and added to the 'correct' one (based on the current user's o= attribute setting). .

Supported API: true

Parameters:
user -
Throws:
WTException