All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method |
Description |
void |
copyTo(Project another) |
Copies project's main data and properties to another project.
|
void |
copyTo(Project another,
CopyToOptions options) |
Copies project's main data and properties to another project.
|
Iterable<Task> |
enumerateAllChildTasks() |
Recursively enumerates all project's tasks including root task.
|
<T> T |
get(Key<T,Integer> key) |
Returns the value to which the property is mapped in this container.
|
Date |
getBaselineSaveTime(int baselineNumber) |
Returns the baseline save time.
|
BuiltInProjectPropertyCollection |
getBuiltInProps() |
Gets project's built-in properties collection.
|
int |
getCalculationMode() |
Gets calculation mode of a project.
|
CalendarCollection |
getCalendars() |
|
TaskCollection |
getCriticalPath() |
Gets a collection which contains a list of Critical tasks which comprise Critical Path of this project.
|
CustomProjectPropertyCollection |
getCustomProps() |
Gets project's custom properties collection.
|
View |
getDefaultView() |
Gets default view of the project.
|
WeekDayCollection |
getDefaultWeekWorkingDays() |
Gets the instance of WeekDayCollection class which represents a collection of project default week
working days and working times.
|
ProjectDisplayOptions |
getDisplayOptions() |
|
Duration |
getDuration(double val) |
Gets Duration object with the specified number of units and default duration format which is defined in
project's settings Prj.DURATION_FORMAT .
|
Duration |
getDuration(double val,
int timeUnit) |
|
ExtendedAttributeDefinitionCollection |
getExtendedAttributes() |
Gets ExtendedAttributeDefinitionCollection object.
|
OleObjectCollection |
getOleObjects() |
Gets a collection containing the instances of the OleObject class which are linked or embedded to this
project file.
|
OutlineCodeDefinitionCollection |
getOutlineCodes() |
Gets OutlineCodeDefinitionCollection object.
|
int |
getPageCount() |
Returns page count for the project to be rendered using default Timescale (Days).
|
int |
getPageCount(int format,
int scale) |
|
int |
getPageCount(SaveOptions saveOptions) |
Returns page count for the project to be rendered using given SaveOptions .
|
int |
getPageCount_PageSize(int pageSize,
int scale) |
Returns page count for the project to be rendered using given Timescale and PageSize .
|
int |
getPageCount_PageSize(int pageSize,
int scale,
Date startDate,
Date endDate) |
|
int |
getPageCount_PresentationFormat(int format) |
|
int |
getPageCount_Timescale(int scale) |
Returns page count for the project to be rendered using given Timescale .
|
TaskLinkCollection |
getPredecessors(Task task) |
Returns a collection of task links which are predecessors of the specified task.
|
static ProjectFileInfo |
getProjectFileInfo(InputStream stream) |
Gets project file info from the stream.
|
static ProjectFileInfo |
getProjectFileInfo(String filename) |
Read project file info from the file.
|
ResourceAssignmentCollection |
getResourceAssignments() |
Gets ResourceAssignmentCollection object.
|
FilterCollection |
getResourceFilters() |
Gets all the resource-based filter definitions.
|
GroupCollection |
getResourceGroups() |
Gets all of the resource-based group definitions.
|
ResourceCollection |
getResources() |
Gets ResourceCollection object.
|
Task |
getRootTask() |
Gets the root of the tree of tasks.
|
TableCollection |
getTables() |
Gets a list of Table objects.
|
FilterCollection |
getTaskFilters() |
Gets all the task-based filter definitions.
|
GroupCollection |
getTaskGroups() |
Gets all the task-based group definitions.
|
TaskLinkCollection |
getTaskLinks() |
|
VbaProject |
getVbaProject() |
|
ViewCollection |
getViews() |
Gets a list of View objects.
|
WBSCodeDefinition |
getWBSCodeDefinition() |
Gets WBS Code Definition for the project.
|
Duration |
getWork(double val) |
Gets Duration object with the specified double value and default work format.
|
void |
print() |
Prints project to the default printer with default printer settings using the standard (no User Interface) print
controller.
|
void |
print(PrinterSettings printerSettings) |
Prints project according to the specified printer settings using the standard (no User Interface) print
controller.
|
void |
print(PrinterSettings printerSettings,
PrintOptions options) |
Prints project according to the specified printer settings and custom save options using the standard (no User
Interface) print controller.
|
void |
print(PrinterSettings printerSettings,
PrintOptions options,
String documentName) |
Prints project according to the specified printer settings, custom save options and the specified document name
using the standard (no User Interface) print controller.
|
void |
print(PrinterSettings printerSettings,
String documentName) |
Prints project according to the specified printer settings using the standard (no User Interface) print
controller.
|
void |
print(PrintOptions options) |
Prints project to the default printer with default printer settings and custom save options using the standard
(no User Interface) print controller.
|
void |
print(String printerName) |
Prints project to the specified printer with default printer settings using the standard (no User Interface)
print controller.
|
void |
recalculate() |
Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks,
work and cost fields.
|
void |
recalculate(boolean validate) |
Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks,
work and cost fields with optional validation.
|
void |
recalculateResourceFields() |
Recalculates Id, Start and Finish of resources.
|
void |
recalculateResourceStartFinish() |
Recalculates Start and Finish of resources.
|
void |
removeInvalidResourceAssignments() |
Eliminates invalid resource assignments from the project resource assignments list.
|
void |
renumberWBSCode() |
Renumber WBS code of all tasks.
|
void |
renumberWBSCode(List<Integer> taskIds) |
Renumber WBS code of passed tasks.
|
void |
rescheduleUncompletedWorkToStartAfter(Date after) |
Reschedules uncompleted project work to start after a specified date.
|
void |
rescheduleUncompletedWorkToStartAfter(Date after,
List<Task> taskCollection) |
Reschedules uncompleted work for a specified list of tasks to start after a specified date.
|
void |
save(OutputStream stream,
int format) |
Saves the project data to the stream.
|
void |
save(OutputStream stream,
MPPSaveOptions options) |
Saves the project to a stream using the specified save options.
|
void |
save(OutputStream stream,
SaveOptions options) |
Saves the project to a stream using the specified save options.
|
void |
save(String filename) |
Saves the project data to the file in mpp format.
|
void |
save(String filename,
int format) |
Saves the project data to the file.
|
void |
save(String filename,
MPPSaveOptions options) |
Saves the document to mpp file format using the specified save options.
|
void |
save(String filename,
SaveOptions options) |
Saves the document to a file using the specified save options.
|
void |
saveAsTemplate(OutputStream stream) |
Saves the project as a template to a specified stream.
|
void |
saveAsTemplate(OutputStream stream,
SaveTemplateOptions options) |
Saves the project as a template to a specified stream.
|
void |
saveAsTemplate(String fileName) |
Saves the project as a template to the specified file path.
|
void |
saveAsTemplate(String fileName,
SaveTemplateOptions options) |
Saves the project as a template.
|
void |
saveReport(OutputStream stream) |
Saves the project overview report to the stream.
|
void |
saveReport(OutputStream stream,
int reportType) |
Saves the project report of the specified type to the specified stream.
|
void |
saveReport(String fileName) |
Saves the project overview report to PDF file.
|
void |
saveReport(String fileName,
int reportType) |
Saves the project report of the specified type in PDF format to the specified file path.
|
List<Task> |
selectAllChildTasks() |
Recursively collects all child tasks of the root task.
|
void |
set(Key<Date,Integer> key,
Date val) |
Maps the specified property to the specified value in this container.
|
<T> void |
set(Key<T,Integer> key,
T val) |
Maps the specified property to the specified value in this container.
|
void |
setBaseline(int baselineType) |
Saves baseline fields to the specified baseline for the entire project.
|
void |
setBaseline(int baselineType,
Iterable<Task> taskCollection) |
Saves baseline fields to the specified baseline for the selected tasks.
|
void |
setBaselineSaveTime(int baselineNumber,
Date value) |
Sets the baseline save time.
|
void |
setCalculationMode(int value) |
Sets calculation mode of a project.
|
void |
setDefaultView(View value) |
Sets default view of the project.
|
void |
setWBSCodeDefinition(WBSCodeDefinition value) |
Sets WBS Code Definition for the project.
|
void |
updateProjectWorkAsComplete(Date completeThrough,
boolean setZeroOrHundredPercentCompleteOnly) |
Updates all work as complete through a specified date for the entire project.
|
void |
updateProjectWorkAsComplete(Date completeThrough,
boolean setZeroOrHundredPercentCompleteOnly,
List<Task> taskCollection) |
Updates all work as complete through a specified date for the specified list of tasks.
|