com.ptc.netmarkets.util.misc
Class StandardNmActionService

java.lang.Object
  extended by wt.services.StandardManager
      extended by com.ptc.netmarkets.util.misc.StandardNmActionService
All Implemented Interfaces:
NmActionService, Serializable, NetFactor, wt.services.Manager

public class StandardNmActionService
extends StandardManager
implements NmActionService, Serializable

Use the newStandardNmActionService static factory method(s), not the StandardNmActionService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: true

See Also:
Serialized Form

Method Summary
 NmAction getValidatedAction(String type, String actionName, NmCommandBean commandBean)
          performs the same functionality as calling getAction(String, String), and then calling the UI Validation Service to valiadate the action

Supported API: true
 
Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getValidatedAction

public NmAction getValidatedAction(String type,
                                   String actionName,
                                   NmCommandBean commandBean)
                            throws WTException
performs the same functionality as calling getAction(String, String), and then calling the UI Validation Service to valiadate the action

Supported API: true

Specified by:
getValidatedAction in interface NmActionService
Parameters:
type - the name attribute of the action's objectType in actions.xml
actionName - the name of the acton from actions.xml
commandBean - the NmCommandBean instance containing the request data in context
Returns:
NmAction
Throws:
WTException