◆ count()
static int org.turro.financials.handshake.HandshakeList.count |
( |
| ) |
|
|
static |
Definition at line 59 of file HandshakeList.java.
61 File folder =
new File(ElephantContext.getRealPath(HandshakeContract.HANDSHAKE_FOLDER));
63 count += folder.listFiles().length;
65 folder =
new File(ElephantContext.getRealPath(HandshakeDocument.HANDSHAKE_FOLDER));
67 count += folder.listFiles().length;
◆ populate()
void org.turro.financials.handshake.HandshakeList.populate |
( |
| ) |
|
Definition at line 32 of file HandshakeList.java.
33 File folder =
new File(ElephantContext.getRealPath(HandshakeContract.HANDSHAKE_FOLDER));
35 for(File file : folder.listFiles()) {
36 HandshakeContract hc = HandshakeContract.createHandshakeFromFile(file);
38 add(
new HandshakeItem(file, hc));
42 folder =
new File(ElephantContext.getRealPath(HandshakeDocument.HANDSHAKE_FOLDER));
44 for(File file : folder.listFiles()) {
45 HandshakeDocument hd = HandshakeDocument.createHandshakeFromFile(file);
47 add(
new HandshakeItem(file, hd));
48 Contract contract = HandshakeContract.getContractFromHandshake(hd.contract);
49 for(HandshakeProduct hp : hd.getProducts()) {
50 hp.contract = contract;
51 hp.petitioner = hd.contract.petitioner;
52 add(
new HandshakeItem(
null, hp));
The documentation for this class was generated from the following file: