com.sybase.uep.bobclient.data
Class RIMRepository

java.lang.Object
  extended by com.sybase.uep.bobclient.interfaces.Repository
      extended by com.sybase.uep.bobclient.data.RIMRepository

public class RIMRepository
extends Repository


Field Summary
protected  AppLoggerWrapper _appLogger
           
protected  RIMLinkParamNodeFactory _linkParamNodeFactory
           
protected  RIMMBOMobileApplicationList _mobileApplicationList
           
protected  RIMSynchronizationGroupList _synchronizationGroupList
           
protected  UIDefinition _uidef
           
protected  RIMValidationObjectFactory _validationObjectFactory
           
protected  RIMVariables _variables
           
 
Constructor Summary
RIMRepository()
           
RIMRepository(UIDefinition uidef)
           
 
Method Summary
 void clearClientProfileData(java.lang.String profileID)
          Clears the data from the repository by profile reference ID.
 void deleteOtherExtraData()
          Clears other data from the repository.
 ClientProfileFactory getClientProfileFactory()
          Loads the client profile factory.
 ClientProfileListFactory getClientProfileListFactory()
          Loads the client profile list factory.
 LinkParamNodeFactory getLinkParamNodeFactory()
          Returns the LinkParamNode factory object.
 MBOMobileApplicationListFactory getMBOMobileApplicationListFactory()
          Returns the MBOMobileApplicationList factory object for this device.
 SettingsFactory getSettingsFactory()
          Loads the settings factory.
 SynchronizationGroupListFactory getSynchronizationGroupListFactory()
          Returns SynchronizationGroupListFactory
 UIDefinition getUIDefinition()
          Clears the data from the repository.
 ValidationObjectFactory getValidationObjectFactory()
          Returns the ValidationObject factory object.
 VariableObjectFactory getVariableObjectFactory()
          Returns the Variable Object factory object.
 VariablesFactory getVariablesFactory()
          Returns the Variables factory object.
 void initUIDefinition()
          Initialize the UI Definition class
 ClientProfileList loadClientProfileList(boolean force)
          Loads the profiles object that was persisted, if any.
 MBOMobileApplicationList loadMBOMobileApplicationList(boolean force)
          Loads the MBO Mobile Application List object that was persisted, if any.
 Settings loadSettings(boolean force)
          Loads the settings object that was persisted, if any.
 SynchronizationGroupList loadSynchronizationGroupList(boolean force)
          Loads the Synchronization Group List object that was persisted, if any.
 Variables loadVariables(boolean force)
          Loads the Variables object that was persisted, if any.
 void saveClientProfileList(ClientProfileList profileList)
          Persists the profiles object.
 void saveMBOMobileApplicationList(MBOMobileApplicationList list)
          Persists the MBO Mobile Application List object.
 void saveSettings(Settings settings)
          Deprecated. persistent settings handled in OptionsRepository
 void saveSynchronizationGroupList(SynchronizationGroupList list)
          Persists the Synchronization Group List object.
 void saveVariables(Variables variables)
          Persists the variables object.
 void setUIDefinition(UIDefinition uidef)
          Set the UI Definition class;
 
Methods inherited from class com.sybase.uep.bobclient.interfaces.Repository
createException, getRepository, isRepositoryNull, setRepository
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_linkParamNodeFactory

protected RIMLinkParamNodeFactory _linkParamNodeFactory

_validationObjectFactory

protected RIMValidationObjectFactory _validationObjectFactory

_variables

protected RIMVariables _variables

_synchronizationGroupList

protected RIMSynchronizationGroupList _synchronizationGroupList

_mobileApplicationList

protected RIMMBOMobileApplicationList _mobileApplicationList

_uidef

protected UIDefinition _uidef

_appLogger

protected AppLoggerWrapper _appLogger
Constructor Detail

RIMRepository

public RIMRepository()

RIMRepository

public RIMRepository(UIDefinition uidef)
Method Detail

getUIDefinition

public UIDefinition getUIDefinition()
Description copied from class: Repository
Clears the data from the repository.

Specified by:
getUIDefinition in class Repository

setUIDefinition

public void setUIDefinition(UIDefinition uidef)
Description copied from class: Repository
Set the UI Definition class;

Specified by:
setUIDefinition in class Repository

initUIDefinition

public void initUIDefinition()
Description copied from class: Repository
Initialize the UI Definition class

Specified by:
initUIDefinition in class Repository

deleteOtherExtraData

public void deleteOtherExtraData()
Description copied from class: Repository
Clears other data from the repository.

Specified by:
deleteOtherExtraData in class Repository

clearClientProfileData

