|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TeamService
TeamService provides client invokable methods to team services. These
methods are executed on the server side.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
addRoleActorRoleMap(Role role,
wt.project.ActorRole actor,
WTActorRoleHolder2 roleHolder)
Add a role to actor role assignment to the roleholder Supported API: true |
void |
addRolePoolMap(Role role,
WTObject pool,
WTRoleHolder2 roleHolder)
Add a role to pooll assignment to the roleholder If the WTPrincinpal is not enabled, this action will be ignored. |
void |
addRolePrincipalMap(Role role,
WTPrincipal principal,
WTRoleHolder2 roleHolder)
Add a role to principal assignment to the roleholder If the WTPrincinpal is not enabled, this action will be ignored. |
void |
addRoleRoleMap(Role leftRole,
Role rightRole,
wt.team.WTIndirectRoleHolder2 roleHolder)
Add a role to role assignment to the roleholder Supported API: true |
void |
augmentRoles(wt.lifecycle.LifeCycleManaged object,
wt.team.TeamReference team)
Given a LifeCycleManaged object and a TeamReference, change the role participants to reflect those in the RoleHolder2 and dynamically update the participants of all Workflow Processes associated to the TeamReference. |
wt.team.Team |
copyTeam(wt.team.Team team,
String copyName,
AdminDomainRef domain,
boolean persist)
Produces a copy of the Team object with the name passed as argument. |
wt.team.TeamTemplate |
copyTeamTemplate(wt.team.TeamTemplate aTeamTemplate,
String copyName,
String folderLocation,
boolean persist)
Produces a copy of the TeamTemplate object with the name passed as argument. |
wt.team.TeamTemplate |
copyTeamTemplate(WTContainerRef containerRef,
wt.team.TeamTemplate aTeamTemplate,
String copyName,
String folderLocation,
boolean persist)
Produces a copy of the TeamTemplate object with the name passed as argument. |
wt.team.TeamReference |
createTeam(WTRoleHolder2 roleHolder,
String teamName,
Persistable object)
Creates a new Team based off the roleholder. |
WTList |
createTeams(WTList objects,
List names,
WTRoleHolder2 roleHolder)
This api allows multiple teams to be created at one time for different objects. |
wt.team.TeamTemplateReference |
createTeamTemplate(WTContainerRef containerRef,
String teamTemplateName,
String location,
String description,
TeamCategory category,
boolean enabled)
Creates a new Team based off the Team Template. |
void |
deleteRole(Role role,
WTRoleHolder2 roleHolder)
Remove all occurances of a Role object from the role holde Supported API: true |
void |
deleteRoleActorRoleMap(Role role,
wt.project.ActorRole actor,
WTActorRoleHolder2 roleHolder)
Remove a role to actor role assignment from the roleholder. |
void |
deleteRolePoolMap(Role role,
WTObject pool,
WTRoleHolder2 roleHolder)
Remove a role to pool assignment from the roleholder Supported API: true |
void |
deleteRolePrincipalMap(Role role,
WTPrincipal principal,
WTRoleHolder2 roleHolder)
Remove a role to principal assignment from the roleholder Supported API: true |
void |
deleteRoleRoleMap(Role leftRole,
Role rightRole,
wt.team.WTIndirectRoleHolder2 roleHolder)
Remove a role to role assignment from the roleholder Supported API: true |
Vector |
findCandidateTeamDistributionLists()
Answer a vector of teamDistributionList references that are enabled Supported API: true |
Vector |
findCandidateTeamDistributionLists(AdminDomainRef domainRef)
Answer a vector of teamDistributionList references that are enabled. |
Vector |
findCandidateTeamDistributionLists(WTContainerRef containerRef)
Answer a vector of teamDistributionList references that are enabled Supported API: true |
Vector |
findCandidateTeamDistributionLists(WTContainerRef containerRef,
AdminDomainRef domainRef)
Answer a vector of teamDistributionList references that are enabled. |
Vector |
findCandidateTeams()
Deprecated. @ R7.0. |
Vector |
findCandidateTeamTemplates()
Answer a vector of teamTemplate references that the team managed object can be assigned to Supported API: true |
Vector |
findCandidateTeamTemplates(AdminDomainRef domainRef)
Answer a vector of teamTemplate references that the team managed object can be assigned to. |
Vector |
findCandidateTeamTemplates(WTContainerRef containerRef)
Answer a vector of teamTemplate references that the team managed object can be assigned to Supported API: true |
Vector |
findCandidateTeamTemplates(WTContainerRef containerRef,
AdminDomainRef domainRef)
Answer a vector of teamTemplate references that the team managed object can be assigned to Supported API: true |
QueryResult |
findRoleActorRoleMap(Role role,
wt.project.ActorRole actor,
WTRoleHolder2 roleHolder)
Based on the input parameters, return a QueryResult of RoleActorRoleMap objects Supported API: true |
QueryResult |
findRolePoolMap(Role role,
WTObject pool,
WTRoleHolder2 roleHolder)
Based on the input parameters, return a QueryResult of RolePoolMap objects Supported API: true |
QueryResult |
findRolePrincipalMap(Role role,
WTPrincipal principal,
WTRoleHolder2 roleHolder)
Based on the input parameters, return a QueryResult of RolePrincipalMap objects Supported API: true |
QueryResult |
findRoleRoleMap(Role leftRole,
Role rightRole,
WTRoleHolder2 roleHolder)
Based on the input parameters, return a QueryResult of RoleRoleMap objects Supported API: true |
Vector |
findRoles(WTRoleHolder2 roleHolder)
Return an enumeration of all roles in the WTRoleHolder2 Supported API: true |
Vector |
findTeams()
Deprecated. @R.70. |
Vector |
findTeamTemplates()
Answer a vector of TeamTemplateReferences for all team templates that match the input parameters, including the disabled ones Supported API: true |
Vector |
findTeamTemplates(WTContainerRef containerRef)
Answer a vector of TeamTemplateReferences for all team templates that match the input parameters, including the disabled ones Supported API: true |
Vector |
findTeamTemplates(WTContainerRef containerRef,
boolean keepFiltered)
Answer a vector of TeamTemplateReferences for all team templates that match the input parameters, including the disabled ones. |
wt.team.TeamTemplate |
getEnabledTeamTemplate(WTContainerRef containerRef,
String teamTemplateIdentity)
Given the name or the identity of a TeamTemplate, find the enabled TeamTemplate object. |
Vector |
getMembers(RoleHolder2 roleHolder)
Answer a vector of WTPrincipalReference of all members of a team object (Team, TeamTemplate or DistributionList) Supported API: true |
wt.team.Team |
getTeam(wt.team.TeamManaged object)
Given a TeamManaged object, answer the assigned Team Supported API: true |
wt.team.TeamDistributionList |
getTeamDistributionList(WTContainerRef containerRef,
AdministrativeDomain adminDomain,
String teamDistributionListName)
Returns the team distribution list based on the parameters passed in. |
wt.team.TeamTemplate |
getTeamTemplate(wt.team.TeamManaged object)
Given a TeamManaged object, answer the assigned TeamTemplate Supported API: true |
wt.team.TeamTemplate |
getTeamTemplate(WTContainerRef containerRef,
AdministrativeDomain adminDomain,
String teamTemplateName)
Finds a team template as specified by the input parameters. |
Vector |
getTeamTemplateNames(WTContainerRef containerRef)
Retrieve an unsorted Vector of TeamTemplate names as strings. |
Vector |
getTeamTemplates()
Answer a vector of teamTemplate references for all team templates including the disabled ones Supported API: true |
Vector |
getTeamTemplates(WTContainerRef containerRef)
Answer a vector of teamTemplate references for all team templates including the disabled ones Supported API: true |
Vector |
getTeamTemplates(WTContainerRef containerRef,
boolean keepFiltered)
Answer a vector of teamTemplate references for all team templates including the disabled ones Supported API: true |
wt.team.TeamManaged |
reteam(wt.team.TeamManaged object,
wt.team.TeamTemplateReference teamTemplateRef)
Associate a team managed object with a new team. |
wt.team.TeamManaged |
setTeamTemplate(WTContainerRef containerRef,
wt.team.TeamManaged object,
String teamTemplateName,
String domain)
Set the teamTemplate of the TeamManaged object Supported API: true |
Vector |
whereUsed(wt.team.TeamReference team)
Answer a Vector of TeamManaged objects Note: Any services that persist a TeamReference are individually responsible for making sure the Team doesn't disappear on them. |
Vector |
whereUsed(wt.team.TeamTemplateReference teamTemplate)
Answer a Vector of Team objects Note: Any services that persist a TeamTemplateReference are individually responsible for making sure the Team Template doesn't disappear on them. |
| Method Detail |
|---|
Vector findCandidateTeamTemplates()
throws WTException,
wt.team.TeamException
WTException
wt.team.TeamException
Vector findCandidateTeamTemplates(AdminDomainRef domainRef)
throws WTException,
wt.team.TeamException
domainRef - the domain to search for team templates
WTException
wt.team.TeamException
wt.team.TeamTemplate getTeamTemplate(wt.team.TeamManaged object)
throws WTException,
wt.team.TeamException
object - the object whoose team template should be returned
WTException
wt.team.TeamException
wt.team.TeamManaged reteam(wt.team.TeamManaged object,
wt.team.TeamTemplateReference teamTemplateRef)
throws WTException,
wt.team.TeamException
object - the TeamManaged object that should be associated with a new teamteamTemplateRef - a reference to a team, a TeamTemplateReference of the Team Template that the object should be reassigned to.
WTException
wt.team.TeamException
Vector getMembers(RoleHolder2 roleHolder)
throws WTException
roleHolder - the roleholder of interest
WTException
wt.team.TeamTemplate copyTeamTemplate(wt.team.TeamTemplate aTeamTemplate,
String copyName,
String folderLocation,
boolean persist)
throws WTException
aTeamTemplate - the team template to copycopyName - the name to assign to teh copyfolderLocation - the location to store the team template. if null, the location will be set to the same location as the team template to copypersist - specifies whether or not to persist the team template that is returned
WTException
Vector whereUsed(wt.team.TeamReference team)
throws WTException,
wt.team.TeamException
team - the team of interest
WTException
wt.team.TeamException
Vector findCandidateTeams()
throws WTException
WTException
wt.team.Team copyTeam(wt.team.Team team,
String copyName,
AdminDomainRef domain,
boolean persist)
throws WTException
team - the team to copycopyName - the name to assign to the copydomain - the domain to assign to the team. if the domain is null, it stores it in the same location as the team to copypersist - specifies whether or not to persist the returned team
WTException
Vector findTeams()
throws WTException
WTException
void addRolePrincipalMap(Role role,
WTPrincipal principal,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to add the principal to in the roleholderprincipal - the principal to add to the roleroleHolder - the roleholder to add the role-principal mapping to
WTException
void addRoleActorRoleMap(Role role,
wt.project.ActorRole actor,
WTActorRoleHolder2 roleHolder)
throws WTException
role - the role to add the actor role to in the actor roleholderactor - the actor role to add to the roleroleHolder - the roleholder to add the role-actor role map to
WTException
void addRoleRoleMap(Role leftRole,
Role rightRole,
wt.team.WTIndirectRoleHolder2 roleHolder)
throws WTException
leftRole - the role to add the rightrole to in the roleholderrightRole - the role to add to the leftrole in the roleholderroleHolder - the roleholder the role-role mapping should be added to
WTException
void addRolePoolMap(Role role,
WTObject pool,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to add the pool to in the roleholderpool - the pool (WTPrincipal or Team) to add to the roleholderroleHolder - the roleholder to add the role-pool mapping to
WTException
void deleteRole(Role role,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to remove from the roleholderroleHolder - the roleholder of interest
WTException
QueryResult findRolePrincipalMap(Role role,
WTPrincipal principal,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to use in the searchprincipal - the principal to use in the searchroleHolder - the roleholder to use in the search
WTException
void deleteRolePrincipalMap(Role role,
WTPrincipal principal,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to remove the principal from in the roleholderprincipal - the principal to remove from the role in the roleholderroleHolder - the roleholder of interest
WTException
void deleteRoleActorRoleMap(Role role,
wt.project.ActorRole actor,
WTActorRoleHolder2 roleHolder)
throws WTException
role - the role to remove from the actor from in the roleholderactor - the actor role to remove from the role in the roleholderroleHolder - the roleholder of interest
WTException
void deleteRoleRoleMap(Role leftRole,
Role rightRole,
wt.team.WTIndirectRoleHolder2 roleHolder)
throws WTException
leftRole - the role to remove the right role from in the roleholderrightRole - the role to remove from the left role in the roleholderroleHolder - the roleholder of interest
WTException
void deleteRolePoolMap(Role role,
WTObject pool,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to remove the pool from in the roleholderpool - the pool to remove from the role in the roleholderroleHolder - the roleholder of interest
WTException
QueryResult findRoleActorRoleMap(Role role,
wt.project.ActorRole actor,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to use in the searchactor - the actor role to use in the searchroleHolder - the roleholder to use in the search
WTException
QueryResult findRoleRoleMap(Role leftRole,
Role rightRole,
WTRoleHolder2 roleHolder)
throws WTException
leftRole - the left role to use in the searchrightRole - the right role to use in the searchroleHolder - the roleholder to use in the search
WTException
QueryResult findRolePoolMap(Role role,
WTObject pool,
WTRoleHolder2 roleHolder)
throws WTException
role - the role to use in the searchpool - the pool to use in the searchroleHolder - the roleholder to use in the search
WTException
Vector findRoles(WTRoleHolder2 roleHolder)
throws WTException
roleHolder - the roleholder to use in the search
WTException
Vector whereUsed(wt.team.TeamTemplateReference teamTemplate)
throws WTException,
wt.team.TeamException
teamTemplate - the team template of interest
WTException
wt.team.TeamException
Vector findCandidateTeamDistributionLists()
throws WTException,
wt.team.TeamException
WTException
wt.team.TeamException
Vector findCandidateTeamDistributionLists(AdminDomainRef domainRef)
throws WTException,
wt.team.TeamException
domainRef - the administrative domain to search in for team distribution lists
WTException
wt.team.TeamException
Vector findTeamTemplates()
throws WTException
WTException
wt.team.Team getTeam(wt.team.TeamManaged object)
throws WTException,
wt.team.TeamException
object - the TeamManaged object whoose team should be returned
WTException
wt.team.TeamException
Vector getTeamTemplates()
throws WTException,
wt.team.TeamException
WTException
wt.team.TeamException
Vector findCandidateTeamTemplates(WTContainerRef containerRef)
throws WTException,
wt.team.TeamException
containerRef - the container to search for team templates
WTException
wt.team.TeamException
Vector findCandidateTeamTemplates(WTContainerRef containerRef,
AdminDomainRef domainRef)
throws WTException,
wt.team.TeamException
containerRef - the container to search for team templatesdomainRef - the administrative domain to search for team templates
WTException
wt.team.TeamException
wt.team.TeamTemplate copyTeamTemplate(WTContainerRef containerRef,
wt.team.TeamTemplate aTeamTemplate,
String copyName,
String folderLocation,
boolean persist)
throws WTException
containerRef - the context where the team template should be storedaTeamTemplate - the team template to copycopyName - the name to assign to the copyfolderLocation - the folder location to assign to the copy. if null, the team template will be assigned to the same location as the team template to copypersist - specifies whether or not to persist the copy
WTException
wt.team.TeamReference createTeam(WTRoleHolder2 roleHolder,
String teamName,
Persistable object)
throws WTException
roleHolder - the roleholder from which the Team is createdteamName - the name to assign to the teamobject - the object used to resolve actor roles into the team
WTException
wt.team.TeamTemplateReference createTeamTemplate(WTContainerRef containerRef,
String teamTemplateName,
String location,
String description,
TeamCategory category,
boolean enabled)
throws WTException
containerRef - the container the team template belongs toteamTemplateName - the name to assign to the team templatelocation - the location of the team templatedescription - the description to assign to the team templatecategory - the TeamCategory to assign to the team templateenabled - specifies whether or not the team template should be enabled
WTException
wt.team.TeamTemplate getTeamTemplate(WTContainerRef containerRef,
AdministrativeDomain adminDomain,
String teamTemplateName)
throws WTException,
wt.team.TeamException
containerRef - the container to search for team templatesadminDomain - the administrative domain to search for team templatesteamTemplateName - the name of the team template to search for
WTException
wt.team.TeamException
Vector findCandidateTeamDistributionLists(WTContainerRef containerRef)
throws WTException,
wt.team.TeamException
containerRef - the container to search for team distribution lists
WTException
wt.team.TeamException
Vector findCandidateTeamDistributionLists(WTContainerRef containerRef,
AdminDomainRef domainRef)
throws WTException,
wt.team.TeamException
containerRef - the container to search for team distribution listsdomainRef - the domain in the container to search for team distribution lists
WTException
wt.team.TeamException
wt.team.TeamDistributionList getTeamDistributionList(WTContainerRef containerRef,
AdministrativeDomain adminDomain,
String teamDistributionListName)
throws WTException,
wt.team.TeamException
containerRef - the container to search for the team distribution listadminDomain - the administrative domain to search for team distribution liststeamDistributionListName - the name of the team distribution list to search for
WTException
wt.team.TeamException
Vector getTeamTemplateNames(WTContainerRef containerRef)
throws WTException
containerRef - the container to search for team template names
WTException
Vector findTeamTemplates(WTContainerRef containerRef)
throws WTException
containerRef - the container to search for team templates
WTException
Vector getTeamTemplates(WTContainerRef containerRef)
throws WTException,
wt.team.TeamException
containerRef -
WTException
wt.team.TeamException
wt.team.TeamManaged setTeamTemplate(WTContainerRef containerRef,
wt.team.TeamManaged object,
String teamTemplateName,
String domain)
throws WTException,
wt.team.TeamException,
WTPropertyVetoException
containerRef - the container to search for the team template to assign to the objectobject - the TeamManaged object whose teamTemplate should be setteamTemplateName - a String that contains the name of the teamTemplate to set on the TeamManaged object.domain - a String that contain the AdministrativeDomain of the Team that should be set
WTException
wt.team.TeamException
WTPropertyVetoException
WTList createTeams(WTList objects,
List names,
WTRoleHolder2 roleHolder)
throws WTException
objects - a list of the objects to create teams fornames - the names of the teams - null is acceptableroleHolder - the roleholder to use as a base for creating the team
WTException
void augmentRoles(wt.lifecycle.LifeCycleManaged object,
wt.team.TeamReference team)
throws WTException,
wt.lifecycle.LifeCycleException
object - the object associated to the team that needs to have it's membership updatedteam - the team to apply to the object
WTException
wt.lifecycle.LifeCycleException
wt.team.TeamTemplate getEnabledTeamTemplate(WTContainerRef containerRef,
String teamTemplateIdentity)
throws WTException,
wt.team.TeamException
containerRef - the container to search for enabled team templatesteamTemplateIdentity - a String that contains the identity of the TeamTemplate
WTException
wt.team.TeamException
Vector findTeamTemplates(WTContainerRef containerRef,
boolean keepFiltered)
throws WTException
containerRef - the container to search for team templateskeepFiltered - Indicates whether or not filtered results (Hide/Show) should be returned. Return all results if true, otherwise filter results hidden in the container's context.
WTException
Vector getTeamTemplates(WTContainerRef containerRef,
boolean keepFiltered)
throws WTException,
wt.team.TeamException
containerRef - The container to search for team templateskeepFiltered - Indicates whether or not filtered results (Hide/Show) should be returned. Return all results if true, otherwise filter results hidden in the container's context.
WTException
wt.team.TeamException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||