- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 33 of file UsualUpdate.java.
◆ deleteUsuals()
void org.turro.financials.usual.UsualUpdate.deleteUsuals |
( |
| ) |
|
◆ update()
void org.turro.financials.usual.UsualUpdate.update |
( |
| ) |
|
Implements org.turro.usual.IUsualUpdate.
Definition at line 36 of file UsualUpdate.java.
37 Dao dao =
new FinancialsPU();
39 for(Document doc : (List<Document>) dao.getResultList(
"select doc from Document as doc")) {
void updateDocument(Document doc)
◆ updateDocument()
void org.turro.financials.usual.UsualUpdate.updateDocument |
( |
Document |
doc | ) |
|
Definition at line 48 of file UsualUpdate.java.
49 for(DocumentLine l : doc.getDocumentLines()) {
50 if(!l.isEmpty() && l.getStore() !=
null) {
51 UsualUsages.addUsage(doc.getUsualPath() +
"st:" + l.getStore().getId());
52 UsualUsages.addUsage(doc.getUsualPath() +
"cp:" + l.getConcept());
55 for(DocumentRelation dr : doc.getDescendants()) {
56 for(DocumentLine l : dr.getDescendant().getDocumentLines()) {
57 if(!l.isEmpty() && l.getStore() !=
null) {
58 UsualUsages.addUsage(doc.getUsualPath() +
"df:" + l.getDocument().getDocumentDefinition().getId());
The documentation for this class was generated from the following file: