public final class PrunableMessageHome
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
PrunableMessageHome.PrunableMessage |
Modifier and Type | Method and Description |
---|---|
static PrunableMessageHome |
forChain(Chain chain) |
DbIterator<PrunableMessageHome.PrunableMessage> |
getAll(int from,
int to) |
int |
getCount() |
PrunableMessageHome.PrunableMessage |
getPrunableMessage(byte[] transactionFullHash) |
DbIterator<PrunableMessageHome.PrunableMessage> |
getPrunableMessages(long accountId,
int from,
int to) |
DbIterator<PrunableMessageHome.PrunableMessage> |
getPrunableMessages(long accountId,
long otherAccountId,
int from,
int to) |
boolean |
isPruned(byte[] transactionFullHash,
boolean hasPrunablePlainMessage,
boolean hasPrunableEncryptedMessage) |
public static PrunableMessageHome forChain(Chain chain)
public int getCount()
public DbIterator<PrunableMessageHome.PrunableMessage> getAll(int from, int to)
public PrunableMessageHome.PrunableMessage getPrunableMessage(byte[] transactionFullHash)
public DbIterator<PrunableMessageHome.PrunableMessage> getPrunableMessages(long accountId, int from, int to)
public DbIterator<PrunableMessageHome.PrunableMessage> getPrunableMessages(long accountId, long otherAccountId, int from, int to)
public boolean isPruned(byte[] transactionFullHash, boolean hasPrunablePlainMessage, boolean hasPrunableEncryptedMessage)