|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
These methods are can only be invoked from classes running in the server.
Supported API: true
Extendable: false
ProjectServerHelper
Method Summary | |
ProjectManaged |
doReproject(ProjectManaged object,
ProjectReference projRef)
Associate the object with a new project Supported API: true |
WTPrincipalReference |
resolveActorRole(ActorRole actorRole,
Persistable object)
Given an actorRole and an object, resolve the actor role to a principal Supported API: true |
WTRoleHolder |
resolveRoles(IndirectRoleHolder indirectRoleHolder,
ActorRoleHolder actorRoleHolder,
RoleHolder resultsRoleHolder,
Persistable object)
Given an indirect role holder and a role holder, resolve the roles to just enabled principals. |
ProjectManaged |
validateReproject(ProjectManaged object,
ProjectReference projRef)
Perform pre-reproject validations Supported API: true |
Method Detail |
public WTRoleHolder resolveRoles(IndirectRoleHolder indirectRoleHolder, ActorRoleHolder actorRoleHolder, RoleHolder resultsRoleHolder, Persistable object) throws ProjectException, WTException
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
ProjectException
WTException
public WTPrincipalReference resolveActorRole(ActorRole actorRole, Persistable object) throws ProjectException, WTException
actorRole
- the ActorRole to be resolvedobject
- the object that is used to lookup a principal for the ActorRole
ProjectException
WTException
public ProjectManaged doReproject(ProjectManaged object, ProjectReference projRef) throws WTException, ProjectException
object
- the ProjectManaged object to be re-projectedprojRef
-
WTException
ProjectException
public ProjectManaged validateReproject(ProjectManaged object, ProjectReference projRef) throws WTException, ProjectException
object
- the ProjectManaged object that should be re-projectedprojRef
-
WTException
ProjectException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |