Package com.dassault_systemes.enovwebsrvr.ews0infra.interfaces

   
Interface ENOVICommand

 
Class Hierarchy
com.dassault_systemes.enovwebsrvr.ews0infra.interfaces.ENOVICommand
Class Location

Framework : ENOVWebSrvr

Module : EWS0Infra

Class Description

public interface ENOVICommand

Field Summary

Constructor Summary

Method Summary
void setCommandName(String commandName)
String getCommandName()
void setObject(String objectUUID)
String getObject()
void addParameter(String param, Object value)
void addObjectParameter(String param, ENOVIDataObject iObject)
boolean execute()
String[] getMessages()
ENOVIDataObject[] getResults()
String[] getResultNames()
Object getResultValue(String name)


Field Detail

Constructor Detail

Method Detail

setCommandName

    void setCommandName(String commandName)

Set the unique command name


getCommandName

    String getCommandName()

Get the command name


setObject

    void setObject(String objectUUID)

Set the uuid of the object on which the command acts


getObject

    String getObject()

Get the uuid of the object on which the command acts


addParameter

    void addParameter(String param, Object value)

Set the parameters and their values used by the command


addObjectParameter

    void addObjectParameter(String param, ENOVIDataObject iObject)

Sets the object parameter only using the uuid of the given object


execute

    boolean execute()

execute the command


getMessages

    String[] getMessages()

get any messages created as a result of executing the command


getResults

    ENOVIDataObject[] getResults()

return a list of that resulting from executing the command


getResultNames

    String[] getResultNames()

return a list of return parameter names


getResultValue

    Object getResultValue(String name)

Get the value of a returned parameters



Copyright © 2000, Dassault Systèmes. All rights reserved