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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BsoAnnotation
public BsoAnnotation(com.filenet.wcm.api.Annotation annotObj)
BsoAnnotation
public BsoAnnotation(org.w3c.dom.Node rootNode,
boolean isISServer)
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
Copyright ?2002 - 2005 FileNet Corporation. All rights reserved.