public class PrintingPrefSelection extends AbstractSelection<PrintingPrefSelection>
inventory
table.Constructor and Description |
---|
PrintingPrefSelection() |
Modifier and Type | Method and Description |
---|---|
PrintingPrefSelection |
id(long... value) |
PrintingPrefCursor |
query(android.content.ContentResolver contentResolver)
Equivalent of calling
query(contentResolver, projection, null, null . |
PrintingPrefCursor |
query(android.content.ContentResolver contentResolver,
java.lang.String[] projection)
Equivalent of calling
query(contentResolver, projection, null . |
PrintingPrefCursor |
query(android.content.ContentResolver contentResolver,
java.lang.String[] projection,
java.lang.String sortOrder)
Query the given content resolver using this selection.
|
PrintingPrefSelection |
receiptType(java.lang.String... value) |
PrintingPrefSelection |
receiptTypeLike(java.lang.String... value) |
PrintingPrefSelection |
receiptTypeNot(java.lang.String... value) |
android.net.Uri |
uri()
Returns the
uri argument to pass to the ContentResolver methods. |
PrintingPrefSelection |
values(java.lang.Integer... value) |
PrintingPrefSelection |
valuesGt(int value) |
PrintingPrefSelection |
valuesGtEq(int value) |
PrintingPrefSelection |
valuesLt(int value) |
PrintingPrefSelection |
valuesLtEq(int value) |
PrintingPrefSelection |
valuesNot(java.lang.Integer... value) |
addEquals, addGreaterThan, addGreaterThanOrEquals, addLessThan, addLessThanOrEquals, addLike, addNotEquals, addRaw, and, args, closeParen, delete, openParen, or, sel, toObjectArray, toObjectArray, toObjectArray, toObjectArray, toObjectArray
public android.net.Uri uri()
AbstractSelection
uri
argument to pass to the ContentResolver
methods.uri
in class AbstractSelection<PrintingPrefSelection>
public PrintingPrefCursor query(android.content.ContentResolver contentResolver, java.lang.String[] projection, java.lang.String sortOrder)
contentResolver
- The content resolver to query.projection
- A list of which columns to return. Passing null will return all columns, which is inefficient.sortOrder
- How to order the rows, formatted as an SQL ORDER BY clause (excluding the ORDER BY itself). Passing null will use the default sort
order, which may be unordered.InventoryCursor
object, which is positioned before the first entry, or null.public PrintingPrefCursor query(android.content.ContentResolver contentResolver, java.lang.String[] projection)
query(contentResolver, projection, null
.public PrintingPrefCursor query(android.content.ContentResolver contentResolver)
query(contentResolver, projection, null, null
.public PrintingPrefSelection id(long... value)
public PrintingPrefSelection receiptType(java.lang.String... value)
public PrintingPrefSelection receiptTypeNot(java.lang.String... value)
public PrintingPrefSelection receiptTypeLike(java.lang.String... value)
public PrintingPrefSelection values(java.lang.Integer... value)
public PrintingPrefSelection valuesNot(java.lang.Integer... value)
public PrintingPrefSelection valuesGt(int value)
public PrintingPrefSelection valuesGtEq(int value)
public PrintingPrefSelection valuesLt(int value)
public PrintingPrefSelection valuesLtEq(int value)