PrimaveraDbReader
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.tasks.PrimaveraBaseReader
public final class PrimaveraDbReader extends PrimaveraBaseReader
Represents a reader to read Project Info from Primavera DB
Constructors
| Constructor | Description |
|---|---|
| PrimaveraDbReader(PrimaveraDbSettings dbSettings) | Initializes a new instance of the PrimaveraXerReader class. |
Methods
| Method | Description |
|---|---|
| loadProject(int projectUid) | Loads the project with the specified unique identifier. |
PrimaveraDbReader(PrimaveraDbSettings dbSettings)
public PrimaveraDbReader(PrimaveraDbSettings dbSettings)
Initializes a new instance of the PrimaveraXerReader class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| dbSettings | PrimaveraDbSettings | Settings that specify how to connect to Primavera DB. |
loadProject(int projectUid)
public 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 read from Primavera DB. Null if project doesn’t exist.