18 package org.turro.financials.model.contract;
20 import java.util.Collection;
21 import org.turro.financials.db.FinancialsPU;
22 import org.turro.financials.entity.ContractDefinition;
23 import org.turro.financials.entity.DocumentDefinition;
24 import org.turro.financials.entity.DocumentWorkflow;
25 import org.turro.financials.entity.LineType;
26 import org.turro.financials.model.RelatedToLineTypeAdapter;
27 import org.turro.financials.model.document.LineTypeSet;
44 if(dw.getAncestor().getId() == ancestor.
getId() && dw.getDescendant().getId() == descendant.
getId()) {
45 if(dw.getLineType() !=
null) {
46 set.add(dw.getLineType());
55 "select ctcdef from ContractDefinition as ctcdef " +
56 "order by ctcdef.name"
Set< DocumentWorkflow > getDocumentWorkflows()
Set< RelatedLineType > getRelatedLineTypes()
ContractDefinition contractDefinition
Collection< LineType > getLineTypesFor(DocumentDefinition ancestor, DocumentDefinition descendant)
ContractDefinitionWrapper(ContractDefinition contractDefinition)
static Collection< ContractDefinition > getContractDefinitions()