package org.github.sekruse.cashflow.controller;

import org.github.sekruse.cashflow.model.Account;
import org.github.sekruse.cashflow.model.User;

import java.util.Collection;
import java.util.Properties;

/**
 * @author Sebastian
 * @since 03.02.2015.
 */
public interface CashflowController {

    void createUser(String name);

    void createAccount(String name, User user);

    void createShare(String name, Account account, Collection<User> users);

    TransactionBuilder buildTransaction();

}

@@ -92,16 +92,64 @@
 ccount;%0A
+import org.github.sekruse.cashflow.model.Share;%0A
 import o
@@ -337,28 +337,28 @@
 ller %7B%0A%0A    
-void
+User
  createUser(
@@ -372,28 +372,31 @@
 name);%0A%0A    
-void
+Account
  createAccou
@@ -432,12 +432,13 @@
     
-void
+Share
  cre

update CashflowController return types