Package wt.project
Class ProjectHelper
java.lang.Object
wt.project.ProjectHelper
- All Implemented Interfaces:
Externalizable,Serializable
ProjectHelper provides client invokable meethods to project services.
These methods are executed on the client side.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic wt.project.ProjectManagedsetProject(wt.project.ProjectManaged object, wt.project.Project project) Set the project of the ProjectManaged object.static wt.project.ProjectManagedsetProject(wt.project.ProjectManaged object, wt.project.ProjectReference projectRef) Set the project of the ProjectManaged object.
-
Method Details
-
setProject
public static wt.project.ProjectManaged setProject(wt.project.ProjectManaged object, wt.project.Project project) throws wt.project.ProjectException, WTPropertyVetoException Set the project of the ProjectManaged object. If the object is already persisted, this method will throw an exception.
Supported API: true- Parameters:
object- the ProjectManaged object whose project will be setproject- the project to be set on the ProjectManaged object.- Returns:
- ProjectManaged
- Throws:
wt.project.ProjectExceptionWTPropertyVetoException
-
setProject
public static wt.project.ProjectManaged setProject(wt.project.ProjectManaged object, wt.project.ProjectReference projectRef) throws WTException, wt.project.ProjectException, WTPropertyVetoException Set the project of the ProjectManaged object. If the object is already persisted, this method will throw an exception.
Supported API: true- Parameters:
object- theProjectManaged object whose project should be setprojectRef- the ProjectReference of the project that should be set on the ProjectManaged object.- Returns:
- ProjectManaged
- Throws:
WTExceptionwt.project.ProjectExceptionWTPropertyVetoException
-