public void clearClientProfileData(java.lang.String profileID)
Description copied from class: Repository
Clears the data from the repository by profile reference ID.

Specified by:
clearClientProfileData in class Repository

getLinkParamNodeFactory

public LinkParamNodeFactory getLinkParamNodeFactory()
Description copied from class: Repository
Returns the LinkParamNode factory object.

Specified by:
getLinkParamNodeFactory in class Repository

getValidationObjectFactory

public ValidationObjectFactory getValidationObjectFactory()
Description copied from class: Repository
Returns the ValidationObject factory object.

Specified by:
getValidationObjectFactory in class Repository

getClientProfileFactory

public ClientProfileFactory getClientProfileFactory()
Description copied from class: Repository
Loads the client profile factory.

Specified by:
getClientProfileFactory in class Repository

getClientProfileListFactory

public ClientProfileListFactory getClientProfileListFactory()
Description copied from class: Repository
Loads the client profile list factory.

Specified by:
getClientProfileListFactory in class Repository

getSettingsFactory

public SettingsFactory getSettingsFactory()
Description copied from class: Repository
Loads the settings factory.

Specified by:
getSettingsFactory in class Repository

getVariablesFactory

public VariablesFactory getVariablesFactory()
Description copied from class: Repository
Returns the Variables factory object.

Specified by:
getVariablesFactory in class Repository

getVariableObjectFactory

public VariableObjectFactory getVariableObjectFactory()
Description copied from class: Repository
Returns the Variable Object factory object.

Specified by:
getVariableObjectFactory in class Repository

getMBOMobileApplicationListFactory

public MBOMobileApplicationListFactory getMBOMobileApplicationListFactory()
Description copied from class: Repository
Returns the MBOMobileApplicationList factory object for this device.

Specified by:
getMBOMobileApplicationListFactory in class Repository

getSynchronizationGroupListFactory

public SynchronizationGroupListFactory getSynchronizationGroupListFactory()
Returns SynchronizationGroupListFactory

Returns:

loadClientProfileList

public ClientProfileList loadClientProfileList(boolean force)
                                        throws RepositoryException
Loads the profiles object that was persisted, if any.

Specified by:
loadClientProfileList in class Repository
Throws:
RepositoryException

loadSettings

public Settings loadSettings(boolean force)
                      throws RepositoryException
Loads the settings object that was persisted, if any. For performance issue, settings should not always be loaded from persistent data because the UserActionListener will always update screen idle time while receive user action events

Specified by:
loadSettings in class Repository
Throws:
RepositoryException

loadVariables

public Variables loadVariables(boolean force)
                        throws RepositoryException
Loads the Variables object that was persisted, if any.

Specified by:
loadVariables in class Repository
Throws:
RepositoryException

loadMBOMobileApplicationList

public MBOMobileApplicationList loadMBOMobileApplicationList(boolean force)
                                                      throws RepositoryException
Loads the MBO Mobile Application List object that was persisted, if any.

Specified by:
loadMBOMobileApplicationList in class Repository
Throws:
RepositoryException

loadSynchronizationGroupList

public SynchronizationGroupList loadSynchronizationGroupList(boolean force)
                                                      throws RepositoryException
Loads the Synchronization Group List object that was persisted, if any.

Specified by:
loadSynchronizationGroupList in class Repository
Throws:
RepositoryException

saveClientProfileList

public void saveClientProfileList(ClientProfileList profileList)
                           throws RepositoryException
Persists the profiles object. We need to save the profile info while authenticate user with user specified user name & password.

Specified by:
saveClientProfileList in class Repository
Throws:
RepositoryException
See Also:
OptionsRepository#saveClientProfileList(ClientProfileList)

saveSettings

public void saveSettings(Settings settings)
                  throws RepositoryException
Deprecated. persistent settings handled in OptionsRepository

Persists the settings object.

Specified by:
saveSettings in class Repository
Throws:
RepositoryException
See Also:
OptionsRepository#saveSettings(Settings)

saveVariables

public void saveVariables(Variables variables)
                   throws RepositoryException
Persists the variables object.

Specified by:
saveVariables in class Repository
Throws:
RepositoryException

saveMBOMobileApplicationList

public void saveMBOMobileApplicationList(MBOMobileApplicationList list)
                                  throws RepositoryException
Persists the MBO Mobile Application List object.

Specified by:
saveMBOMobileApplicationList in class Repository
Throws:
RepositoryException

saveSynchronizationGroupList

public void saveSynchronizationGroupList(SynchronizationGroupList list)
                                  throws RepositoryException
Persists the Synchronization Group List object.

Specified by:
saveSynchronizationGroupList in class Repository
Throws:
RepositoryException