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

Public Member Functions

Contract getContract ()
 
void setContract (Contract contract)
 
void afterCompose ()
 
- Public Member Functions inherited from org.turro.zkoss.input.CollectionListbox< V >
 CollectionListbox ()
 
 CollectionListbox (Collection< V > collection)
 
void updateCollection ()
 
void updateCollection (Collection< V > collection)
 
boolean isAllowNull ()
 
void setAllowNull (boolean allowNull)
 
Collection< V > getCollection ()
 
void setCollection (Collection< V > collection)
 
boolean isNullAtBottom ()
 
void setNullAtBottom (boolean nullAtBottom)
 
String getNullLabel ()
 
void setNullLabel (String nullLabel)
 
- Public Member Functions inherited from org.turro.zkoss.input.GenericListbox< V >
 GenericListbox ()
 
void setDisabled (boolean value)
 
void clearItems ()
 
void setObjectValue (V value)
 
void setObjectValues (Collection< V > collection)
 
getObjectValue ()
 
Collection< V > getObjectValues ()
 
Collection< V > getDeselectedObjectValues ()
 
boolean isSelectFirst ()
 
void setSelectFirst (boolean selectFirst)
 
Set getDeselectedItems ()
 
void sort ()
 
Object getRelatedEntity ()
 
void setRelatedEntity (Object relatedEntity)
 

Protected Member Functions

String convertToString (CustomerOrder v)
 
- Protected Member Functions inherited from org.turro.zkoss.input.CollectionListbox< V >
void populateList ()
 
boolean equals (V value, V obj)
 
abstract String convertToString (V v)
 
void beforeAppend (Listitem li)
 

Additional Inherited Members

- Static Public Attributes inherited from org.turro.zkoss.input.CollectionListbox< V >
static final String ITEM_SEPARATOR = "|||"
 
- Protected Attributes inherited from org.turro.zkoss.input.GenericListbox< V >
boolean populated = false
 

Detailed Description

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

Definition at line 36 of file PendingCustomerOrderListbox.java.

Member Function Documentation

◆ afterCompose()

void org.turro.erp.sales.PendingCustomerOrderListbox.afterCompose ( )

Reimplemented from org.turro.zkoss.input.GenericListbox< V >.

Definition at line 61 of file PendingCustomerOrderListbox.java.

61  {
62  addHeaders();
63  super.afterCompose();
64  }

◆ convertToString()

String org.turro.erp.sales.PendingCustomerOrderListbox.convertToString ( CustomerOrder  v)
protected

Definition at line 50 of file PendingCustomerOrderListbox.java.

50  {
51  if(v == null) return null;
52 
53  return v.getDescription() + ITEM_SEPARATOR +
54  DateFormats.formatNull(v.getOrderDate(), true) + SUBITEM_SEPARATOR +
55  DateFormats.formatNull(v.getDelivery(), true) + ITEM_SEPARATOR +
56  v.getOrderId() + ITEM_SEPARATOR +
57  DecimalFormats.format(v.getAmount());
58  }
Here is the call graph for this function:

◆ getContract()

Contract org.turro.erp.sales.PendingCustomerOrderListbox.getContract ( )

Definition at line 40 of file PendingCustomerOrderListbox.java.

40  {
41  return contract;
42  }

◆ setContract()

void org.turro.erp.sales.PendingCustomerOrderListbox.setContract ( Contract  contract)

Definition at line 44 of file PendingCustomerOrderListbox.java.

44  {
45  this.contract = contract;
46  updateCollection(new ErpPU().getResultList(createCriteria(contract)));
47  }
Here is the call graph for this function:
Here is the caller graph for this function:

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