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 Summary
Fields Modifier and Type Field Description static StringCLASS_FULLNAMEThe String reference of the class defining the object which contains an OIDC configuration.static org.xwiki.model.reference.LocalDocumentReferenceCLASS_REFERENCEThe local reference of the configuration class.static StringFIELD_CLIENTThe name of the client property within the XClass.static StringFIELD_CLIENT_PARAMSThe name of the client params property within the XClass.static StringFIELD_PROJECTThe name of the project property within the XClass.static StringFIELD_WORK_ITEMThe name of the work package property within the XClass.
-
Constructor Summary
Constructors Constructor Description ProjectManagementRelation(com.xpn.xwiki.objects.BaseObject xobject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClient()StringgetClientParams()StringgetProject()StringgetWorkItem()voidsetClient(String client)voidsetClientParams(String clientParams)voidsetProject(String project)voidsetWorkItem(String workPackage)
-
-
-
Field Detail
-
CLASS_FULLNAME
public static final String CLASS_FULLNAME
The String reference of the class defining the object which contains an OIDC configuration.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
FIELD_PROJECT
public static final String FIELD_PROJECT
The name of the project property within the XClass.- See Also:
- Constant Field Values
-
FIELD_WORK_ITEM
public static final String FIELD_WORK_ITEM
The name of the work package property within the XClass.- See Also:
- Constant Field Values
-
FIELD_CLIENT_PARAMS
public static final String FIELD_CLIENT_PARAMS
The name of the client params property within the XClass.- See Also:
- Constant Field Values
-
-
Method Detail
-
getClient
public String getClient()
- Returns:
- the id of the project management client. i.e. openproject.
-
setClient
public void setClient(String client)
- Parameters:
client- seegetClient().
-
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- seegetProject().
-
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- seegetWorkItem()()}.
-
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- seegetClientParams().
-
-