Class RevisionJSDataHandler
java.lang.Object
com.ptc.windchill.enterprise.revise.processors.handler.RevisionJSDataHandler
- All Implemented Interfaces:
com.ptc.core.htmlcomp.jstable.JSDataHandler
- Direct Known Subclasses:
DefaultRevisionJSDataHandler
public abstract class RevisionJSDataHandler
extends Object
implements com.ptc.core.htmlcomp.jstable.JSDataHandler
Abstract Data Handler for the "New Revision" column in the revise wizard.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptioncom.ptc.core.htmlcomp.jstable.JSPropertyValuegetJSPropertyValue(String attribute, Locale locale, Object object, com.ptc.core.htmlcomp.jstable.JSDataObject rowobj) Using the attribute calls either thegetNewRevisionJSDataorgetRevisionOverrideAllowedJSDatamethods.abstract com.ptc.core.htmlcomp.jstable.JSPropertyValuegetNewRevisionJSData(String attribute, Locale locale, Object object, com.ptc.core.htmlcomp.jstable.JSDataObject rowobj) Handles the New Revision Column value.abstract com.ptc.core.htmlcomp.jstable.JSPropertyValuegetRevisionOverrideAllowedJSData(String attribute, Locale locale, Object object, com.ptc.core.htmlcomp.jstable.JSDataObject rowobj) Checks if user is allowed to override the New Revision Column value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ptc.core.htmlcomp.jstable.JSDataHandler
init
-
Method Details
-
getJSPropertyValue
public com.ptc.core.htmlcomp.jstable.JSPropertyValue getJSPropertyValue(String attribute, Locale locale, Object object, com.ptc.core.htmlcomp.jstable.JSDataObject rowobj) throws WTException Using the attribute calls either thegetNewRevisionJSDataorgetRevisionOverrideAllowedJSDatamethods. UseReviseConstants.NEW_REVISION_COLUMN_IDcallgetNewRevisionJSDataandReviseConstants.ISREVISIONOVERRIDEALLOWEDto callgetRevisionOverrideAllowedJSData.
Supported API: true- Specified by:
getJSPropertyValuein interfacecom.ptc.core.htmlcomp.jstable.JSDataHandler- Parameters:
attribute-locale-object- The row object.rowobj- The row object.- Returns:
- The boolean property value
JSBooleanPropertyValuefor the new revision column. - Throws:
WTException
-
getNewRevisionJSData
public abstract com.ptc.core.htmlcomp.jstable.JSPropertyValue getNewRevisionJSData(String attribute, Locale locale, Object object, com.ptc.core.htmlcomp.jstable.JSDataObject rowobj) throws WTException Handles the New Revision Column value.
Supported API: true- Parameters:
attribute-locale-object- The row object.rowobj- The row object.- Returns:
- The string property value
JSStringPropertyValuefor the new revision column. - Throws:
WTException
-
getRevisionOverrideAllowedJSData
public abstract com.ptc.core.htmlcomp.jstable.JSPropertyValue getRevisionOverrideAllowedJSData(String attribute, Locale locale, Object object, com.ptc.core.htmlcomp.jstable.JSDataObject rowobj) throws WTException Checks if user is allowed to override the New Revision Column value.
Supported API: true- Parameters:
attribute-locale-object- The row object.rowobj- The row object.- Returns:
- The boolean property value
JSBooleanPropertyValuefor the new revision column. - Throws:
WTException
-