|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWikiAttachmentManager
Entry point for managing attachments in the wiki application.
| Method Summary | |
|---|---|
IWikiAttachment |
createAttachment(long documentID,
String name,
String typeContent,
byte[] data)
Creates attachment to page |
boolean |
deleteAttachment(long pageID,
long attachmentID)
Deletes attachment with specific unique identifier attached to a page |
IWikiAttachment |
getAttachment(long pageID,
long attachmentID)
Retrieves attachment with specific unique identifier attached to a page |
byte[] |
getAttachmentData(long pageID,
long attachmentID,
long offset,
int size)
Retrieves the attachment content as byte array. |
Iterable<IWikiAttachment> |
getAttachments(long pageID)
Retrieves all attachments to given paged. |
Iterable<String[]> |
getProperties(long attachmentID)
Retrieves extended properties of attachment |
String |
getProperty(long attachmentID,
String name)
Retrieves extended property of attachment |
Iterable<String[]> |
setProperties(long attachmentID,
String[] names,
String[] values)
Sets extended propertyies to attachment |
Iterable<String[]> |
setProperty(long attachmentID,
String name,
String value)
Sets extended property to attachment |
| Method Detail |
|---|
Iterable<IWikiAttachment> getAttachments(long pageID)
throws com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
pageID - unique identifier of page
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
IWikiAttachment getAttachment(long pageID,
long attachmentID)
throws com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException,
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
pageID - unique identifier of pageattachmentID - unique identifier of attachment
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
boolean deleteAttachment(long pageID,
long attachmentID)
throws com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException,
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException,
com.sap.netweaver.coll.wiki.exception.UnauthorizedException,
com.sap.netweaver.coll.wiki.exception.WikiAttachmentException
pageID - unique identifier of pageattachmentID - unique identifier of attachment
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
com.sap.netweaver.coll.wiki.exception.UnauthorizedException
com.sap.netweaver.coll.wiki.exception.WikiAttachmentException
byte[] getAttachmentData(long pageID,
long attachmentID,
long offset,
int size)
throws com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException,
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException,
IOException
pageID - unique identifier of pageattachmentID - unique identifier of attachmentoffset - starting positionsize - size
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
IOException
IWikiAttachment createAttachment(long documentID,
String name,
String typeContent,
byte[] data)
throws com.sap.netweaver.coll.wiki.exception.UnauthorizedException,
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException,
IllegalStateException,
com.sap.netweaver.coll.wiki.exception.WikiAttachmentException
documentID - unique identifier of pagename - name of attachmenttypeContent - content type of attachmentdata - data of attachment
com.sap.netweaver.coll.wiki.exception.UnauthorizedException
com.sap.netweaver.coll.wiki.exception.WikiPageNotFoundException
IllegalStateException
com.sap.netweaver.coll.wiki.exception.WikiAttachmentException
Iterable<String[]> getProperties(long attachmentID)
throws com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
attachmentID - unique identifier of attachment
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
String getProperty(long attachmentID,
String name)
throws com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
attachmentID - unique identifier of attachmentname - name of extended property
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
Iterable<String[]> setProperties(long attachmentID,
String[] names,
String[] values)
throws com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
attachmentID - names - array of namesvalues - array of corresponding values
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
Iterable<String[]> setProperty(long attachmentID,
String name,
String value)
throws com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException
attachmentID - unique identifier of attachmentname - name of extended propertyvalue - value of extended property
com.sap.netweaver.coll.wiki.exception.WikiAttachmentNotFoundException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[com.sap] KMC-WIKI
|
[com.sap] com.sap.netweaver.coll.wiki.api
|
api
|
BC-COM-WIK
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||