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
Supported API: true
Extendable: false
- See Also:
-
ProjectServerHelper
-
Method Summary
Modifier and TypeMethodDescriptionwt.project.ProjectManageddoReproject(wt.project.ProjectManaged object, wt.project.ProjectReference projRef) Associate the object with a new project
Supported API: trueresolveActorRole(wt.project.ActorRole actorRole, Persistable object) Given an actorRole and an object, resolve the actor role to a principal
Supported API: truewt.project.WTRoleHolderresolveRoles(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.ProjectManagedvalidateReproject(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 resolvedactorRoleHolder- 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.ProjectExceptionWTException
-
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 resolvedobject- the object that is used to lookup a principal for the ActorRole- Returns:
- WTPrincipalReference
- Throws:
wt.project.ProjectExceptionWTException
-
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-projectedprojRef-- Returns:
- ProjectManaged
- Throws:
WTExceptionwt.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-projectedprojRef-- Returns:
- ProjectManaged
- Throws:
WTExceptionwt.project.ProjectException
-