◆ DocumentDefinitionWrapper()
org.turro.financials.model.document.DocumentDefinitionWrapper.DocumentDefinitionWrapper |
( |
DocumentDefinition |
documentDefinition | ) |
|
◆ getDocumentDefinitions()
static Collection<DocumentDefinition> org.turro.financials.model.document.DocumentDefinitionWrapper.getDocumentDefinitions |
( |
| ) |
|
|
static |
◆ getRelatedStores() [1/2]
Collection<Contract> org.turro.financials.model.document.DocumentDefinitionWrapper.getRelatedStores |
( |
| ) |
|
Definition at line 54 of file bsfinancials-core/src/main/java/org/turro/financials/model/document/DocumentDefinitionWrapper.java.
56 StringBuilder sb =
new StringBuilder();
58 if(sb.length() > 0) sb.append(
",");
59 sb.append(rsd.getRelatedStore().getId());
61 return new FinancialsPU().getResultList(
62 "select ctc from Contract as ctc " +
63 "where ctc.contractDefinition.id in (" + sb.toString() +
") " +
64 "and ctc.active = TRUE " +
65 "and ctc.stock = TRUE " +
66 "order by ctc.contractDefinition.name, ctc.contractDefinition.id, ctc.id"
69 return new HashSet<Contract>();
Set< RelatedStoreDefinition > getRelatedStoreDefinitions()
◆ getRelatedStores() [2/2]
Collection<Contract> org.turro.financials.model.document.DocumentDefinitionWrapper.getRelatedStores |
( |
Contract |
contract | ) |
|
◆ documentDefinition
DocumentDefinition org.turro.financials.model.document.DocumentDefinitionWrapper.documentDefinition |
|
protected |
The documentation for this class was generated from the following file: