|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.API.Protocol.Util.DLPBlock | +--org.jSyncManager.API.Protocol.Util.StdApps.ToDoListAppBlock
Application information block for the Palm ToDoList database.
Field Summary | |
---|---|
static byte |
SORT_BY_CATEGORY_THEN_DUEDATE
A value denoting that we should sort the databases records by category and then due date. |
static byte |
SORT_BY_CATEGORY_THEN_PRIORITY
A value denoting that we should sort the databases records by category and then priority. |
static byte |
SORT_BY_DUEDATE_THEN_PRIORITY
A value denoting that we should sort the databases records by due date and then priority. |
static byte |
SORT_BY_PRIORITY_THEN_DUEDATE
A value denoting that we should sort the databases records by priority then due date. |
Fields inherited from class org.jSyncManager.API.Protocol.Util.DLPBlock |
---|
blockSize, data |
Constructor Summary | |
---|---|
ToDoListAppBlock()
ExpenseAppBlock default constructor. |
|
ToDoListAppBlock(DLPBlock block)
Construct a new ToDoList app block object using the data from the specified DLPBlork object. |
Method Summary | |
---|---|
int |
findCategoryInfo(int i)
Find the category info block given the category ID. |
protected void |
generateData()
Generate the raw data block from the existing fields. |
CategoryInfo |
getCategoryInfo(int i)
Get the category info block given the category index. |
int |
getDirtyAppInfo()
Get the designator for Whether the app info has changed and needs to be refreshed. |
byte |
getLastUniqueID()
Get the last unique record ID. |
int |
getNumCategories()
Return the number of categories. |
byte |
getSortOrder()
Get the sort order for the data records. |
protected void |
parseFields()
Parse the data fields. |
void |
setCategoryInfo(CategoryInfo categoryinfo,
int i)
Set the category info block, given the index. |
void |
setDirtyAppInfo(int i)
Set the designator for whether the app info has changed and needs to be refreshed. |
void |
setSortOrder(byte so)
Set the sort order of this application block. |
Methods inherited from class org.jSyncManager.API.Protocol.Util.DLPBlock |
---|
getBlockSize, getData, setData, toString |
Methods inherited from class java.lang.Object |
---|
|
Field Detail |
public static final byte SORT_BY_DUEDATE_THEN_PRIORITY
public static final byte SORT_BY_PRIORITY_THEN_DUEDATE
public static final byte SORT_BY_CATEGORY_THEN_PRIORITY
public static final byte SORT_BY_CATEGORY_THEN_DUEDATE
Constructor Detail |
public ToDoListAppBlock()
public ToDoListAppBlock(DLPBlock block)
block
- a DLPBlock object containing an app block from the ToDo List database.Method Detail |
public int findCategoryInfo(int i)
i
- the requested category ID.protected void generateData()
generateData
in class DLPBlock
public CategoryInfo getCategoryInfo(int i)
i
- the index to the desired category info.public int getDirtyAppInfo()
public byte getLastUniqueID()
public int getNumCategories()
public byte getSortOrder()
protected void parseFields()
parseFields
in class DLPBlock
public void setCategoryInfo(CategoryInfo categoryinfo, int i)
categoryinfo
- the CategoryInfo object to store.i
- the index to store the CategoryInfo object to.public void setDirtyAppInfo(int i)
the
- new value for the dirtyAppInfo field.public void setSortOrder(byte so)
so
- the sort order of this application block.
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |