Class GrouperReportInstance
java.lang.Object
edu.internet2.middleware.grouper.app.reports.GrouperReportInstance
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create 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 ERRORboolean
void
setAttributeAssignId
(String attributeAssignId) attribute assign idvoid
setGrouperReportConfigurationBean
(GrouperReportConfigurationBean grouperReportConfigurationBean) grouper report configurationvoid
setReportDateMillis
(Long reportDateMillis1) if not set will default to nowvoid
setReportElapsedMillis
(Long reportElapsedMillis) millis took to generate the reportvoid
setReportFileUnencrypted
(File reportFileUnencrypted) file where unencrypted report isvoid
setReportInstanceConfigMarkerAssignmentId
(String reportInstanceConfigMarkerAssignmentId) id of report config marker that has this instancevoid
setReportInstanceDownloadCount
(Long reportInstanceDownloadCount) how many times the file has been downloadedvoid
setReportInstanceEmailToSubjects
(String reportInstanceEmailToSubjects) subjects who were sent report link via emailvoid
setReportInstanceEmailToSubjectsError
(String reportInstanceEmailToSubjectsError) subjects who were configured to receive but system couldn't send email tovoid
setReportInstanceEncryptionKey
(String reportInstanceEncryptionKey) encryption key with which the report has been encryptedvoid
setReportInstanceFileName
(String reportInstanceFileName) file name of the reportvoid
setReportInstanceFilePointer
(String reportInstanceFilePointer) pointer to the location of the filevoid
setReportInstanceMillisSince1970
(Long reportInstanceMillisSince1970) time when the report is generatedvoid
setReportInstanceRows
(Long reportInstanceRows) number of rows in the reportvoid
setReportInstanceSizeBytes
(Long reportInstanceSizeBytes) size of report in bytesvoid
setReportInstanceStatus
(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()
-