ProjectManagementViewInfo

All Implemented Interfaces: com.groupdocs.viewer.results.ViewInfo

public interface ProjectManagementViewInfo extends ViewInfo

Represents view information for an MS Project document.

The ProjectManagementViewInfo interface defines the contract for accessing and manipulating view information for an MS Project document in the GroupDocs.Viewer component. It provides methods to retrieve information such as the start and end dates, and other properties.

Example usage:


 try (Viewer viewer = new Viewer("document.mpp")) {
     final ProjectManagementViewInfo viewInfo = (ProjectManagementViewInfo) viewer.getViewInfo(ViewInfoOptions.forPngView());
     // Use the viewInfo object for further operations
 }
 

Note: The default implementation of this interface is ProjectManagementViewInfoImpl.

Methods

Method Description
getStartDate() Retrieves the date and time from which the project started.
setStartDate(Date startDate) Sets the start date and time for the project.
getEndDate() Retrieves the date and time when the project is to be completed.
setEndDate(Date endDate) Sets the end date and time for the project.

getStartDate()

public abstract Date getStartDate()

Retrieves the date and time from which the project started.

Returns: java.util.Date - the start date and time of the project.

setStartDate(Date startDate)

public abstract void setStartDate(Date startDate)

Sets the start date and time for the project.

Parameters:

Parameter Type Description
startDate java.util.Date the new start date and time to be set.

getEndDate()

public abstract Date getEndDate()

Retrieves the date and time when the project is to be completed.

Returns: java.util.Date - the end date and time of the project.

setEndDate(Date endDate)

public abstract void setEndDate(Date endDate)

Sets the end date and time for the project.

Parameters:

Parameter Type Description
endDate java.util.Date the new end date and time to be set.