wt.team
Interface TeamServiceSvr

All Known Implementing Classes:
StandardTeamService

public interface TeamServiceSvr

These methods are can only be invoked from classes running in the server.

Supported API: false

Extendable: false

See Also:
TeamServerHelper

Method Summary
 List createTeams(Collection collection, WTKeyedMap phaseTemplates)
          Creates a new Team based off the roleholder.
 TeamManaged doReteam(TeamManaged object, TeamTemplateReference teamTempRef)
          Associate the object with a new team

Supported API: false
 WTPrincipalReference resolveActorRole(ActorRole actorRole, Persistable object)
          Given an actorRole and an object, resolve the actor role to a principal

Supported API: false
 List resolveLCRoles(WTList list, WTKeyedMap phaseTemplates)
          This API resolved the lifecycle roles for the current phase of the lifecycle.
 TeamManaged validateReteam(TeamManaged object, TeamTemplateReference teamTempRef)
          Perform pre-team validations

Supported API: false
 

Method Detail

doReteam

public TeamManaged doReteam(TeamManaged object,
                            TeamTemplateReference teamTempRef)
                     throws WTException,
                            TeamException
Associate the object with a new team

Supported API: false

Parameters:
object - the TeamManaged object to be re-teamed
teamTempRef -
Returns:
TeamManaged
Throws:
WTException
TeamException

validateReteam

public TeamManaged validateReteam(TeamManaged object,
                                  TeamTemplateReference teamTempRef)
                           throws WTException,
                                  TeamException
Perform pre-team validations

Supported API: false

Parameters:
object - theTeamManaged object that should be re-teamed.
teamTempRef -
Returns:
TeamManaged
Throws:
WTException
TeamException

resolveActorRole

public WTPrincipalReference resolveActorRole(ActorRole actorRole,
                                             Persistable object)
                                      throws WTException
Given an actorRole and an object, resolve the actor role to a principal

Supported API: false

Parameters:
actorRole - the ActorRole to be resolved
object - the object that is used to lookup a principal for the ActorRole
Returns:
WTPrincipalReference
Throws:
WTException

createTeams

public List createTeams(Collection collection,
                        WTKeyedMap phaseTemplates)
                 throws WTException
Creates a new Team based off the roleholder. The out of the box roleholders are Team Template, Team and Container Team. A WTKeyedMap is returned with the objects as the key with the objects TeamReference as the value. This is used by the StandardLifeCycleService. This API should NOTbe used outside of the StandardLifeCycleService.

Supported API: false

Parameters:
collection - A collection of a collection of objects that need a team. A new team will be created for each object in the collection. This sub collections should be a collection of Persistables.
phaseTemplates -
Returns:
List
Throws:
WTException

resolveLCRoles

public List resolveLCRoles(WTList list,
                           WTKeyedMap phaseTemplates)
                    throws WTException
This API resolved the lifecycle roles for the current phase of the lifecycle. This API should only be used by the StandardLifeCycleService.

Supported API: false

Parameters:
list - This is a WTList of objects whoose team needs to be updated.
phaseTemplates - This is a map of the phaseTemplates to the objects in the list.
Returns:
List
Throws:
WTException