Artifact Content
Not logged in

Artifact 9f2c6340a8c7128095aa3e2d0fa03dd462e65425:


package org.interledger.ilp.ledger.account;

import java.util.Collection;

import org.interledger.ilp.core.InterledgerAddress;
import org.interledger.ilp.core.ledger.model.LedgerInfo;

/**
 * Defines account management.
 *
 * @author mrmx
 */
public interface LedgerAccountManager {

    public LedgerInfo getLedgerInfo();

    LedgerAccount create(String name);

    int getTotalAccounts();

    void addAccount(LedgerAccount account);

    LedgerAccount getAccountByILPAddress(InterledgerAddress address) throws AccountNotFoundException;

    Collection<LedgerAccount> getAccounts(int page, int pageSize);
    
    
}