com.crystaldecisions.sdk.occa.report.document
Class ReportStatistics

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.document.ReportStatistics
All Implemented Interfaces:
IReportStatistics

public class ReportStatistics
extends java.lang.Object
implements IReportStatistics

This object enables you to get the report statistics information, which contains report version number (major, minor, letter), last saved by (person's name), revision number, total editing time (in minutes), last printed date, creation date, and last saved date.


Constructor Summary
ReportStatistics(int reportVersionMajor, int reportVersionMinor, int reportVersionLetter, java.lang.String lastSavedByPersonName, int revisionNumber, int totalEditingTime, java.util.Date lastPrintedDate, java.util.Date createdDate, java.util.Date lastSavedDate, java.util.Date dataFetchDate)
           
 
Method Summary
 java.util.Date getCreatedDate()
           Returns the date the report was created.
 java.util.Date getDataFetchDate()
           Returns the last time the saved data was refreshed.
 java.util.Date getLastPrintedDate()
           Returns the last date the report was printed.
 java.lang.String getLastSavedByPersonName()
           Returns the person name who changed and saved the report most recently.
 java.util.Date getLastSavedDate()
           Returns the last date the report was saved.
 int getReportVersionLetter()
           Returns the report version letter.
 int getReportVersionMajor()
           Returns the report version major.
 int getReportVersionMinor()
           Returns the report version minor.
 int getRevisionNumber()
           Returns revision number.
 int getTotalEditingTime()
           Returns total editing time (in minutes)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportStatistics

public ReportStatistics(int reportVersionMajor,
                        int reportVersionMinor,
                        int reportVersionLetter,
                        java.lang.String lastSavedByPersonName,
                        int revisionNumber,
                        int totalEditingTime,
                        java.util.Date lastPrintedDate,
                        java.util.Date createdDate,
                        java.util.Date lastSavedDate,
                        java.util.Date dataFetchDate)
Method Detail

getReportVersionMajor

public int getReportVersionMajor()

Returns the report version major.

Specified by:
getReportVersionMajor in interface IReportStatistics
Returns:
The ReportVersionMajor as aint.

getReportVersionMinor

public int getReportVersionMinor()

Returns the report version minor.

Specified by:
getReportVersionMinor in interface IReportStatistics
Returns:
The ReportVersionMinor as aint.

getReportVersionLetter

public int getReportVersionLetter()

Returns the report version letter.

Specified by:
getReportVersionLetter in interface IReportStatistics
Returns:
The ReportVersionLetter as aint.

getLastSavedByPersonName

public java.lang.String getLastSavedByPersonName()

Returns the person name who changed and saved the report most recently.

Specified by:
getLastSavedByPersonName in interface IReportStatistics
Returns:
The LastSavedByPersonName as a String.

getRevisionNumber

public int getRevisionNumber()

Returns revision number.

Specified by:
getRevisionNumber in interface IReportStatistics
Returns:
The RevisionNumber as a int.

getTotalEditingTime

public int getTotalEditingTime()

Returns total editing time (in minutes)

Specified by:
getTotalEditingTime in interface IReportStatistics
Returns:
The TotalEditingTime as a int

getLastPrintedDate

public java.util.Date getLastPrintedDate()

Returns the last date the report was printed.

Specified by:
getLastPrintedDate in interface IReportStatistics
Returns:
The LastPrintedDate as a Date.

getCreatedDate

public java.util.Date getCreatedDate()

Returns the date the report was created.

Specified by:
getCreatedDate in interface IReportStatistics
Returns:
The CreatedDate as a Date.

getLastSavedDate

public java.util.Date getLastSavedDate()

Returns the last date the report was saved.

Specified by:
getLastSavedDate in interface IReportStatistics
Returns:
The LastSavedDate as a Date.

getDataFetchDate

public java.util.Date getDataFetchDate()

Returns the last time the saved data was refreshed.

Specified by:
getDataFetchDate in interface IReportStatistics
Returns:
the last time the saved data was refreshed.