|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.calendar.service.Attachment
public class Attachment
Created by The eXo Platform SARL Author : Pham Tuan tuan.pham@exoplatform.com Sep 28, 2007
| Constructor Summary | |
|---|---|
Attachment()
This class use for keep data and infomation about attachments the id will automatic generate when create new object |
|
| Method Summary | |
|---|---|
String |
getDataPath()
|
String |
getId()
|
InputStream |
getInputStream()
|
Calendar |
getLastModified()
|
String |
getMimeType()
|
String |
getName()
|
String |
getResourceId()
get id to call download service remove temp file |
long |
getSize()
|
String |
getWorkspace()
|
void |
setId(String id)
|
void |
setInputStream(InputStream input)
|
void |
setLastModified(Calendar lastModified)
|
void |
setMimeType(String mimeType_)
|
void |
setName(String name_)
|
void |
setResourceId(String resourceId)
keep id to make sure temp file will be removed after use uploaded file |
void |
setSize(long size_)
|
void |
setWorkspace(String workspace)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Attachment()
| Method Detail |
|---|
public String getId()
public void setId(String id)
public String getMimeType()
public void setMimeType(String mimeType_)
public long getSize()
public void setSize(long size_)
public String getName()
public void setName(String name_)
public String getDataPath()
throws Exception
Exception
public void setInputStream(InputStream input)
throws Exception
Exception
public InputStream getInputStream()
throws Exception
Exceptionpublic void setLastModified(Calendar lastModified)
public Calendar getLastModified()
public void setWorkspace(String workspace)
public String getWorkspace()
public void setResourceId(String resourceId)
public String getResourceId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||