Class TransactionSearchCriteria
java.lang.Object
com.aoindustries.aoserv.client.billing.TransactionSearchCriteria
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,AoservReadable
,AoservStreamable
,AoservWritable
A
TransactionSearchCriteria
stores all the parameters
for a Transaction
search.wraps all the different
ways in which the transaction table may be searched.- Author:
- AO Industries, Inc.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Only required for implementation, do not use directly.TransactionSearchCriteria
(Administrator administrator) TransactionSearchCriteria
(Timestamp after, Timestamp before, int transid, Account.Name account, Account.Name sourceAccount, User.Name administrator, String type, String description, String paymentType, String paymentInfo, byte paymentConfirmed) TransactionSearchCriteria
(Timestamp after, Timestamp before, int transid, Account account, Account sourceAccount, Administrator administrator, TransactionType type, String description, PaymentType paymentType, String paymentInfo, byte paymentConfirmed) -
Method Summary
Modifier and TypeMethodDescriptiongetAfter()
static UnmodifiableTimestamp
getDefaultAfter
(long time) byte
getTransactions
(AoservConnector connector) Deprecated.int
getType()
void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) void
read
(StreamableInput in, String protocolVersion) Deprecated.This is maintained only for compatibility with theStreamable
interface.void
setAccount
(Account.Name account) void
setAdministrator
(User.Name administrator) void
void
void
setDescription
(String description) void
setPaymentConfirmed
(byte paymentConfirmed) void
setPaymentInfo
(String paymentInfo) void
setPaymentType
(String paymentType) void
setSourceAccount
(Account.Name sourceAccount) void
setTransid
(int transid) void
void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) void
write
(StreamableOutput out, String protocolVersion) Deprecated.This is maintained only for compatibility with theStreamable
interface.
-
Field Details
-
ANY
public static final int ANYValue representing any in a search.- See Also:
-
-
Constructor Details
-
TransactionSearchCriteria
Deprecated.Only required for implementation, do not use directly.- See Also:
-
TransactionSearchCriteria
public TransactionSearchCriteria(Timestamp after, Timestamp before, int transid, Account.Name account, Account.Name sourceAccount, User.Name administrator, String type, String description, String paymentType, String paymentInfo, byte paymentConfirmed) -
TransactionSearchCriteria
public TransactionSearchCriteria(Timestamp after, Timestamp before, int transid, Account account, Account sourceAccount, Administrator administrator, TransactionType type, String description, PaymentType paymentType, String paymentInfo, byte paymentConfirmed) -
TransactionSearchCriteria
- Throws:
IOException
SQLException
-
-
Method Details
-
getDefaultAfter
-
getAfter
-
getBefore
-
getAccount
-
getSourceAccount
-
getAdministrator
-
getDescription
-
getPaymentConfirmed
public byte getPaymentConfirmed() -
getPaymentInfo
-
getPaymentType
-
getType
-
getTransactions
@Deprecated public List<Transaction> getTransactions(AoservConnector connector) throws IOException, SQLException Deprecated.- Throws:
IOException
SQLException
-
getTransid
public int getTransid() -
read
Deprecated.This is maintained only for compatibility with theStreamable
interface.- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in interfaceStreamable
- Specified by:
read
in interfaceStreamReadable
- Throws:
IOException
- See Also:
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Throws:
IOException
-
setAfter
-
setBefore
-
setAccount
-
setSourceAccount
-
setAdministrator
-
setDescription
-
setPaymentConfirmed
public void setPaymentConfirmed(byte paymentConfirmed) -
setPaymentInfo
-
setPaymentType
-
setType
-
setTransid
public void setTransid(int transid) -
write
Deprecated.This is maintained only for compatibility with theStreamable
interface.- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceStreamable
- Specified by:
write
in interfaceStreamWritable
- Throws:
IOException
- See Also:
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Throws:
IOException
-