com.sybase.uep.bobclient.data
Class RIMSynchronizationGroup

java.lang.Object
  extended by com.sybase.uep.bobclient.data.RIMPersistableObject
      extended by com.sybase.uep.bobclient.data.RIMSynchronizationGroup
All Implemented Interfaces:
SynchronizationGroup, net.rim.device.api.util.Persistable

public class RIMSynchronizationGroup
extends RIMPersistableObject
implements SynchronizationGroup, net.rim.device.api.util.Persistable

The RIM Synchronization Group

Author:
bdeng

Constructor Summary
RIMSynchronizationGroup(java.lang.String packageName, java.lang.String syncGroupName)
          Constructor
RIMSynchronizationGroup(java.lang.String packageName, java.lang.String syncGroupName, java.lang.String push, java.lang.String minutes)
          Constructor
 
Method Summary
 void addPushLog(java.lang.String[] log)
          Adds the log to Synchronization Group's push logs.
 java.lang.String getMinutes()
          Returns the Synchronization Group's push interval.
 java.lang.String getPackageName()
          Returns the Synchronization Group's package name.
 java.lang.String getPush()
          Returns the Synchronization Group is push enabled flag.
 java.util.Vector getPushLogs()
          Returns the Synchronization Group's push logs.
 int getPushSyncIdleTime()
          Returns the Synchronization Group's sync idle time.
 int getPushSyncType()
          Returns the Synchronization Group's push type.
 java.lang.String getSyncGroupName()
          Returns the Synchronization Group's name.
 boolean isPushEnabled()
          Returns if the Synchronization Group is push enabled.
 void setMinutes(java.lang.String minutes)
          Sets the Synchronization Group is push interval.
 void setPush(java.lang.String push)
          Sets the Synchronization Group is push enabled flag.
 void setPushLogs(java.util.Vector logs)
          Sets the Synchronization Group's push logs.
 void setPushSyncIdleTime(int pushSyncIdleTime)
          Sets the Synchronization Group's sync idle time.
 void setPushSyncType(int pushSyncType)
          Sets the Synchronization Group's push type.
 
Methods inherited from class com.sybase.uep.bobclient.data.RIMPersistableObject
getBooleanProperty, getProperties, getProperty, getStringProperty, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RIMSynchronizationGroup

public RIMSynchronizationGroup(java.lang.String packageName,
                               java.lang.String syncGroupName)
Constructor

Parameters:
packageName - the package name
syncGroupName - the synchronization group name

RIMSynchronizationGroup

public RIMSynchronizationGroup(java.lang.String packageName,
                               java.lang.String syncGroupName,
                               java.lang.String push,
                               java.lang.String minutes)
Constructor

Parameters:
packageName - the package name
syncGroupName - the synchronization group name
push - the push enabled flag
minutes - the push interval
Method Detail

getPackageName

public java.lang.String getPackageName()
Returns the Synchronization Group's package name.

Specified by:
getPackageName in interface SynchronizationGroup
Returns:
the Synchronization Group's package name.

getSyncGroupName

public java.lang.String getSyncGroupName()
Returns the Synchronization Group's name.

Specified by:
getSyncGroupName in interface SynchronizationGroup
Returns:
the Synchronization Group's name.

isPushEnabled

public boolean isPushEnabled()
Returns if the Synchronization Group is push enabled.

Specified by:
isPushEnabled in interface SynchronizationGroup
Returns:
true if the Synchronization Group is push enabled.

setPush

public void setPush(java.lang.String push)
Sets the Synchronization Group is push enabled flag.

Specified by:
setPush in interface SynchronizationGroup
Parameters:
push - the Synchronization Group's is push enabled flag.

getPush

public java.lang.String getPush()
Returns the Synchronization Group is push enabled flag.

Specified by:
getPush in interface SynchronizationGroup
Returns:
the Synchronization Group's is push enabled flag.

setPushSyncIdleTime

public void setPushSyncIdleTime(int pushSyncIdleTime)
Sets the Synchronization Group's sync idle time.

Specified by:
setPushSyncIdleTime in interface SynchronizationGroup
Parameters:
pushSyncIdleTime - the Synchronization Group's sync idle time.

getPushSyncIdleTime

public int getPushSyncIdleTime()
Returns the Synchronization Group's sync idle time.

Specified by:
getPushSyncIdleTime in interface SynchronizationGroup
Returns:
the Synchronization Group's sync idle time.

getPushSyncType

public int getPushSyncType()
Returns the Synchronization Group's push type.

Specified by:
getPushSyncType in interface SynchronizationGroup
Returns:
the Synchronization Group's push type.

setPushSyncType

public void setPushSyncType(int pushSyncType)
Sets the Synchronization Group's push type.

Specified by:
setPushSyncType in interface SynchronizationGroup
Parameters:
pushSyncType - the Synchronization Group's push type

setMinutes

public void setMinutes(java.lang.String minutes)
Sets the Synchronization Group is push interval.

Specified by:
setMinutes in interface SynchronizationGroup
Parameters:
minutes - the Synchronization Group is push interval.

getMinutes

public java.lang.String getMinutes()
Returns the Synchronization Group's push interval.

Specified by:
getMinutes in interface SynchronizationGroup
Returns:
the Synchronization Group's push interval.

addPushLog

public void addPushLog(java.lang.String[] log)
Adds the log to Synchronization Group's push logs.

Specified by:
addPushLog in interface SynchronizationGroup
Parameters:
log - the Synchronization Group's push log.

getPushLogs

public java.util.Vector getPushLogs()
Returns the Synchronization Group's push logs.

Specified by:
getPushLogs in interface SynchronizationGroup
Returns:
the Synchronization Group's push logs.

setPushLogs

public void setPushLogs(java.util.Vector logs)
Sets the Synchronization Group's push logs.

Specified by:
setPushLogs in interface SynchronizationGroup
Parameters:
logs - the Synchronization Group's push logs.