Package com.axelor.rpc
Record Class PendingExportService.PendingExport
java.lang.Object
java.lang.Record
com.axelor.rpc.PendingExportService.PendingExport
- Record Components:
filePath- the absolute path to the export filefileName- the name of the export file, or nulldownload- whether the client downloads the file, instead of previewing ituserId- the id of the user who created the export, or null
- Enclosing class:
PendingExportService
public static record PendingExportService.PendingExport(String filePath, @Nullable String fileName, boolean download, @Nullable Long userId)
extends Record
Represents a pending export file.
-
Constructor Summary
ConstructorsConstructorDescriptionPendingExport(String filePath, String fileName, boolean download, Long userId) Creates an instance of aPendingExportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandownload()Returns the value of thedownloadrecord component.final booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.filePath()Returns the value of thefilePathrecord component.final inthashCode()Returns a hash code value for this object.path()final StringtoString()Returns a string representation of this record class.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
Method Details
-
path
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
filePath
Returns the value of thefilePathrecord component.- Returns:
- the value of the
filePathrecord component
-
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
download
public boolean download()Returns the value of thedownloadrecord component.- Returns:
- the value of the
downloadrecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-