org.exoplatform.portletcontainer.applications.sbridgestrutsportlet
Class Attachment

java.lang.Object
  extended by org.exoplatform.portletcontainer.applications.sbridgestrutsportlet.Attachment

public class Attachment
extends Object

Created by The eXo Platform SAS .

Version:
$Id: $ Sep 30, 2008
Author:
Alexey Zavizionov

Constructor Summary
Attachment()
           
 
Method Summary
 int getAttachmentId()
           
 String getContentType()
           
 org.apache.struts.upload.FormFile getFile()
           
 byte[] getFileData()
           
 String getFileName()
           
 void setAttachmentId(int attachmentId)
           
 void setContentType(String contentType)
           
 void setFile(org.apache.struts.upload.FormFile file)
           
 void setFileData(byte[] fileData)
           
 void setFileName(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()
Method Detail

getAttachmentId

public int getAttachmentId()
Returns:
Returns the attachmentId.

setAttachmentId

public void setAttachmentId(int attachmentId)
Parameters:
attachmentId - The attachmentId to set.

getContentType

public String getContentType()
Returns:
Returns the contentType.

setContentType

public void setContentType(String contentType)
Parameters:
contentType - The contentType to set.

getFileData

public byte[] getFileData()
Returns:
Returns the fileData.

setFileData

public void setFileData(byte[] fileData)
Parameters:
fileData - The fileData to set.

getFileName

public String getFileName()
Returns:
Returns the fileName.

setFileName

public void setFileName(String fileName)
Parameters:
fileName - The fileName to set.

getFile

public org.apache.struts.upload.FormFile getFile()

setFile

public void setFile(org.apache.struts.upload.FormFile file)


Copyright © 2009 eXo Platform SAS. All Rights Reserved.