◆ DocumentListbox() [1/2]
org.turro.financials.document.DocumentListbox.DocumentListbox |
( |
| ) |
|
◆ DocumentListbox() [2/2]
org.turro.financials.document.DocumentListbox.DocumentListbox |
( |
Collection< Document > |
collection | ) |
|
◆ afterCompose()
void org.turro.financials.document.DocumentListbox.afterCompose |
( |
| ) |
|
◆ convertToString()
String org.turro.financials.document.DocumentListbox.convertToString |
( |
Document |
v | ) |
|
|
protected |
Definition at line 85 of file DocumentListbox.java.
86 if(v ==
null)
return null;
88 String storesStr =
"";
90 HashSet<String>
set =
new HashSet<String>();
91 for(DocumentLine dl : v.getDocumentLines()) {
92 if(dl.getStore() !=
null) {
93 set.add(dl.getStore().getPartialDescription());
97 storesStr += SUBITEM_SEPARATOR + s;
101 String conceptsStr =
"";
103 HashSet<String>
set =
new HashSet<String>();
104 for(DocumentLine dl : v.getDocumentLines()) {
105 if(!Strings.isBlank(dl.getConcept())) {
106 set.add(dl.getConcept());
109 for(String s :
set) {
110 conceptsStr += SUBITEM_SEPARATOR + s;
114 return (showContract ? v.getContract().getFullDescription() + SUBITEM_SEPARATOR :
"") +
115 v.getDocumentDefinition().getName() + storesStr + conceptsStr +
ITEM_SEPARATOR +
116 DateFormats.format(v.getDocumentDate(),
true) + SUBITEM_SEPARATOR +
119 DecimalFormats.format(v.getTotalAmount());
◆ isShowConcepts()
boolean org.turro.financials.document.DocumentListbox.isShowConcepts |
( |
| ) |
|
◆ isShowContract()
boolean org.turro.financials.document.DocumentListbox.isShowContract |
( |
| ) |
|
◆ isShowStores()
boolean org.turro.financials.document.DocumentListbox.isShowStores |
( |
| ) |
|
◆ isShowTotalAmount()
boolean org.turro.financials.document.DocumentListbox.isShowTotalAmount |
( |
| ) |
|
◆ populateList()
void org.turro.financials.document.DocumentListbox.populateList |
( |
| ) |
|
|
protected |
◆ setShowConcepts()
void org.turro.financials.document.DocumentListbox.setShowConcepts |
( |
boolean |
showConcepts | ) |
|
◆ setShowContract()
void org.turro.financials.document.DocumentListbox.setShowContract |
( |
boolean |
showContract | ) |
|
◆ setShowStores()
void org.turro.financials.document.DocumentListbox.setShowStores |
( |
boolean |
showStores | ) |
|
◆ setShowTotalAmount()
void org.turro.financials.document.DocumentListbox.setShowTotalAmount |
( |
boolean |
showTotalAmount | ) |
|
The documentation for this class was generated from the following file: