org.openwms.tms.service.delegate
Interface TransportOrderStateDelegate

All Known Implementing Classes:
DefaultOrderStateDelegate

public interface TransportOrderStateDelegate

A TransportOrderStateDelegate. Is called after state changes on a TransportOrder have been performed.

Since:
0.1
Version:
$Revision: 1409 $
Author:
Tina Russell

Method Summary
 void afterCreation(TransportUnit transportUnit)
          An action that should be triggered after a TransportOrder has been created.
 void afterFinish(Long id)
          An action that should be triggered after a TransportOrder has been finished successfully.
 void onCancel(Long id)
          An action that should be triggered after a TransportOrder has been canceled.
 void onFailure(Long id)
          An action that should be triggered after a TransportOrder has been set on failure.
 void onInterrupt(Long id)
          An action that should be triggered after a TransportOrder has been interrupted.
 

Method Detail

afterCreation

void afterCreation(TransportUnit transportUnit)
An action that should be triggered after a TransportOrder has been created.

Parameters:
transportUnit - The TransportUnit of the corresponding TransportOrder

onCancel

void onCancel(Long id)
An action that should be triggered after a TransportOrder has been canceled.

Parameters:
id - The id of the TransportOrder

afterFinish

void afterFinish(Long id)
An action that should be triggered after a TransportOrder has been finished successfully.

Parameters:
id - The id of the TransportOrder

onFailure

void onFailure(Long id)
An action that should be triggered after a TransportOrder has been set on failure.

Parameters:
id - The id of the TransportOrder

onInterrupt

void onInterrupt(Long id)
An action that should be triggered after a TransportOrder has been interrupted.

Parameters:
id - The id of the TransportOrder


Copyright © 2005-2011 openwms.org. All Rights Reserved.