Package wt.project

Class ProjectHelper

java.lang.Object
wt.project.ProjectHelper
All Implemented Interfaces:
Externalizable, Serializable

public class ProjectHelper extends Object implements Externalizable
ProjectHelper provides client invokable meethods to project services. These methods are executed on the client side.

Supported API: true

Extendable: false
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    static wt.project.ProjectManaged
    setProject(wt.project.ProjectManaged object, wt.project.Project project)
    Set the project of the ProjectManaged object.
    static wt.project.ProjectManaged
    setProject(wt.project.ProjectManaged object, wt.project.ProjectReference projectRef)
    Set the project of the ProjectManaged object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 set
      project - the project to be set on the ProjectManaged object.
      Returns:
      ProjectManaged
      Throws:
      wt.project.ProjectException
      WTPropertyVetoException
    • 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 set
      projectRef - the ProjectReference of the project that should be set on the ProjectManaged object.
      Returns:
      ProjectManaged
      Throws:
      WTException
      wt.project.ProjectException
      WTPropertyVetoException