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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.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 UnmodifiableTimestampgetDefaultAfter(long time) bytegetTransactions(AoservConnector connector) Deprecated.intgetType()voidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidread(StreamableInput in, String protocolVersion) Deprecated.This is maintained only for compatibility with theStreamableinterface.voidsetAccount(Account.Name account) voidsetAdministrator(User.Name administrator) voidvoidvoidsetDescription(String description) voidsetPaymentConfirmed(byte paymentConfirmed) voidsetPaymentInfo(String paymentInfo) voidsetPaymentType(String paymentType) voidsetSourceAccount(Account.Name sourceAccount) voidsetTransid(int transid) voidvoidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) voidwrite(StreamableOutput out, String protocolVersion) Deprecated.This is maintained only for compatibility with theStreamableinterface.
-
Field Details
-
ANY
public static final int ANYValue representing any in a search.- See Also:
-
-
Constructor Details
-
TransactionSearchCriteria
Deprecated, for removal: This API element is subject to removal in a future version.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:
IOExceptionSQLException
-
-
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:
IOExceptionSQLException
-
getTransid
public int getTransid() -
read
Deprecated.This is maintained only for compatibility with theStreamableinterface.- Specified by:
readin interfaceAoservStreamable- Specified by:
readin interfaceStreamable- Specified by:
readin interfaceStreamReadable- Throws:
IOException- See Also:
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin 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 theStreamableinterface.- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceStreamable- Specified by:
writein interfaceStreamWritable- Throws:
IOException- See Also:
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Throws:
IOException
-
