public interface ITask
extends com.arcway.cockpit.modulelib2.client.docgen.provider.interfaces.IModuleData, com.arcway.cockpit.docgen.provider.interfaces.ICustomPropertiesAccess
IProjectPlan object allows to read attribute values of a project plan
from the COCKPIT project planning module. Starting with this object, you can get references to
tasks and work items of the project plan.Item type constant: "ppm.task"
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsWorkItems()
Checks whether the task contains any work items.
|
java.lang.String |
getDuration()
Returns the duration of this task in working days.
|
java.lang.String |
getFinish()
Returns the finish date of the task.
|
java.lang.String |
getName()
Returns the name of the task.
|
ITask |
getParentTask()
Returns the parent task of the current task.
|
java.lang.String |
getPercentWorkComplete()
Returns the percent work complete of this task.
|
java.lang.String |
getStart()
Returns the start date of the task.
|
java.lang.String |
getState()
Returns s string donating the state of the task.
|
java.util.List<? extends ITask> |
getSubTasks()
Returns the sub tasks of the current task.
|
java.util.List<? extends ITask> |
getSubTasks(int sortingCriterion)
Returns the sub tasks of the current task.
|
java.util.List<? extends ITask> |
getSubTasks(java.lang.String sortingProperty)
Returns the sub tasks of the current task.
|
java.lang.String |
getUniqueIdentifier()
Returns a unique identifier that uniquely identifies this object
within the COCKPIT project.
|
java.lang.String |
getWorkDone()
Returns the work done of this task.
|
java.lang.String |
getWorkEstimated()
Returns the work estimated of this task.
|
java.lang.String |
getWorkForecast()
Returns the work forecast of this task.
|
java.util.List<? extends IWorkItem> |
getWorkItems()
Returns the work items of this task.
|
java.util.List<? extends IWorkItem> |
getWorkItems(int sortingCriterion)
Returns the work items of this task.
|
java.util.List<? extends IWorkItem> |
getWorkItems(java.lang.String sortingProperty)
Returns the work items of this task.
|
java.lang.String |
getWorkRemaining()
Returns the work remaining of this task.
|
boolean |
hasParent()
Checks whether the task has a parent task.
|
boolean |
hasSubTasks()
Checks whether the task has sub tasks.
|
com.arcway.cockpit.docgen.provider.interfaces.IRecord |
toRecord()
Converts this generic module data into a record.
|
getCategoryID, getCategoryLabel, getDateTimeProperty_MilliSecondsSince_01_01_1970, getFileProperty, getFileProperty, getFilePropertyAsBase64StringList, getFilePropertyAsFileName, getFilePropertyAsFileName, getFilePropertyAsRawStringList, getFilePropertyAsStringList, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringList, hasCustomPropertyValues, hasDefaultCategory, hasPropertyValue, readImageInfoOfFilePropertygetCommitVersion, getCreationDate_MilliSecondsSince_01_01_1970, getCreationDate, getCreator, getDateOfLastModification_MilliSecondsSince_01_01_1970, getDateOfLastModification, getDisplayName, getLastModifier, getModificationCount, getProjectUniqueIdentifier, getTypeID, getTypeName, toRecordjava.lang.String getUniqueIdentifier()
getUniqueIdentifier in interface com.arcway.cockpit.docgen.provider.interfaces.ICockpitDatajava.lang.String getName()
boolean containsWorkItems()
java.util.List<? extends IWorkItem> getWorkItems()
java.util.List<? extends IWorkItem> getWorkItems(int sortingCriterion)
sortingCriterion specifies the criterion for sorting. Use the
integer constants in IProjectPlanningDataProvider.java.util.List<? extends IWorkItem> getWorkItems(java.lang.String sortingProperty)
sortingProperty specifies the custom property which shall be used as a criterion for
sorting.boolean hasSubTasks()
java.util.List<? extends ITask> getSubTasks()
java.util.List<? extends ITask> getSubTasks(int sortingCriterion)
sortingCriterion specifies the criterion for sorting. Use the
integer constants in IProjectPlanningDataProvider.java.util.List<? extends ITask> getSubTasks(java.lang.String sortingProperty)
sortingProperty specifies the custom property which shall be used as a criterion for
sorting.boolean hasParent()
ITask getParentTask()
null if the task has no
parent task.java.lang.String getWorkDone()
java.lang.String getWorkEstimated()
java.lang.String getWorkRemaining()
java.lang.String getWorkForecast()
java.lang.String getPercentWorkComplete()
java.lang.String getStart()
java.lang.String getFinish()
java.lang.String getDuration()
java.lang.String getState()
com.arcway.cockpit.docgen.provider.interfaces.IRecord toRecord()
In addition to all fields documented at ICustomPropertiesAccess.toRecord(), in
the created record, the following fields are filled accoring to the wrapped cockpit data:
IRecord.NAME_KEYtoRecord in interface com.arcway.cockpit.docgen.provider.interfaces.ICockpitDatatoRecord in interface com.arcway.cockpit.docgen.provider.interfaces.ICustomPropertiesAccess