com.softwareag.mdm.service
Interface ProcedureResult


public interface ProcedureResult

Represents the result of a procedure's peculiar execution .

See Also:
ServiceContext.execute(Procedure), ProgrammaticService.execute(Procedure)

Method Summary
 OperationException getException()
          Returns the exception thrown if procedure has failed, null otherwise.
 String getExceptionFullMessage(Locale aLocale)
          Returns a full user message about the internal exception if procedure has failed, null otherwise.
 Date getExecutionTimestamp()
          Returns the timestamp of the procedure execution.
 String getExecutionUUIDString()
          Returns a universally unique identifier (UUID) of the procedure execution.
 boolean hasFailed()
          Returns true if the execution has failed.
 

Method Detail

hasFailed

public boolean hasFailed()
Returns true if the execution has failed.


getException

public OperationException getException()
Returns the exception thrown if procedure has failed, null otherwise.


getExceptionFullMessage

public String getExceptionFullMessage(Locale aLocale)
Returns a full user message about the internal exception if procedure has failed, null otherwise.

The message is localized and it includes also the possible causes.


getExecutionTimestamp

public Date getExecutionTimestamp()
Returns the timestamp of the procedure execution.

See Also:
ProcedureContext.getExecutionTimestamp()

getExecutionUUIDString

public String getExecutionUUIDString()
Returns a universally unique identifier (UUID) of the procedure execution.

See Also:
ProcedureContext.getExecutionUUIDString()


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.