Collaboration API Documentation

com.filenet.bso.api.util
Class BsoAnnotation

java.lang.Object
  |
  +--com.filenet.bso.api.util.BsoAnnotation

public class BsoAnnotation
extends java.lang.Object

This class is basically a duplicate from com.filenet.wcm.apps.server.util.annotations.WcmAnnotation except that we added the getNewAnnotation(String id) method. This is a workaround, since Buzz java api does not expose the WcmAnnotation class in the package. This class is needed to update the F_ANNOTATEDID value which is embedded in the annotation content element xml string.


Constructor Summary
BsoAnnotation(com.filenet.wcm.api.Annotation annotObj)
           
BsoAnnotation(org.w3c.dom.Node rootNode, boolean isISServer)
           
 
Method Summary
 com.filenet.wcm.api.Annotation getAnnotation()
           
 java.lang.String getContent()
           
 org.w3c.dom.Node getDomContent()
           
 java.lang.String getFilename()
           
 java.lang.String getID()
           
 java.lang.String getISPermissions()
           
 com.filenet.wcm.api.Annotation getNewAnnotation(java.lang.String id)
          Returns annotation with the new ID in the F_ANNOTATEDID attribute for the PropDesc node.
 com.filenet.wcm.api.Permissions getPermissions()
           
 java.lang.String getState()
           
 void setAnnotation(com.filenet.wcm.api.Annotation note)
           
 void setContent(java.lang.String xmlString)
           
 void setContent(com.filenet.wcm.api.TransportInputStream inStream)
           
 void setFilename(java.lang.String filename)
           
 void setID(java.lang.String id)
           
 void setPermissions(com.filenet.wcm.api.Permissions perms)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BsoAnnotation

public BsoAnnotation(com.filenet.wcm.api.Annotation annotObj)

BsoAnnotation

public BsoAnnotation(org.w3c.dom.Node rootNode,
                     boolean isISServer)
Method Detail

setPermissions

public void setPermissions(com.filenet.wcm.api.Permissions perms)

setFilename

public void setFilename(java.lang.String filename)

setAnnotation

public void setAnnotation(com.filenet.wcm.api.Annotation note)

setContent

public void setContent(java.lang.String xmlString)
                throws java.lang.Exception

setID

public void setID(java.lang.String id)

getState

public java.lang.String getState()

setContent

public void setContent(com.filenet.wcm.api.TransportInputStream inStream)

getISPermissions

public java.lang.String getISPermissions()

getPermissions

public com.filenet.wcm.api.Permissions getPermissions()

getFilename

public java.lang.String getFilename()

getAnnotation

public com.filenet.wcm.api.Annotation getAnnotation()

getNewAnnotation

public com.filenet.wcm.api.Annotation getNewAnnotation(java.lang.String id)
Returns annotation with the new ID in the F_ANNOTATEDID attribute for the PropDesc node.
Returns:
Annotation object with the provided id in the F_ANNOTATEDID attribute.

getContent

public java.lang.String getContent()

getID

public java.lang.String getID()

getDomContent

public org.w3c.dom.Node getDomContent()
                               throws java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Collaboration API Documentation

Copyright ?2002 - 2005 FileNet Corporation. All rights reserved.