|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.viewer.annotation.CMBAnnotationServicesCallbacks
CMBAnnotationServicesCallbacks defines methods that users of CMBAnnotationServices must implement to handle requests for retrieving additional annotation blobs and to handle tracing.
com.ibm.mm.viewer.CMBAnnotationServices
Constructor Summary | |
CMBAnnotationServicesCallbacks()
|
Method Summary | |
abstract int |
addAnnotationPart(CMBAnnotationSet annotationSet,
byte[] annotationData)
Creates a new annotation blob and saves the annotation data. |
abstract java.io.InputStream |
getAnnotationPart(CMBAnnotationSet annotationSet,
int annotationNumber)
Callback method to retrieve an annotation blob of a document. |
abstract boolean |
getPrivilege(CMBAnnotationSet annotationSet,
int privilegeID)
Callback method to retrieve the privilege for an annotation. |
abstract void |
removeAnnotationPart(CMBAnnotationSet annotationSet,
int annotationNumber)
Removes the annotation part. |
abstract void |
trace(java.lang.String message)
Writes a trace message. |
abstract boolean |
traceEnabled()
Checks if tracing is enabled. |
abstract void |
updateAnnotationPart(CMBAnnotationSet annotationSet,
byte[] annotationData,
int annotationNumber)
Updates the annotation data back as the same part. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMBAnnotationServicesCallbacks()
Method Detail |
public abstract java.io.InputStream getAnnotationPart(CMBAnnotationSet annotationSet, int annotationNumber)
annotationSet
- The annotationSet representing an annotation blob being retrieved.annotationNumber
- The sequential number of the annotation (first annotation being zero).public abstract boolean getPrivilege(CMBAnnotationSet annotationSet, int privilegeID)
annotationSet
- The annotationSet representing the annotation blob whose privilege is retrieved.privilegeID
- The privilege id.public abstract int addAnnotationPart(CMBAnnotationSet annotationSet, byte[] annotationData)
annotationSet
- the annotationSet representing an annotation blob being created.annotationData
- The byte array representing the annotation blob.public abstract void updateAnnotationPart(CMBAnnotationSet annotationSet, byte[] annotationData, int annotationNumber)
annotationSet
- The annotationSet representing an annotation blob being updated.annotationData
- The byte array representing the annotation blob.annotationNumber
- The annotation part number.public abstract void removeAnnotationPart(CMBAnnotationSet annotationSet, int annotationNumber)
annotationSet
- The annotationSet representing an annotation blob being removed.annotationNumber
- The annotation part number.public abstract boolean traceEnabled()
public abstract void trace(java.lang.String message)
message
- The trace message string.
|
EIP JavaBeans | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |