18 package org.turro.financials.usual;
20 import java.util.List;
21 import org.turro.financials.db.FinancialsPU;
22 import org.turro.financials.entity.Document;
23 import org.turro.financials.entity.DocumentLine;
24 import org.turro.financials.entity.DocumentRelation;
25 import org.turro.jpa.Dao;
26 import org.turro.usual.IUsualUpdate;
27 import org.turro.usual.UsualUsages;
39 for(
Document doc : (List<Document>) dao.getResultList(
"select doc from Document as doc")) {
50 if(!l.isEmpty() && l.getStore() !=
null) {
56 for(
DocumentLine l : dr.getDescendant().getDocumentLines()) {
57 if(!l.isEmpty() && l.getStore() !=
null) {
Set< DocumentRelation > getDescendants()
Set< DocumentLine > getDocumentLines()
void updateDocument(Document doc)
static Usually addUsage(String path)
static void clearUsuals(String path)