PrimaveraDbReader

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

ConstructorDescription
PrimaveraDbReader(PrimaveraDbSettings dbSettings)Initializes a new instance of the PrimaveraXerReader class.

Methods

MethodDescription
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:

ParameterTypeDescription
dbSettingsPrimaveraDbSettingsSettings 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:

ParameterTypeDescription
projectUidintUnique identifier of the project to load.

Returns: Project - Project with specified unique identifier read from Primavera DB. Null if project doesn’t exist.