BrightSide Workbench Full Report + Source Code
org.turro.erp.reference.CustomerOrderShow Class Reference
Inheritance diagram for org.turro.erp.reference.CustomerOrderShow:
Collaboration diagram for org.turro.erp.reference.CustomerOrderShow:

Public Member Functions

void onClick $newOrder ()
 
void onClick $editOrder ()
 
void onClick $deleteOrder ()
 
void doAfterCompose (Component comp) throws Exception
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 44 of file CustomerOrderShow.java.

Member Function Documentation

◆ $deleteOrder()

void onClick org.turro.erp.reference.CustomerOrderShow.$deleteOrder ( )

Definition at line 61 of file CustomerOrderShow.java.

61  {
62  ZkossUtils.confirmDeletion(null, new Command() {
63  @Override
64  public Object execute(Context context) {
65  orderReference.setCustomerOrder(null);
66  updateControls();
67  Events.postEvent(new Event(Events.ON_CHANGE));
68  return null;
69  }
70  });
71  }
void setCustomerOrder(CustomerOrder customerOrder)
Here is the call graph for this function:

◆ $editOrder()

void onClick org.turro.erp.reference.CustomerOrderShow.$editOrder ( )

Definition at line 56 of file CustomerOrderShow.java.

56  {
57  editOrder();
58  Events.postEvent(new Event(Events.ON_CHANGE));
59  }

◆ $newOrder()

void onClick org.turro.erp.reference.CustomerOrderShow.$newOrder ( )

Definition at line 51 of file CustomerOrderShow.java.

51  {
52  editOrder();
53  Events.postEvent(new Event(Events.ON_CHANGE));
54  }

◆ doAfterCompose()

void org.turro.erp.reference.CustomerOrderShow.doAfterCompose ( Component  comp) throws Exception

Definition at line 87 of file CustomerOrderShow.java.

87  {
88  super.doAfterCompose(comp);
89  orderReference = (OrderReference) order.getData();
90  updateControls();
91 
92  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: