public class TransformedFileConfig extends Object implements IDownloadableFile
Constructor and Description |
---|
TransformedFileConfig()
Class Constructor
|
TransformedFileConfig(String fileId,
String fileConfigId,
FileTransformation fileTransformation,
String name,
long fileSize,
String contentType,
String fullPath,
FileMetadata metadata,
boolean generatedWithError)
Class Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Returns the contentType.
|
String |
getFileConfigId()
Returns the fileConfigId.
|
long |
getFileSize()
Returns the fileSize.
|
FileTransformation |
getFileTransformation()
Returns the fileTransformationId.
|
String |
getFullPath()
Returns the fullPath starting from the "files/" directory.
|
IFileMetadata |
getMetadata()
Returns the metadata.
|
String |
getName()
Returns the name.
|
String |
getTransformedFileId()
Returns the transformedFileId.
|
void |
setContentType(String contentType)
Sets the contentType.
|
void |
setFileConfigId(String fileConfigId)
Sets the fileConfigId.
|
void |
setFileSize(long fileSize)
Sets the fileSize.
|
void |
setFileTransformation(FileTransformation fileTransformation)
Sets the fileTransformationId.
|
void |
setFullPath(String fullPath)
Sets the fullPath.
|
void |
setGeneratedWithError(boolean generatedWithError)
Sets whether this transformed file had an error during its generation.
|
void |
setMetadata(FileMetadata metadata)
Sets the metadata.
|
void |
setName(String name)
Sets the name.
|
void |
setTransformedFileId(String transformedFileId)
Sets the transformedFileId.
|
boolean |
wasGeneratedWithError()
Return whether this transformed file had an error during its generation.
|
public TransformedFileConfig(String fileId, String fileConfigId, FileTransformation fileTransformation, String name, long fileSize, String contentType, String fullPath, FileMetadata metadata, boolean generatedWithError)
fileId
- the file id.originalFileId
- the original fileconfigfileTnsfId
- the transformation idname
- the transformed file namefileSize
- the transformed file sizecontentType
- the transformed file contentTypefullPath
- the transformed file pathmetadata
- the transformed file metadatapublic TransformedFileConfig()
public String getTransformedFileId()
public void setTransformedFileId(String transformedFileId)
transformedFileId
- the transformedFileId value to set.public String getFileConfigId()
public void setFileConfigId(String fileConfigId)
fileConfigId
- the fileConfigId value to set.public FileTransformation getFileTransformation()
public void setFileTransformation(FileTransformation fileTransformation)
fileTransformationId
- the fileTransformationId value to set.public String getName()
getName
in interface IDownloadableFile
public void setName(String name)
name
- the name value to set.public long getFileSize()
getFileSize
in interface IDownloadableFile
public void setFileSize(long fileSize)
fileSize
- the fileSize value to set.public String getContentType()
getContentType
in interface IDownloadableFile
public void setContentType(String contentType)
contentType
- the contentType value to set.public String getFullPath()
public void setFullPath(String fullPath)
fullPath
- the fullPath value to set.public IFileMetadata getMetadata()
public void setMetadata(FileMetadata metadata)
metadata
- the metadata value to set.public boolean wasGeneratedWithError()
public void setGeneratedWithError(boolean generatedWithError)
generatedWithError
- true if generated with error, false otherwise.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.