|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.funambol.email.engine.source.HelperForGetter
public class HelperForGetter
This class includes the methods to set the New Items List, Updated Items List and Daleted Items List, in according with the filter settings
| Constructor Summary | |
|---|---|
HelperForGetter()
|
|
| Method Summary | |
|---|---|
static java.util.ArrayList |
setDeletedItemKeys(java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates deleted items id array |
static java.util.ArrayList |
setDeletedItemKeysWithIdFilter(java.lang.String idfilter,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates deleted items id array |
static java.util.ArrayList |
setDeletedItemKeysWithTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates deleted items id array |
static java.util.ArrayList |
setNewItemKeys(java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates new items id array |
static java.util.ArrayList |
setNewItemKeysWithIdFilter(java.lang.String idfilter,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates new items id array |
static java.util.ArrayList |
setNewItemKeysWithTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates new items id array |
static java.util.ArrayList |
setUpdatedIDFilter(java.lang.String idfilter,
java.util.LinkedHashMap serverItems)
in the updated list there is just the id in the filter |
static java.util.ArrayList |
setUpdatedItemKeys(java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates updated items id array |
static java.util.ArrayList |
setUpdatedItemKeysWithIdFilter(java.lang.String idfilter,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates updated items id array |
static java.util.ArrayList |
setUpdatedItemKeysWithTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
Creates updated items id array |
static java.util.ArrayList |
setUpdatedTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap serverItems)
in the updated list there are just the emails related to the time filter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelperForGetter()
| Method Detail |
|---|
public static java.util.ArrayList setNewItemKeys(java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
localItems - map with all local SyncItemInfoserverItems - map with all server SyncItemInfo
EntityException
public static java.util.ArrayList setNewItemKeysWithTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
timefilter - Datecomparison - Ge or LTlocalItems - map with all local SyncItemInfoserverItems - map with all server SyncItemInfo
EntityException
public static java.util.ArrayList setNewItemKeysWithIdFilter(java.lang.String idfilter,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
idfilter - StringlocalItems - map with all local SyncItemInfoserverItems - map with all server SyncItemInfo
EntityException
public static java.util.ArrayList setDeletedItemKeys(java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
localItems - map with all local CrcSyncItemInfoserverItems - map with all Mail Server CrcSyncItemInfo
EntityException
public static java.util.ArrayList setDeletedItemKeysWithTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
timefilter - Datecomparison - GE or LTlocalItems - map with all local SyncItemInfoserverItems - map with all Mail Server SyncItemInfo
EntityException
public static java.util.ArrayList setDeletedItemKeysWithIdFilter(java.lang.String idfilter,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
idfilter - StringlocalItems - map with all local SyncItemInfoserverItems - map with all Mail Server SyncItemInfo
EntityException
public static java.util.ArrayList setUpdatedItemKeys(java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
localItems - map with all local CrcSyncItemInfoserverItems - map with all Mail Server CrcSyncItemInfo
EntityException
public static java.util.ArrayList setUpdatedItemKeysWithTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
timefilter - Datecomparison - GE or LTlocalItems - map with all local SyncItemInfoserverItems - map with all server SyncItemInfo
EntityException
public static java.util.ArrayList setUpdatedItemKeysWithIdFilter(java.lang.String idfilter,
java.util.LinkedHashMap localItems,
java.util.LinkedHashMap serverItems)
throws EntityException
idfilter - StringlocalItems - map with all local SyncItemInfoserverItems - map with all server SyncItemInfo
EntityException
public static java.util.ArrayList setUpdatedTimeFilter(java.util.Date timefilter,
int comparison,
java.util.LinkedHashMap serverItems)
throws EntityException
timefilter - Datecomparison - GE or LTserverItems - map with all mail server SyncItemInfo
EntityException
public static java.util.ArrayList setUpdatedIDFilter(java.lang.String idfilter,
java.util.LinkedHashMap serverItems)
throws EntityException
idfilter - StringserverItems - map with all the CrcSyncItemInfo
EntityException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||