Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates the contract values.
Syntax
public boolean validateContract()
Run On
Called
Return Value
Type: boolean
true if the validation passes; otherwise, false.
Remarks
This method provides the ability to validate the contracts. Contracts must implement the SysOperationValidatable interface for the framework to validate the contract. The validation will always be run on the server to reduce chattiness. In most cases, the validation is completed automatically by the framework and this API does not have to be called explicitly. Example: when the code calls the getReportUrl or runReport methods or by the framework-based SrsReportRunController controller class. An example of calling this explicitly would be where the report is batched explicitly by the code. It does not use the default batch controller, and the code has to validate the report contracts before batching.