lumis.portal.file.transformation
Class FileTransformation

Package class diagram package FileTransformation
java.lang.Object
  extended by 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
See Also:
Serialized Form

Constructor Summary
FileTransformation()
           
 
Method Summary
 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 | png
 void 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTransformation

public FileTransformation()
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


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