Class GrouperReportInstance
java.lang.Object
edu.internet2.middleware.grouper.app.reports.GrouperReportInstance
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate an empty grouper report fileattribute assign idgrouper report configurationif not set will default to nowmillis took to generate the reportfile where unencrypted report isid of report config marker that has this instancehow many times the file has been downloadedsubjects who were sent report link via emailsubjects who were configured to receive but system couldn't send email toencryption key with which the report has been encryptedfile name of the reportpointer to the location of the filetime when the report is generatednumber of rows in the reportsize of report in bytesreport instance status: SUCCESS or ERRORbooleanvoidsetAttributeAssignId(String attributeAssignId) attribute assign idvoidsetGrouperReportConfigurationBean(GrouperReportConfigurationBean grouperReportConfigurationBean) grouper report configurationvoidsetReportDateMillis(Long reportDateMillis1) if not set will default to nowvoidsetReportElapsedMillis(Long reportElapsedMillis) millis took to generate the reportvoidsetReportFileUnencrypted(File reportFileUnencrypted) file where unencrypted report isvoidsetReportInstanceConfigMarkerAssignmentId(String reportInstanceConfigMarkerAssignmentId) id of report config marker that has this instancevoidsetReportInstanceDownloadCount(Long reportInstanceDownloadCount) how many times the file has been downloadedvoidsetReportInstanceEmailToSubjects(String reportInstanceEmailToSubjects) subjects who were sent report link via emailvoidsetReportInstanceEmailToSubjectsError(String reportInstanceEmailToSubjectsError) subjects who were configured to receive but system couldn't send email tovoidsetReportInstanceEncryptionKey(String reportInstanceEncryptionKey) encryption key with which the report has been encryptedvoidsetReportInstanceFileName(String reportInstanceFileName) file name of the reportvoidsetReportInstanceFilePointer(String reportInstanceFilePointer) pointer to the location of the filevoidsetReportInstanceMillisSince1970(Long reportInstanceMillisSince1970) time when the report is generatedvoidsetReportInstanceRows(Long reportInstanceRows) number of rows in the reportvoidsetReportInstanceSizeBytes(Long reportInstanceSizeBytes) size of report in bytesvoidsetReportInstanceStatus(String reportInstanceStatus) report instance status: SUCCESS or ERROR
-
Field Details
-
STATUS_SUCCESS
- See Also:
-
STATUS_ERROR
- See Also:
-
-
Constructor Details
-
GrouperReportInstance
public GrouperReportInstance()
-
-
Method Details
-
getGrouperReportConfigurationBean
grouper report configuration- Returns:
- the grouperReportConfigurationBean
-
setGrouperReportConfigurationBean
public void setGrouperReportConfigurationBean(GrouperReportConfigurationBean grouperReportConfigurationBean) grouper report configuration- Parameters:
grouperReportConfigurationBean- the grouperReportConfigurationBean to set
-
getReportDateMillis
if not set will default to now- Returns:
- the reportDateMillis
-
setReportDateMillis
if not set will default to now- Parameters:
reportDateMillis1- the reportDateMillis to set
-
getReportFileUnencrypted
file where unencrypted report is- Returns:
- the reportFileUnencrypted
-
setReportFileUnencrypted
file where unencrypted report is- Parameters:
reportFileUnencrypted- the reportFileUnencrypted to set
-
getReportInstanceStatus
report instance status: SUCCESS or ERROR- Returns:
-
setReportInstanceStatus
report instance status: SUCCESS or ERROR- Parameters:
reportInstanceStatus-
-
getReportElapsedMillis
millis took to generate the report- Returns:
-
setReportElapsedMillis
millis took to generate the report- Parameters:
reportElapsedMillis-
-
getReportInstanceConfigMarkerAssignmentId
id of report config marker that has this instance- Returns:
-
setReportInstanceConfigMarkerAssignmentId
public void setReportInstanceConfigMarkerAssignmentId(String reportInstanceConfigMarkerAssignmentId) id of report config marker that has this instance- Parameters:
reportInstanceConfigMarkerAssignmentId-
-
getReportInstanceMillisSince1970
time when the report is generated- Returns:
-
setReportInstanceMillisSince1970
time when the report is generated- Parameters:
reportInstanceMillisSince1970-
-
getReportInstanceSizeFriendly
- Returns:
- friendly size
-
getReportInstanceSizeBytes
size of report in bytes- Returns:
-
setReportInstanceSizeBytes
size of report in bytes- Parameters:
reportInstanceSizeBytes-
-
getReportInstanceFilePointer
pointer to the location of the file- Returns:
-
setReportInstanceFilePointer
pointer to the location of the file- Parameters:
reportInstanceFilePointer-
-
getReportInstanceDownloadCount
how many times the file has been downloaded- Returns:
-
setReportInstanceDownloadCount
how many times the file has been downloaded- Parameters:
reportInstanceDownloadCount-
-
getReportInstanceEncryptionKey
encryption key with which the report has been encrypted- Returns:
-
setReportInstanceEncryptionKey
encryption key with which the report has been encrypted- Parameters:
reportInstanceEncryptionKey-
-
getReportInstanceRows
number of rows in the report- Returns:
-
setReportInstanceRows
number of rows in the report- Parameters:
reportInstanceRows-
-
getReportInstanceEmailToSubjects
subjects who were sent report link via email- Returns:
-
setReportInstanceEmailToSubjects
subjects who were sent report link via email- Parameters:
reportInstanceEmailToSubjects-
-
getReportInstanceEmailToSubjectsError
subjects who were configured to receive but system couldn't send email to- Returns:
-
setReportInstanceEmailToSubjectsError
subjects who were configured to receive but system couldn't send email to- Parameters:
reportInstanceEmailToSubjectsError-
-
getReportInstanceFileName
file name of the report- Returns:
-
setReportInstanceFileName
file name of the report- Parameters:
reportInstanceFileName-
-
getAttributeAssignId
attribute assign id- Returns:
-
setAttributeAssignId
attribute assign id- Parameters:
attributeAssignId-
-
createEmptyReportFile
public void createEmptyReportFile()create an empty grouper report file -
isReportStoredInS3
public boolean isReportStoredInS3()
-