@groovy.transform.ToString(includeNames: true, includePackage: false) @groovy.transform.EqualsAndHashCode(includes: [ageDays, batchSize, delete]) class ProductionLogArchiveRequest extends java.lang.Object
The request archive old ProductionLog records. Used for the archiveOld() method.
Type | Name and description |
---|---|
private BigDecimal |
ageDays The age (in days) used to determine if a record is an 'old' record and eligible for archiving/deleting. |
private BigDecimal |
batchSize The size of the batch used when archiving these records. |
private java.lang.Boolean |
delete If true, then the records are deleted, not archived (Default: false). |
Constructor and description |
---|
ProductionLogArchiveRequest
() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The age (in days) used to determine if a record is an 'old' record and eligible for archiving/deleting. Supports fractions (Required).
The size of the batch used when archiving these records. This determines the database transaction size and the size of the archive XML file (if records are not deleted). (Default: 500)
If true, then the records are deleted, not archived (Default: false).
Groovy Documentation