com.filenet.wcm.apps.server.util.webcontent
Class WebContentPropertiesUtil
java.lang.Object
com.filenet.wcm.apps.server.util.WcmPropertiesUtil
com.filenet.wcm.apps.server.util.WcmDesignerPropertiesUtil
com.filenet.wcm.apps.server.util.webcontent.WebContentPropertiesUtil
- public class WebContentPropertiesUtil
- extends WcmDesignerPropertiesUtil
Method Summary |
static org.w3c.dom.Document |
createWCMPropDescs(org.w3c.dom.Document propertiesDoc,
org.w3c.dom.Document propDescsDoc)
Updates the WCM entry template with the current property settings. |
static java.lang.String |
getOnApprovalDate()
Returns the on approval date in an iso format |
static void |
setReleaseDateToOnApproval(org.w3c.dom.Document propertiesXML)
|
static boolean |
updateWCMCategoriesProp(org.w3c.dom.Document propertiesXML,
java.lang.String newValue)
Updates the Property Document WCM Categories property with new value. |
boolean |
updateWCMPropDescs(org.w3c.dom.Document propDescsCE,
org.w3c.dom.Document propDescsET,
boolean includeAccessAttributes)
Update the property description xml with the meta data information specified in the WCM entry template
property description information. |
static java.util.List |
validateWCMDates(org.w3c.dom.Document propDescsXML,
org.w3c.dom.Document propertiesXML,
boolean excludeReleaseDate,
java.util.Locale locale)
|
static java.util.List |
validateWCMDates(com.filenet.wcm.toolkit.server.util.WcmEntryTemplate entryTemplate,
org.w3c.dom.Document propDescsXML,
org.w3c.dom.Document propertiesXML,
java.util.Locale locale)
|
Methods inherited from class com.filenet.wcm.apps.server.util.WcmDesignerPropertiesUtil |
addCompoundDocumentStatePropDesc, createPropDescs, getPropDescsList, getPropertiesList, isValidPropDesc, organizePropertyDescritionsByDisplayName, organizePropertyDescritionsBySymbolicName, setPropDescElementValue, setPropDescValue, setPropDescValue, updateEntryTemplatePropertiesXMLs, updateProp, updatePropDescs, updatePropDescs, updateProperty, updateProps, validate |
Methods inherited from class com.filenet.wcm.apps.server.util.WcmPropertiesUtil |
addAllPropValues, addDefaultValues, addPropValues, getCompoundDocumentState, getCustomObjectName, getDocumentName, getFolderName, getPropertiesUtil, getTopClassId, initializeClientProps, isEndNode, moveDown, moveDown, moveUp, moveUp, openExceptionPage, openExceptionPage, openExceptionPage, testFolderChars, updateComponentRelationshipClass, updateCustomObjectClass, updateDocClass, updateFolderClass, updateLinkClass, updateProp, updatePropChoice, updateProps, updateProps, updatePropValues, updateSecurityPolicyClass, validate, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebContentPropertiesUtil
public WebContentPropertiesUtil()
updateWCMPropDescs
public boolean updateWCMPropDescs(org.w3c.dom.Document propDescsCE,
org.w3c.dom.Document propDescsET,
boolean includeAccessAttributes)
throws java.lang.Exception
- Update the property description xml with the meta data information specified in the WCM entry template
property description information.
- Parameters:
propDescsCE
- The property descriptions as xml from the content engine.propDescsET
- The property descriptions as xml from the entry template.includeAccessAttributes
- if true then isReadonly, isHidden, and isValReq will copy to propDescCE from propDecET
- Returns:
- A boolean indicating if the property descriptions were changed
- Throws:
java.lang.Exception
- if there were errors updating the xml
createWCMPropDescs
public static org.w3c.dom.Document createWCMPropDescs(org.w3c.dom.Document propertiesDoc,
org.w3c.dom.Document propDescsDoc)
throws java.lang.Exception
- Updates the WCM entry template with the current property settings.
- Parameters:
propertiesDoc
- The properties XML Document.propDescsDoc
- The property descriptions XML Document.
- Returns:
- A boolean indicating if the properties were changed.
- Throws:
java.lang.Exception
updateWCMCategoriesProp
public static boolean updateWCMCategoriesProp(org.w3c.dom.Document propertiesXML,
java.lang.String newValue)
throws java.lang.Exception
- Updates the Property Document WCM Categories property with new value.
- Parameters:
propertiesXML
- The output XML Document.newValue
- The new value of the Categories property
- Returns:
- A boolean indicating if the Categories property was changed.
- Throws:
java.lang.Exception
setReleaseDateToOnApproval
public static void setReleaseDateToOnApproval(org.w3c.dom.Document propertiesXML)
throws java.lang.Exception
- Throws:
java.lang.Exception
getOnApprovalDate
public static java.lang.String getOnApprovalDate()
- Returns the on approval date in an iso format
- Returns:
- The iso date format of the on approval date.
validateWCMDates
public static java.util.List validateWCMDates(com.filenet.wcm.toolkit.server.util.WcmEntryTemplate entryTemplate,
org.w3c.dom.Document propDescsXML,
org.w3c.dom.Document propertiesXML,
java.util.Locale locale)
throws java.lang.Exception
- Throws:
java.lang.Exception
validateWCMDates
public static java.util.List validateWCMDates(org.w3c.dom.Document propDescsXML,
org.w3c.dom.Document propertiesXML,
boolean excludeReleaseDate,
java.util.Locale locale)
throws java.lang.Exception
- Throws:
java.lang.Exception
© Copyright IBM Corp. 2002, 2007. All Rights Reserved.