|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface represents attachments of different groupware items. Copyright (c) SAP 2002
| Method Summary | |
void |
close()
Closes the input stream associated with attachment content (It is the responsibility of the client to close the input stream.) |
java.io.InputStream |
getContent()
Returns an input stream to the attachment content |
java.io.InputStream |
getContent(com.sapportals.portal.security.usermanagement.IUser user)
Returns an input stream to the attachment content |
long |
getContentLength()
Returns the length of the resource content |
java.lang.String |
getContentType()
Returns the content type of the attachment |
java.lang.String |
getId()
Returns the id of the attachment |
java.lang.String |
getName()
Returns the name of the attachment |
void |
setContent(java.io.InputStream stream)
Sets the input stream to the attachment content |
void |
setContentLength(long length)
Sets the length of the resource content |
void |
setContentType(java.lang.String contentType)
Sets the content type for the attachment content |
void |
setGroupwareItem(IGroupwareItem item)
Sets the parent groupware items of the attachment |
void |
setId(java.lang.String id)
Sets the id of the attachment |
void |
setName(java.lang.String name)
Sets the name of the attachment |
void |
setParentId(java.lang.String id)
Sets the id of the parent groupware item for the attachment |
void |
setReadTransport(IReadTransport transport)
Sets the read transport for fetching the content of the attachment |
| Method Detail |
public void close()
throws GroupwareException
GroupwareException -
public java.io.InputStream getContent()
throws GroupwareException
GroupwareException -
public java.io.InputStream getContent(com.sapportals.portal.security.usermanagement.IUser user)
throws GroupwareException
IUser - userGroupwareException -
public long getContentLength()
throws GroupwareException
GroupwareException -
public java.lang.String getContentType()
throws GroupwareException
GroupwareException -
public java.lang.String getId()
throws GroupwareException
GroupwareException -
public java.lang.String getName()
throws GroupwareException
GroupwareException -
public void setContent(java.io.InputStream stream)
throws GroupwareException
stream - GroupwareException -
public void setContentLength(long length)
throws GroupwareException
length - in bytesGroupwareException -
public void setContentType(java.lang.String contentType)
throws GroupwareException
content - typeGroupwareException -
public void setGroupwareItem(IGroupwareItem item)
throws GroupwareException
IGroupwareItem - itemGroupwareException -
public void setId(java.lang.String id)
throws GroupwareException
id - GroupwareException -
public void setName(java.lang.String name)
throws GroupwareException
name - GroupwareException -
public void setParentId(java.lang.String id)
throws GroupwareException
id - GroupwareException -
public void setReadTransport(IReadTransport transport)
throws GroupwareException
IReadTransport - read transportGroupwareException -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||