PrimaveraBaseReader
Inheritance: java.lang.Object
public abstract class PrimaveraBaseReader
Represents a base reader which can be used to read Project UIDs from multi project Primavera XER or XML files.
Methods
Method | Description |
---|---|
getProjectInfos() | Return a list of the project’s short info objects. |
getProjectUids() | Return a list of the projects’ unique identifiers. |
loadProject(int projectUid) | Loads the project with the specified unique identifier. |
getProjectInfos()
public final List<PrimaveraProjectInfo> getProjectInfos()
Return a list of the project’s short info objects.
Returns: java.util.List<com.aspose.tasks.PrimaveraProjectInfo> - a list of the project’s short info objects
getProjectUids()
public final List<Integer> getProjectUids()
Return a list of the projects’ unique identifiers.
Returns: java.util.List<java.lang.Integer> - List of projects’ unique identifiers.
loadProject(int projectUid)
public final Project loadProject(int projectUid)
Loads the project with the specified unique identifier.
Parameters:
Parameter | Type | Description |
---|---|---|
projectUid | int | Unique identifier of the project to load. |
Returns: Project - Project with specified unique identifier from the specified multi project file. Null if project doesn’t exist.