com.sybase.uep.bobclient.interfaces
Interface SynchronizationGroupList

All Known Implementing Classes:
RIMSynchronizationGroupList

public interface SynchronizationGroupList

The Synchronization Group List

Author:
bdeng

Method Summary
 boolean addSynchronizationGroup(java.lang.String packageName, java.lang.String syncGroup)
          Adds Synchronization Group to the list based on the given package name and sync group name.
 boolean addSynchronizationGroup(SynchronizationGroup synchronizationGroup)
          Adds Synchronization Group to the list.
 java.lang.String[] getPackageNames()
          Returns all package names.
 java.util.Vector getSyncGroupsByPackageName(java.lang.String packageName)
          Returns all the Synchronization Groups under the given package.
 SynchronizationGroup getSynchronizationGroup(java.lang.String packageName, java.lang.String syncGroupName)
          Returns the Synchronization Group based on the given package name and sync group name.
 void init(java.util.Vector mboMobileApplicationList)
          Initializes the Synchronization Groups based on the given Mobile Application List.
 void setSynchronizationGroup(java.lang.String packageName, java.lang.String syncGroupName, SynchronizationGroup synchronizationGroup)
          Sets the Synchronization Group to the given package name and sync group name.
 

Method Detail

addSynchronizationGroup

boolean addSynchronizationGroup(java.lang.String packageName,
                                java.lang.String syncGroup)
Adds Synchronization Group to the list based on the given package name and sync group name. Returns true if the Synchronization Group is added successfully and false otherwise.

Parameters:
packageName - the added Synchronization Group's package name
syncGroup - the added Synchronization Group's sync group name
Returns:
true if the Synchronization Group is added successfully and false otherwise.

addSynchronizationGroup

boolean addSynchronizationGroup(SynchronizationGroup synchronizationGroup)
Adds Synchronization Group to the list. Returns true if the Synchronization Group is added successfully and false otherwise.

Parameters:
synchronizationGroup - the Synchronization Group to be added
Returns:
true if the Synchronization Group is added successfully and false otherwise.

setSynchronizationGroup

void setSynchronizationGroup(java.lang.String packageName,
                             java.lang.String syncGroupName,
                             SynchronizationGroup synchronizationGroup)
Sets the Synchronization Group to the given package name and sync group name.

Parameters:
packageName - the Synchronization Group's package name
syncGroupName - the Synchronization Group's sync group name
synchronizationGroup - the Synchronization Group

getSynchronizationGroup

SynchronizationGroup getSynchronizationGroup(java.lang.String packageName,
                                             java.lang.String syncGroupName)
Returns the Synchronization Group based on the given package name and sync group name.

Parameters:
packageName - the Synchronization Group's package name
syncGroupName - the Synchronization Group's sync group name
Returns:
the Synchronization Group based on the given package name and sync group name.

getSyncGroupsByPackageName

java.util.Vector getSyncGroupsByPackageName(java.lang.String packageName)
Returns all the Synchronization Groups under the given package.

Parameters:
packageName - the package name
Returns:
all the Synchronization Groups under the given package.

getPackageNames

java.lang.String[] getPackageNames()
Returns all package names.

Returns:
all package names.

init

void init(java.util.Vector mboMobileApplicationList)
Initializes the Synchronization Groups based on the given Mobile Application List.

Parameters:
mboMobileApplicationList - Mobile Application List