|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectState
This interface holds object state flags. A set of flags that can be used to specify state of mobile object.
This demonstrates how to retrieve new and locally updated MBOs from database.
Query query = new Query();
query.setStateCriteria(ObjectState.NEW | ObjectState.UPDATED);
List
Field Summary | |
---|---|
static int |
ALL
The flag for all row states. |
static int |
DELETED
The flag for rows that are deleted rows and pending upload. |
static int |
DOWNLOADED
The flag for rows that are downloaded rows. |
static int |
INSERTED
The flag for rows that are inserted rows and pending upload. |
static int |
NEW
The flag for rows that are new rows and pending upload. |
static int |
NONE
The flag for no rows. |
static int |
UPDATED
The flag for rows that are updated rows and pending upload. |
Field Detail |
---|
static final int NONE
static final int DOWNLOADED
static final int INSERTED
static final int UPDATED
static final int DELETED
static final int ALL
static final int NEW
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |