com.filenet.wcm.apps.server.util.webcontent

Class CFWUtil

  1. java.lang.Object
  2. extended bycom.filenet.wcm.apps.server.util.webcontent.CFWUtil

  1. public class CFWUtil
  2. extends java.lang.Object

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.util.Set
cfwSourceMimeTypes

Constructor Summary

Constructor and Description
CFWUtil()

Method Summary

Modifier and Type Method and Description
  1. static
  2. org.w3c.dom.Document
getCFWPropDescsXML(org.w3c.dom.Document propDescsXML,java.lang.String[] processorChoices)
  1. static
  2. org.w3c.dom.Document
getTargetLinksXML(org.w3c.dom.Document targetLinksXML,java.lang.String objectId)
Returns a target links XML for the selected item so that it can be used in the reconvert for web.
  1. static
  2. org.w3c.dom.Document
getTargetLinksXML(org.w3c.dom.Document targetLinksXML,java.lang.String[] selectedLinks)
Returns a target links XML for the selected items so that it can be used in the reconvert for web.
  1. static
  2. boolean
isDocumentValidForCFW(WcmAuthoringState authState,WcmWorkplaceConfig config)
Returns true if the selected document defined by the authoring state data is valid for a convert for web.
  1. static
  2. void
updateTargetLinkXML(org.w3c.dom.Document targetLinksXML,org.w3c.dom.Document newTargetLinksXML)
Updates the target links XML properties and permissions.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

cfwSourceMimeTypes

  1. public static final java.util.Set cfwSourceMimeTypes

Constructor Detail

CFWUtil

  1. public CFWUtil()

Method Detail

getTargetLinksXML

  1. public static org.w3c.dom.Document getTargetLinksXML( org.w3c.dom.Document targetLinksXML,
  2. java.lang.String[] selectedLinks)
  3. throws java.lang.Exception
Returns a target links XML for the selected items so that it can be used in the reconvert for web.
Parameters:
targetLinksXML - Document The source target links XML.
selectedLinks - String[] An string array holding the selected target link ids.
Returns:
Document Object that represents the target links XML
Throws:
java.lang.Exception

getTargetLinksXML

  1. public static org.w3c.dom.Document getTargetLinksXML( org.w3c.dom.Document targetLinksXML,
  2. java.lang.String objectId)
  3. throws java.lang.Exception
Returns a target links XML for the selected item so that it can be used in the reconvert for web.
Parameters:
targetLinksXML - Document The source target links XML.
objectId - String A target link object id.
Returns:
Document Object that represents the target links XML
Throws:
java.lang.Exception

updateTargetLinkXML

  1. public static void updateTargetLinkXML( org.w3c.dom.Document targetLinksXML,
  2. org.w3c.dom.Document newTargetLinksXML)
  3. throws java.lang.Exception
Updates the target links XML properties and permissions.
Parameters:
targetLinksXML - Document The source target links XML.
newTargetLinksXML - Document DOM Document holding the new target links XML
Throws:
java.lang.Exception

isDocumentValidForCFW

  1. public static boolean isDocumentValidForCFW( WcmAuthoringState authState,
  2. WcmWorkplaceConfig config)
Returns true if the selected document defined by the authoring state data is valid for a convert for web.
Parameters:
authState - WcmAuthoringState holding the selected document data.
config - WcmWorkplaceConfig holding the site preference configurations
Returns:
boolean true if it is okay to do a convert for web.

getCFWPropDescsXML

  1. public static org.w3c.dom.Document getCFWPropDescsXML( org.w3c.dom.Document propDescsXML,
  2. java.lang.String[] processorChoices)
  3. throws java.lang.Exception
Throws:
java.lang.Exception