lumis.portal.file.transformation
Class TransformedFileConfig

Package class diagram package TransformedFileConfig
java.lang.Object
  extended by lumis.portal.file.transformation.TransformedFileConfig
All Implemented Interfaces:
IDownloadableFile

public class TransformedFileConfig
extends Object
implements IDownloadableFile

Represents the transformation to be persisted.

Since:
6.1.0

Constructor Summary
TransformedFileConfig()
          Class Constructor
TransformedFileConfig(String fileId, String fileConfigId, FileTransformation fileTransformation, String name, long fileSize, String contentType, String fullPath, FileMetadata metadata)
          Class Constructor.
 
Method Summary
 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 setMetadata(FileMetadata metadata)
          Sets the metadata.
 void setName(String name)
          Sets the name.
 void setTransformedFileId(String transformedFileId)
          Sets the transformedFileId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformedFileConfig

public TransformedFileConfig(String fileId,
                             String fileConfigId,
                             FileTransformation fileTransformation,
                             String name,
                             long fileSize,
                             String contentType,
                             String fullPath,
                             FileMetadata metadata)
Class Constructor.

Parameters:
fileId - the file id.
originalFileId - the original fileconfig
fileTnsfId - the transformation id
name - the transformed file name
fileSize - the transformed file size
contentType - the transformed file contentType
fullPath - the transformed file path
metadata - the transformed file metadata
Since:
6.1.0

TransformedFileConfig

public TransformedFileConfig()
Class Constructor

Since:
6.1.0
Method Detail

getTransformedFileId

public String getTransformedFileId()
Returns the transformedFileId.

Returns:
the transformedFileId
Since:
6.1.0

setTransformedFileId

public void setTransformedFileId(String transformedFileId)
Sets the transformedFileId.

Parameters:
transformedFileId - the transformedFileId value to set.
Since:
6.1.0

getFileConfigId

public String getFileConfigId()
Returns the fileConfigId.

Returns:
the fileConfigId
Since:
6.1.0

setFileConfigId

public void setFileConfigId(String fileConfigId)
Sets the fileConfigId.

Parameters:
fileConfigId - the fileConfigId value to set.
Since:
6.1.0

getFileTransformation

public FileTransformation getFileTransformation()
Returns the fileTransformationId.

Returns:
the fileTransformationId
Since:
6.1.0

setFileTransformation

public void setFileTransformation(FileTransformation fileTransformation)
Sets the fileTransformationId.

Parameters:
fileTransformationId - the fileTransformationId value to set.
Since:
6.1.0

getName

public String getName()
Returns the name.

Specified by:
getName in interface IDownloadableFile
Returns:
the name
Since:
6.1.0

setName

public void setName(String name)
Sets the name.

Parameters:
name - the name value to set.
Since:
6.1.0

getFileSize

public long getFileSize()
Returns the fileSize.

Specified by:
getFileSize in interface IDownloadableFile
Returns:
the fileSize
Since:
6.1.0

setFileSize

public void setFileSize(long fileSize)
Sets the fileSize.

Parameters:
fileSize - the fileSize value to set.
Since:
6.1.0

getContentType

public String getContentType()
Returns the contentType.

Specified by:
getContentType in interface IDownloadableFile
Returns:
the contentType
Since:
6.1.0

setContentType

public void setContentType(String contentType)
Sets the contentType.

Parameters:
contentType - the contentType value to set.
Since:
6.1.0

getFullPath

public String getFullPath()
Returns the fullPath starting from the "files/" directory.

Returns:
the fullPath
Since:
6.1.0

setFullPath

public void setFullPath(String fullPath)
Sets the fullPath.

Parameters:
fullPath - the fullPath value to set.
Since:
6.1.0

getMetadata

public IFileMetadata getMetadata()
Returns the metadata.

Returns:
the metadata
Since:
6.1.0

setMetadata

public void setMetadata(FileMetadata metadata)
Sets the metadata.

Parameters:
metadata - the metadata value to set.
Since:
6.1.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.