Package com.ptc.netmarkets.util.misc
Class NmAction
java.lang.Object
com.ptc.netmarkets.util.misc.NmAction
- All Implemented Interfaces:
com.ptc.netmarkets.util.misc.NmFormatable,Serializable,Cloneable
public class NmAction
extends Object
implements Cloneable, com.ptc.netmarkets.util.misc.NmFormatable, Serializable
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Supported API: trueboolean
Supported API: trueboolean
Supported API: trueGets the value of the attribute: action; Action name
Supported API: trueGets the value of the attribute: actionClass; Class that implements a method to execute
Supported API: trueGets the value of the attribute: actionMethod; A method to execute
Supported API: truegetActionUrl(com.ptc.netmarkets.util.beans.NmActionBean actionBean, com.ptc.netmarkets.util.beans.NmLinkBean linkBean, com.ptc.netmarkets.util.beans.NmObjectBean objectBean, com.ptc.netmarkets.util.beans.NmLocaleBean localeBean, NmURLFactoryBean urlFactoryBean, com.ptc.netmarkets.util.beans.NmContextBean nmcontext, NmSessionBean sessionBean, Object request, String tableID, boolean useInserts) Gets the url element for the action
Supported API: truegetActionUrlExternal(com.ptc.netmarkets.util.beans.NmContextBean nmcontext)
Supported API: trueGets the value of the attribute: afterJS; js method to execute after action is clicked.Gets the value of the attribute: afterServerVK; Verification key to validate after a page is loaded.Gets the value of the attribute: ajaxClass; Class that implements a method to execute for server side validation.Gets the value of the attribute: ajaxMethod; A method to execute
Supported API: trueGets the value of the attribute: ajaxType; This tells us whether an action has been ajax enabled.Gets the value of the attribute: beforeJS; String js method to call
Supported API: trueGets the value of the attribute: beforeServerVK; Verification key to validate before a page is loaded.intGets the value of the attribute: CADProperty; Determines whether or not an action should be enable/disabled if a CAD client is detected to be the user-agent
Supported API: trueGets the value of the attribute: contextObject; Action name
Supported API: truegetDesc()Gets the value of the attribute: desc; Action description
Supported API: trueGets the value of the attribute: disabledIcon; Action icon
Supported API: trueGets the value of the attribute: divClass.Gets the value of the attribute: hotKey; Defines the hotkey to be used to automatically trigger the action to occur
Supported API: truegetHyperlink(com.ptc.netmarkets.util.beans.NmActionBean actionBean, com.ptc.netmarkets.util.beans.NmLinkBean linkBean, com.ptc.netmarkets.util.beans.NmObjectBean objectBean, com.ptc.netmarkets.util.beans.NmLocaleBean localeBean, NmURLFactoryBean urlFactoryBean, com.ptc.netmarkets.util.beans.NmContextBean nmcontext, NmSessionBean sessionBean, Object request) Gets the html elment for the action
Supported API: truegetIcon()Gets the value of the attribute: icon; Action icon gets an icon path relative to the codebase directory.Gets the value of the attribute: idName; The id of the link to use.Gets the value of the attribute: installType; Specifies which solution must be installed for this action to be valid
Supported API: trueGets the value of the attribute: moreURLInfo; Action name
Supported API: trueGets the value of the attribute: onClick; Optional onlcick javascript code to run on actions.Gets the value of the attribute: pageId; ID of the step, to be used by javascript functions to manipulate step attributes.Gets the value of the attribute: pageURL; Action name
Supported API: trueGets the value of the attribute: params.Gets the value of the attribute: postloadJS; js method to execute after wizard page is loaded.Gets the value of the attribute: preloadJS; String js method to call
Supported API: trueGets the value of the attribute: renderer; The class that will handle rendering this action to the UI.Gets the value of the attribute: renderType; Specifies which actions should be rendered by PDMLink or ProjectLink or xLink
Supported API: trueGets the value of the attribute: styleClass.getTitle()Gets the value of the attribute: title; Localized title of the action used for pages.Gets the value of the attribute: toolTip; Action description
Supported API: truegetType()Gets the value of the attribute: type; Action type
Supported API: trueGets the value of the attribute: uiComponent; Speficies the related Role-Based UI Component constant.getUrl()Gets the value of the attribute: url; The url to the page the action will go to.Gets the value of the attribute: windowType; Specifies whether the action is enabled
Supported API: truebooleanisButton()Gets the value of the attribute: button.booleanGets the value of the attribute: connector; Specifies whether the action is enabled
Supported API: truebooleanGets the value of the attribute: dynamicWizardPage; Specifies whether the page can be pre-loaded into the wizard.booleanGets the value of the attribute: enabled; Specifies whether the action is enabled
Supported API: truebooleanGets the value of the attribute: enabledWhenSuspended; Specifies whether the action is enabled
Supported API: truebooleanisHidden()Gets the value of the attribute: hidden; Specifies whether the page should be hidden by default in the wizard.booleanGets the value of the attribute: multiselect; Specifies whether the action is enabled
Supported API: truebooleanGets the value of the attribute: renderWhileHidden.booleanGets the value of the attribute: required; This tells us whether the wizard if the page has required information.booleanGets the value of the attribute: selected; Specifies whether the action is enabled
Supported API: truebooleanGets the value of the attribute: selectRequired; True or false.voidSets the value of the attribute: action; Action name
Supported API: truevoidsetActionClass(String a_ActionClass) Sets the value of the attribute: actionClass; Class that implements a method to execute
Supported API: truevoidsetActionMethod(String a_ActionMethod) Sets the value of the attribute: actionMethod; A method to execute
Supported API: truevoidsetAfterJS(String a_AfterJS) Sets the value of the attribute: afterJS; js method to execute after action is clicked.voidsetAfterServerVK(String a_AfterServerVK) Sets the value of the attribute: afterServerVK; Verification key to validate after a page is loaded.voidsetAjaxClass(String a_AjaxClass) Sets the value of the attribute: ajaxClass; Class that implements a method to execute for server side validation.voidsetAjaxMethod(String a_AjaxMethod) Sets the value of the attribute: ajaxMethod; A method to execute
Supported API: truevoidsetAjaxType(String a_AjaxType) Sets the value of the attribute: ajaxType; This tells us whether an action has been ajax enabled.voidsetBeforeJS(String a_BeforeJS) Sets the value of the attribute: beforeJS; String js method to call
Supported API: truevoidsetBeforeServerVK(String a_BeforeServerVK) Sets the value of the attribute: beforeServerVK; Verification key to validate before a page is loaded.voidsetButton(boolean a_Button) Sets the value of the attribute: button.voidsetCADProperty(int a_CADProperty) Sets the value of the attribute: CADProperty; Determines whether or not an action should be enable/disabled if a CAD client is detected to be the user-agent
Supported API: truevoidsetConnector(boolean a_Connector) Sets the value of the attribute: connector; Specifies whether the action is enabled
Supported API: truevoidsetContextObject(NmOid a_ContextObject) Sets the value of the attribute: contextObject; Action name
Supported API: truevoidSets the value of the attribute: desc; Action description
Supported API: truevoidsetDisabledIcon(String a_DisabledIcon) Sets the value of the attribute: disabledIcon; Action icon
Supported API: truevoidsetDivClass(String a_DivClass) Sets the value of the attribute: divClass.voidsetDynamicWizardPage(boolean a_DynamicWizardPage) Sets the value of the attribute: dynamicWizardPage; Specifies whether the page can be pre-loaded into the wizard.voidsetEnabled(boolean a_Enabled) Sets the value of the attribute: enabled; Specifies whether the action is enabled
Supported API: truevoidsetEnabledWhenSuspended(boolean a_EnabledWhenSuspended) Sets the value of the attribute: enabledWhenSuspended; Specifies whether the action is enabled
Supported API: truevoidsetHidden(boolean a_Hidden) Sets the value of the attribute: hidden; Specifies whether the page should be hidden by default in the wizard.voidSets the value of the attribute: hotKey; Defines the hotkey to be used to automatically trigger the action to occur
Supported API: truevoidSets the value of the attribute: icon; Action icon
Supported API: truevoidSets the value of the attribute: idName; The id of the link to use.voidsetInstallType(String a_InstallType) Sets the value of the attribute: installType; Specifies which solution must be installed for this action to be valid
Supported API: truevoidsetMoreURLInfo(String a_MoreURLInfo) Sets the value of the attribute: moreURLInfo; Action name
Supported API: truevoidsetMultiselect(boolean a_Multiselect) Sets the value of the attribute: multiselect; Specifies whether the action is enabled
Supported API: truevoidsetOnClick(String a_OnClick) Sets the value of the attribute: onClick; Optional onlcick javascript code to run on actions.voidSets the value of the attribute: pageId; ID of the step, to be used by javascript functions to manipulate step attributes.voidsetPageURL(String a_PageURL) Sets the value of the attribute: pageURL; Action name
Supported API: truevoidSets the value of the attribute: params.voidsetPostloadJS(String a_PostloadJS) Sets the value of the attribute: postloadJS; js method to execute after wizard page is loaded.voidsetPreloadJS(String a_PreloadJS) Sets the value of the attribute: preloadJS; String js method to call
Supported API: truevoidsetRenderer(String a_Renderer) Sets the value of the attribute: renderer; The class that will handle rendering this action to the UI.voidsetRenderType(String a_RenderType) Sets the value of the attribute: renderType; Specifies which actions should be rendered by PDMLink or ProjectLink or xLink
Supported API: truevoidsetRenderWhileHidden(boolean a_RenderWhileHidden) Sets the value of the attribute: renderWhileHidden.voidsetRequired(boolean a_Required) Sets the value of the attribute: required; This tells us whether the wizard if the page has required information.voidsetSelected(boolean a_Selected) Sets the value of the attribute: selected; Specifies whether the action is enabled
Supported API: truevoidsetSelectRequired(boolean a_SelectRequired) Sets the value of the attribute: selectRequired; True or false.voidsetStyleClass(String a_StyleClass) Sets the value of the attribute: styleClass.voidSets the value of the attribute: title; Localized title of the action used for pages.voidsetToolTip(String a_ToolTip) Sets the value of the attribute: toolTip; Action description
Supported API: truevoidSets the value of the attribute: type; Action type
Supported API: truevoidsetUiComponent(String a_UiComponent) Sets the value of the attribute: uiComponent; Speficies the related Role-Based UI Component constant.voidSets the value of the attribute: url; The url to the page the action will go to.voidsetWindowType(String a_WindowType) Sets the value of the attribute: windowType; Specifies whether the action is enabled
Supported API: true
-
Method Details
-
getActionClass
Gets the value of the attribute: actionClass; Class that implements a method to execute
Supported API: true- Returns:
- String
-
setActionClass
Sets the value of the attribute: actionClass; Class that implements a method to execute
Supported API: true- Parameters:
a_ActionClass-
-
getActionMethod
Gets the value of the attribute: actionMethod; A method to execute
Supported API: true- Returns:
- String
-
setActionMethod
Sets the value of the attribute: actionMethod; A method to execute
Supported API: true- Parameters:
a_ActionMethod-
-
getType
Gets the value of the attribute: type; Action type
Supported API: true- Returns:
- String
-
setType
Sets the value of the attribute: type; Action type
Supported API: true- Parameters:
a_Type-
-
getAction
Gets the value of the attribute: action; Action name
Supported API: true- Returns:
- String
-
setAction
Sets the value of the attribute: action; Action name
Supported API: true- Parameters:
a_Action-
-
getDesc
Gets the value of the attribute: desc; Action description
Supported API: true- Returns:
- String
-
setDesc
Sets the value of the attribute: desc; Action description
Supported API: true- Parameters:
a_Desc-
-
getIcon
Gets the value of the attribute: icon; Action icon gets an icon path relative to the codebase directory. Assumes icon is in /netmarkets/images/ unless the path starts with "wt", "wtcore", "com", or if a property for custom action image location has been set.
Supported API: true- Returns:
- String
-
setIcon
Sets the value of the attribute: icon; Action icon
Supported API: true- Parameters:
a_Icon-
-
getDisabledIcon
Gets the value of the attribute: disabledIcon; Action icon
Supported API: true- Returns:
- String
-
setDisabledIcon
Sets the value of the attribute: disabledIcon; Action icon
Supported API: true- Parameters:
a_DisabledIcon-
-
isEnabled
public boolean isEnabled()Gets the value of the attribute: enabled; Specifies whether the action is enabled
Supported API: true- Returns:
- boolean
-
setEnabled
public void setEnabled(boolean a_Enabled) Sets the value of the attribute: enabled; Specifies whether the action is enabled
Supported API: true- Parameters:
a_Enabled-
-
getWindowType
Gets the value of the attribute: windowType; Specifies whether the action is enabled
Supported API: true- Returns:
- String
-
setWindowType
Sets the value of the attribute: windowType; Specifies whether the action is enabled
Supported API: true- Parameters:
a_WindowType-
-
isMultiselect
public boolean isMultiselect()Gets the value of the attribute: multiselect; Specifies whether the action is enabled
Supported API: true- Returns:
- boolean
-
setMultiselect
public void setMultiselect(boolean a_Multiselect) Sets the value of the attribute: multiselect; Specifies whether the action is enabled
Supported API: true- Parameters:
a_Multiselect-
-
getPageURL
Gets the value of the attribute: pageURL; Action name
Supported API: true- Returns:
- String
-
setPageURL
Sets the value of the attribute: pageURL; Action name
Supported API: true- Parameters:
a_PageURL-
-
getParams
Gets the value of the attribute: params.
Supported API: true- Returns:
- HashMap
-
setParams
Sets the value of the attribute: params.
Supported API: true- Parameters:
a_Params-
-
getMoreURLInfo
Gets the value of the attribute: moreURLInfo; Action name
Supported API: true- Returns:
- String
-
setMoreURLInfo
Sets the value of the attribute: moreURLInfo; Action name
Supported API: true- Parameters:
a_MoreURLInfo-
-
isSelected
public boolean isSelected()Gets the value of the attribute: selected; Specifies whether the action is enabled
Supported API: true- Returns:
- boolean
-
setSelected
public void setSelected(boolean a_Selected) Sets the value of the attribute: selected; Specifies whether the action is enabled
Supported API: true- Parameters:
a_Selected-
-
isConnector
public boolean isConnector()Gets the value of the attribute: connector; Specifies whether the action is enabled
Supported API: true- Returns:
- boolean
-
setConnector
public void setConnector(boolean a_Connector) Sets the value of the attribute: connector; Specifies whether the action is enabled
Supported API: true- Parameters:
a_Connector-
-
getContextObject
Gets the value of the attribute: contextObject; Action name
Supported API: true- Returns:
- NmOid
-
setContextObject
Sets the value of the attribute: contextObject; Action name
Supported API: true- Parameters:
a_ContextObject-
-
getToolTip
Gets the value of the attribute: toolTip; Action description
Supported API: true- Returns:
- String
-
setToolTip
Sets the value of the attribute: toolTip; Action description
Supported API: true- Parameters:
a_ToolTip-
-
isEnabledWhenSuspended
public boolean isEnabledWhenSuspended()Gets the value of the attribute: enabledWhenSuspended; Specifies whether the action is enabled
Supported API: true- Returns:
- boolean
-
setEnabledWhenSuspended
public void setEnabledWhenSuspended(boolean a_EnabledWhenSuspended) Sets the value of the attribute: enabledWhenSuspended; Specifies whether the action is enabled
Supported API: true- Parameters:
a_EnabledWhenSuspended-
-
isButton
public boolean isButton()Gets the value of the attribute: button.
Supported API: true- Returns:
- boolean
-
setButton
public void setButton(boolean a_Button) Sets the value of the attribute: button.
Supported API: true- Parameters:
a_Button-
-
getCADProperty
public int getCADProperty()Gets the value of the attribute: CADProperty; Determines whether or not an action should be enable/disabled if a CAD client is detected to be the user-agent
Supported API: true- Returns:
- int
-
setCADProperty
public void setCADProperty(int a_CADProperty) Sets the value of the attribute: CADProperty; Determines whether or not an action should be enable/disabled if a CAD client is detected to be the user-agent
Supported API: true- Parameters:
a_CADProperty-
-
getRenderType
Gets the value of the attribute: renderType; Specifies which actions should be rendered by PDMLink or ProjectLink or xLink
Supported API: true- Returns:
- String
-
setRenderType
Sets the value of the attribute: renderType; Specifies which actions should be rendered by PDMLink or ProjectLink or xLink
Supported API: true- Parameters:
a_RenderType-
-
getUrl
Gets the value of the attribute: url; The url to the page the action will go to.
Supported API: true- Returns:
- String
-
setUrl
Sets the value of the attribute: url; The url to the page the action will go to.
Supported API: true- Parameters:
a_Url-
-
getIdName
Gets the value of the attribute: idName; The id of the link to use.
Supported API: true- Returns:
- String
-
setIdName
Sets the value of the attribute: idName; The id of the link to use.
Supported API: true- Parameters:
a_IdName-
-
getInstallType
Gets the value of the attribute: installType; Specifies which solution must be installed for this action to be valid
Supported API: true- Returns:
- String
-
setInstallType
Sets the value of the attribute: installType; Specifies which solution must be installed for this action to be valid
Supported API: true- Parameters:
a_InstallType-
-
getUiComponent
Gets the value of the attribute: uiComponent; Speficies the related Role-Based UI Component constant. It may be null if no UI Component is related to this action.
Supported API: true- Returns:
- String
-
setUiComponent
Sets the value of the attribute: uiComponent; Speficies the related Role-Based UI Component constant. It may be null if no UI Component is related to this action.
Supported API: true- Parameters:
a_UiComponent-
-
getAjaxType
Gets the value of the attribute: ajaxType; This tells us whether an action has been ajax enabled. It is passed as a parameter to handleDynamicAction in main.js.
Supported API: true- Returns:
- String
-
setAjaxType
Sets the value of the attribute: ajaxType; This tells us whether an action has been ajax enabled. It is passed as a parameter to handleDynamicAction in main.js. While the default value is "component", setting a value of null or "" or "true" will also result in a "component" type
Supported API: true- Parameters:
a_AjaxType-
-
getAjaxClass
Gets the value of the attribute: ajaxClass; Class that implements a method to execute for server side validation.
Supported API: true- Returns:
- String
-
setAjaxClass
Sets the value of the attribute: ajaxClass; Class that implements a method to execute for server side validation.
Supported API: true- Parameters:
a_AjaxClass-
-
getAjaxMethod
Gets the value of the attribute: ajaxMethod; A method to execute
Supported API: true- Returns:
- String
-
setAjaxMethod
Sets the value of the attribute: ajaxMethod; A method to execute
Supported API: true- Parameters:
a_AjaxMethod-
-
getBeforeJS
Gets the value of the attribute: beforeJS; String js method to call
Supported API: true- Returns:
- String
-
setBeforeJS
Sets the value of the attribute: beforeJS; String js method to call
Supported API: true- Parameters:
a_BeforeJS-
-
getAfterJS
Gets the value of the attribute: afterJS; js method to execute after action is clicked.
Supported API: true- Returns:
- String
-
setAfterJS
Sets the value of the attribute: afterJS; js method to execute after action is clicked.
Supported API: true- Parameters:
a_AfterJS-
-
isDynamicWizardPage
public boolean isDynamicWizardPage()Gets the value of the attribute: dynamicWizardPage; Specifies whether the page can be pre-loaded into the wizard.
Supported API: true- Returns:
- boolean
-
setDynamicWizardPage
public void setDynamicWizardPage(boolean a_DynamicWizardPage) Sets the value of the attribute: dynamicWizardPage; Specifies whether the page can be pre-loaded into the wizard.
Supported API: true- Parameters:
a_DynamicWizardPage-
-
isHidden
public boolean isHidden()Gets the value of the attribute: hidden; Specifies whether the page should be hidden by default in the wizard.
Supported API: true- Returns:
- boolean
-
setHidden
public void setHidden(boolean a_Hidden) Sets the value of the attribute: hidden; Specifies whether the page should be hidden by default in the wizard.
Supported API: true- Parameters:
a_Hidden-
-
getHotKey
Gets the value of the attribute: hotKey; Defines the hotkey to be used to automatically trigger the action to occur
Supported API: true- Returns:
- String
-
setHotKey
Sets the value of the attribute: hotKey; Defines the hotkey to be used to automatically trigger the action to occur
Supported API: true- Parameters:
a_HotKey-
-
getBeforeServerVK
Gets the value of the attribute: beforeServerVK; Verification key to validate before a page is loaded.
Supported API: true- Returns:
- String
-
setBeforeServerVK
Sets the value of the attribute: beforeServerVK; Verification key to validate before a page is loaded.
Supported API: true- Parameters:
a_BeforeServerVK-
-
getAfterServerVK
Gets the value of the attribute: afterServerVK; Verification key to validate after a page is loaded.
Supported API: true- Returns:
- String
-
setAfterServerVK
Sets the value of the attribute: afterServerVK; Verification key to validate after a page is loaded.
Supported API: true- Parameters:
a_AfterServerVK-
-
isRequired
public boolean isRequired()Gets the value of the attribute: required; This tells us whether the wizard if the page has required information. The wizard cannot be closed until this step is visited.
Supported API: true- Returns:
- boolean
-
setRequired
public void setRequired(boolean a_Required) Sets the value of the attribute: required; This tells us whether the wizard if the page has required information. The wizard cannot be closed until this step is visited.
Supported API: true- Parameters:
a_Required-
-
getPageId
Gets the value of the attribute: pageId; ID of the step, to be used by javascript functions to manipulate step attributes.
Supported API: true- Returns:
- String
-
setPageId
Sets the value of the attribute: pageId; ID of the step, to be used by javascript functions to manipulate step attributes.
Supported API: true- Parameters:
a_PageId-
-
getPreloadJS
Gets the value of the attribute: preloadJS; String js method to call
Supported API: true- Returns:
- String
-
setPreloadJS
Sets the value of the attribute: preloadJS; String js method to call
Supported API: true- Parameters:
a_PreloadJS-
-
getPostloadJS
Gets the value of the attribute: postloadJS; js method to execute after wizard page is loaded.
Supported API: true- Returns:
- String
-
setPostloadJS
Sets the value of the attribute: postloadJS; js method to execute after wizard page is loaded.
Supported API: true- Parameters:
a_PostloadJS-
-
getTitle
Gets the value of the attribute: title; Localized title of the action used for pages.
Supported API: true- Returns:
- String
-
setTitle
Sets the value of the attribute: title; Localized title of the action used for pages.
Supported API: true- Parameters:
a_Title-
-
isSelectRequired
public boolean isSelectRequired()Gets the value of the attribute: selectRequired; True or false. This tells us whether an action requires at least one row be selected in a table.
Supported API: true- Returns:
- boolean
-
setSelectRequired
public void setSelectRequired(boolean a_SelectRequired) Sets the value of the attribute: selectRequired; True or false. This tells us whether an action requires at least one row be selected in a table.
Supported API: true- Parameters:
a_SelectRequired-
-
getOnClick
Gets the value of the attribute: onClick; Optional onlcick javascript code to run on actions. This only effects the action when it's rendered as a button or Hyperlink, Not when it's in a menu.
Supported API: true- Returns:
- String
-
setOnClick
Sets the value of the attribute: onClick; Optional onlcick javascript code to run on actions. This only effects the action when it's rendered as a button or Hyperlink, Not when it's in a menu.
Supported API: true- Parameters:
a_OnClick-
-
getRenderer
Gets the value of the attribute: renderer; The class that will handle rendering this action to the UI. The class must implement com.ptc.netmarkets.util.misc.ActionRenderer
Supported API: true- Returns:
- String
-
setRenderer
Sets the value of the attribute: renderer; The class that will handle rendering this action to the UI. The class must implement com.ptc.netmarkets.util.misc.ActionRenderer
Supported API: true- Parameters:
a_Renderer-
-
copy
Supported API: true- Returns:
- NmAction
-
enableForCAD
Supported API: true- Returns:
- boolean
- Throws:
WTException
-
disableForCAD
Supported API: true- Returns:
- boolean
- Throws:
WTException
-
getDivClass
Gets the value of the attribute: divClass.
Supported API: true- Specified by:
getDivClassin interfacecom.ptc.netmarkets.util.misc.NmFormatable- Returns:
- String
-
setDivClass
Sets the value of the attribute: divClass.
Supported API: true- Specified by:
setDivClassin interfacecom.ptc.netmarkets.util.misc.NmFormatable- Parameters:
a_DivClass-
-
isRenderWhileHidden
public boolean isRenderWhileHidden()Gets the value of the attribute: renderWhileHidden.
Supported API: true- Specified by:
isRenderWhileHiddenin interfacecom.ptc.netmarkets.util.misc.NmFormatable- Returns:
- boolean
-
setRenderWhileHidden
public void setRenderWhileHidden(boolean a_RenderWhileHidden) Sets the value of the attribute: renderWhileHidden.
Supported API: true- Specified by:
setRenderWhileHiddenin interfacecom.ptc.netmarkets.util.misc.NmFormatable- Parameters:
a_RenderWhileHidden-
-
getStyleClass
Gets the value of the attribute: styleClass.
Supported API: true- Returns:
- String
-
setStyleClass
Sets the value of the attribute: styleClass.
Supported API: true- Parameters:
a_StyleClass-
-
getHyperlink
public String getHyperlink(com.ptc.netmarkets.util.beans.NmActionBean actionBean, com.ptc.netmarkets.util.beans.NmLinkBean linkBean, com.ptc.netmarkets.util.beans.NmObjectBean objectBean, com.ptc.netmarkets.util.beans.NmLocaleBean localeBean, NmURLFactoryBean urlFactoryBean, com.ptc.netmarkets.util.beans.NmContextBean nmcontext, NmSessionBean sessionBean, Object request) throws Exception Gets the html elment for the action
Supported API: true- Throws:
Exception
-
getActionUrl
public String getActionUrl(com.ptc.netmarkets.util.beans.NmActionBean actionBean, com.ptc.netmarkets.util.beans.NmLinkBean linkBean, com.ptc.netmarkets.util.beans.NmObjectBean objectBean, com.ptc.netmarkets.util.beans.NmLocaleBean localeBean, NmURLFactoryBean urlFactoryBean, com.ptc.netmarkets.util.beans.NmContextBean nmcontext, NmSessionBean sessionBean, Object request, String tableID, boolean useInserts) throws Exception Gets the url element for the action
Supported API: true- Throws:
Exception
-
getActionUrlExternal
public String getActionUrlExternal(com.ptc.netmarkets.util.beans.NmContextBean nmcontext) throws Exception
Supported API: true- Throws:
Exception
-