public class CreateReturnForOrderAction extends org.eclipse.jface.action.Action implements IModelListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String | VAL_NEW_RMAID
RmaId to be passed to command to create new return with items
|
Constructor and Description |
---|
CreateReturnForOrderAction()
Creates a new action.
|
Modifier and Type | Method and Description |
---|---|
protected void | createEmptyReturn(Customer customer, Return return_)
This method initiates the create return container request to the model.
|
protected TelesalesProperties | getCreateReturnParameters(Return return_)
This method constructs the parameters for the create Returns data access object.
|
java.lang.String | getHelpId()
This method returns the help id of this action.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
protected Line[] | retrieveOrderItems(Order order)
This method retrieves the order items from server.
|
void | run()
This method performs this action.
|
protected void | updateEnablement()
This method checks for Return Reasons,If Return Reasons where not available.
|
public static final java.lang.String VAL_NEW_RMAID
public CreateReturnForOrderAction()
protected void updateEnablement()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void run()
protected Line[] retrieveOrderItems(Order order)
protected void createEmptyReturn(Customer customer, Return return_)
protected TelesalesProperties getCreateReturnParameters(Return return_)