Class ProjectManagementRelation

java.lang.Object
com.xwiki.projectmanagement.relations.store.ProjectManagementRelation

public class ProjectManagementRelation extends Object
The base object wrapper that enables the manipulation if Work Package links.
Since:
1.2.0-rc-1
Version:
$Id$
  • Field Details

    • CLASS_FULLNAME

      public static final String CLASS_FULLNAME
      The String reference of the class defining the object which contains an OIDC configuration.
      See Also:
    • CLASS_REFERENCE

      public static final org.xwiki.model.reference.LocalDocumentReference CLASS_REFERENCE
      The local reference of the configuration class.
    • FIELD_CLIENT

      public static final String FIELD_CLIENT
      The name of the client property within the XClass.
      See Also:
    • FIELD_PROJECT

      public static final String FIELD_PROJECT
      The name of the project property within the XClass.
      See Also:
    • FIELD_WORK_ITEM

      public static final String FIELD_WORK_ITEM
      The name of the work package property within the XClass.
      See Also:
    • FIELD_CLIENT_PARAMS

      public static final String FIELD_CLIENT_PARAMS
      The name of the client params property within the XClass.
      See Also:
  • Constructor Details

    • ProjectManagementRelation

      public ProjectManagementRelation(com.xpn.xwiki.objects.BaseObject xobject)
      Parameters:
      xobject - the xobject that stores the work package link information.
  • Method Details

    • getClient

      public String getClient()
      Returns:
      the id of the project management client. i.e. openproject.
    • setClient

      public void setClient(String client)
      Parameters:
      client - see getClient() .
    • getProject

      public String getProject()
      Returns:
      the id of the OpenProject project that is linked to a xwiki page.
    • setProject

      public void setProject(String project)
      Parameters:
      project - see getProject().
    • getWorkItem

      public String getWorkItem()
      Returns:
      the id of the OpenProject work package that is linked to a xwiki page.
    • setWorkItem

      public void setWorkItem(String workPackage)
      Parameters:
      workPackage - see getWorkItem() ()}.
    • getClientParams

      public String getClientParams()
      Returns:
      the stored client params in a string format. The storage format is defined by the client.
    • setClientParams

      public void setClientParams(String clientParams)
      Parameters:
      clientParams - see getClientParams().