com.filenet.wcm.apps.server.util.webcontent
Class CFWUtil
- java.lang.Object
com.filenet.wcm.apps.server.util.webcontent.CFWUtil
- public class CFWUtil
- extends java.lang.Object
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
cfwSourceMimeTypes
|
Constructor Summary
| Constructor and Description |
|---|
CFWUtil()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
getCFWPropDescsXML(org.w3c.dom.Document propDescsXML,java.lang.String[] processorChoices)
|
|
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.
|
|
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.
|
|
isDocumentValidForCFW(WcmAuthoringState authState,WcmWorkplaceConfig config)
Returns true if the selected document defined by the authoring state data is valid for a convert for web.
|
|
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
- public static final java.util.Set cfwSourceMimeTypes
Constructor Detail
CFWUtil
- public CFWUtil()
Method Detail
getTargetLinksXML
- public static org.w3c.dom.Document getTargetLinksXML( org.w3c.dom.Document targetLinksXML,
- java.lang.String[] selectedLinks)
- 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.ExceptiongetTargetLinksXML
- public static org.w3c.dom.Document getTargetLinksXML( org.w3c.dom.Document targetLinksXML,
- java.lang.String objectId)
- 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.ExceptionupdateTargetLinkXML
- public static void updateTargetLinkXML( org.w3c.dom.Document targetLinksXML,
- org.w3c.dom.Document newTargetLinksXML)
- 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.ExceptionisDocumentValidForCFW
- public static 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.
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
- public static org.w3c.dom.Document getCFWPropDescsXML( org.w3c.dom.Document propDescsXML,
- java.lang.String[] processorChoices)
- throws java.lang.Exception
Throws:
java.lang.Exception