Package com.ptc.core.components.forms
Class DynamicNmContextRefreshInfo
java.lang.Object
com.ptc.core.components.forms.DynamicRefreshInfo
com.ptc.core.components.forms.DynamicNmContextRefreshInfo
- All Implemented Interfaces:
Serializable
Allow NmContexts to be specified for tree updates for cases where a single oid may be repeated in the page.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ptc.core.components.forms.DynamicRefreshInfo
DynamicRefreshInfo.Action -
Constructor Summary
ConstructorsConstructorDescriptionDynamicNmContextRefreshInfo(NmOid oid, NmOid locationOid, String actionName) Used to specify which rows in the table/tree need to be created/updated/deleted. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLocationPath(String locationPath) Sets node path in tree
Supported API: trueMethods inherited from class com.ptc.core.components.forms.DynamicRefreshInfo
getAction, getActionEnum, getAdditionalRefreshInfo, setAction, setAction, setLocation, setOid, toString
-
Constructor Details
-
DynamicNmContextRefreshInfo
Used to specify which rows in the table/tree need to be created/updated/deleted. If the oid and parent oid are not enough to uniquely identify the row to create/update/delete (this may happen for trees that have multiple rows with the same oid) then aDynamicNmContextRefreshInfomust be used instead of this class to supply the full context.
For detailed description check:DynamicRefreshInfo(NmOid oid, NmOid locationOid, Action action)
Supported API: true- Parameters:
oid- - the oid that was just created/updated/deleted. (the new oid in the case of update)locationOid- - the oid of the parent location where the object was just created/deleted in a tree, or the oid of the original in the case of update, or just null otherwiseactionName- - an action nameDynamicRefreshInfo.Action
-
-
Method Details
-
setLocationPath
Sets node path in tree
Supported API: true- Parameters:
locationPath- the node path
-