Package lumis.portal.file.transformation
Class FileTransformation
- java.lang.Object
-
- lumis.portal.file.transformation.FileTransformation
-
- All Implemented Interfaces:
Serializable
public class FileTransformation extends Object implements Serializable
Represents the transformation of a given file.- Since:
- 6.1.0
- Version:
- $Revision: 20509 $ $Date: 2017-09-11 16:18:14 -0300 (Mon, 11 Sep 2017) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileTransformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
Returns the contentType.String
getDisplayName()
Returns the display name.String
getExtension()
Returns the extension.String
getFilePrefix()
Returns the filePrefix.String
getFileSufix()
Returns the fileSufix.String
getId()
Returns the id.String
getName()
Returns the name.String
getServiceInstanceId()
Returns the serviceInstanceId.Set<ITransformationParameter>
getTransformationParameters()
Returns the transformationParameters.boolean
matches(String contentType)
Asserts if a given content type matches with jgeg | gif | pngvoid
setContentType(String contentType)
Sets the contentType.void
setDisplayName(String displayName)
Sets the display name.void
setExtension(String extension)
Sets the extension.void
setFilePrefix(String filePrefix)
Sets the filePrefix.void
setFileSufix(String fileSufix)
Sets the fileSufix.void
setId(String id)
Sets the id.void
setName(String name)
Sets the name.void
setServiceInstanceId(String serviceInstanceId)
Sets the serviceInstanceId.
-
-
-
Method Detail
-
getId
public String getId()
Returns the id.- Returns:
- the id
- Since:
- 6.1.0
-
setId
public void setId(String id)
Sets the id.- Parameters:
id
- the id value to set.- Since:
- 6.1.0
-
getFilePrefix
public String getFilePrefix()
Returns the filePrefix.- Returns:
- the filePrefix
- Since:
- 6.1.0
-
setFilePrefix
public void setFilePrefix(String filePrefix)
Sets the filePrefix.- Parameters:
filePrefix
- the filePrefix value to set.- Since:
- 6.1.0
-
getFileSufix
public String getFileSufix()
Returns the fileSufix.- Returns:
- the fileSufix
- Since:
- 6.1.0
-
setFileSufix
public void setFileSufix(String fileSufix)
Sets the fileSufix.- Parameters:
fileSufix
- the fileSufix value to set.- Since:
- 6.1.0
-
getExtension
public String getExtension()
Returns the extension.- Returns:
- the extension
- Since:
- 6.1.0
-
setExtension
public void setExtension(String extension)
Sets the extension.- Parameters:
extension
- the extension value to set.- Since:
- 6.1.0
-
getName
public String getName()
Returns the name.- 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
-
getDisplayName
public String getDisplayName()
Returns the display name.- Returns:
- the display name
- Since:
- 6.1.0
-
setDisplayName
public void setDisplayName(String displayName)
Sets the display name.- Parameters:
display
- name the display name value to set.- Since:
- 6.1.0
-
getServiceInstanceId
public String getServiceInstanceId()
Returns the serviceInstanceId.- Returns:
- the serviceInstanceId
- Since:
- 6.1.0
-
setServiceInstanceId
public void setServiceInstanceId(String serviceInstanceId)
Sets the serviceInstanceId.- Parameters:
serviceInstanceId
- the serviceInstanceId value to set.- Since:
- 6.1.0
-
getTransformationParameters
public Set<ITransformationParameter> getTransformationParameters()
Returns the transformationParameters.- Returns:
- the transformationParameters
- Since:
- 6.1.0
-
getContentType
public String getContentType()
Returns the contentType.- 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
-
matches
public boolean matches(String contentType)
Asserts if a given content type matches with jgeg | gif | png- Parameters:
contentType
- the content type to be matched- Returns:
- true if matches or false not.
- Since:
- 6.1.0
-
-