Package wt.project

Interface ProjectServiceSvr


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

Supported API: true

Extendable: false
See Also:
  • ProjectServerHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    wt.project.ProjectManaged
    doReproject(wt.project.ProjectManaged object, wt.project.ProjectReference projRef)
    Associate the object with a new project

    Supported API: true
    resolveActorRole(wt.project.ActorRole actorRole, Persistable object)
    Given an actorRole and an object, resolve the actor role to a principal

    Supported API: true
    wt.project.WTRoleHolder
    resolveRoles(wt.project.IndirectRoleHolder indirectRoleHolder, wt.project.ActorRoleHolder actorRoleHolder, wt.project.RoleHolder resultsRoleHolder, Persistable object)
    Given an indirect role holder and a role holder, resolve the roles to just enabled principals.
    wt.project.ProjectManaged
    validateReproject(wt.project.ProjectManaged object, wt.project.ProjectReference projRef)
    Perform pre-reproject validations

    Supported API: true
  • Method Details

    • resolveRoles

      wt.project.WTRoleHolder resolveRoles(wt.project.IndirectRoleHolder indirectRoleHolder, wt.project.ActorRoleHolder actorRoleHolder, wt.project.RoleHolder resultsRoleHolder, Persistable object) throws wt.project.ProjectException, WTException
      Given an indirect role holder and a role holder, resolve the roles to just enabled principals.

      Supported API: true
      Parameters:
      indirectRoleHolder - the IndirectRoleHolder that contains roles/actorRoles to be resolved
      actorRoleHolder - the ActorRoleHolder that contains rolePrincipalMaps and roleActorRoleMaps. This is typically the Project object.
      resultsRoleHolder - the RoleHolder that will be populated with RolePrincipal mappings. In the case of LifeCycle, this will be a Phase object.
      object - the object that is used to lookup a principal for the ActorRole
      Returns:
      WTRoleHolder
      Throws:
      wt.project.ProjectException
      WTException
    • resolveActorRole

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

      Supported API: true
      Parameters:
      actorRole - the ActorRole to be resolved
      object - the object that is used to lookup a principal for the ActorRole
      Returns:
      WTPrincipalReference
      Throws:
      wt.project.ProjectException
      WTException
    • doReproject

      wt.project.ProjectManaged doReproject(wt.project.ProjectManaged object, wt.project.ProjectReference projRef) throws WTException, wt.project.ProjectException
      Associate the object with a new project

      Supported API: true
      Parameters:
      object - the ProjectManaged object to be re-projected
      projRef -
      Returns:
      ProjectManaged
      Throws:
      WTException
      wt.project.ProjectException
    • validateReproject

      wt.project.ProjectManaged validateReproject(wt.project.ProjectManaged object, wt.project.ProjectReference projRef) throws WTException, wt.project.ProjectException
      Perform pre-reproject validations

      Supported API: true
      Parameters:
      object - the ProjectManaged object that should be re-projected
      projRef -
      Returns:
      ProjectManaged
      Throws:
      WTException
      wt.project.ProjectException