com.sybase.uep.bobclient.interfaces
Class Repository

java.lang.Object
  extended by com.sybase.uep.bobclient.interfaces.Repository
Direct Known Subclasses:
RIMRepository

public abstract class Repository
extends java.lang.Object

The Mobile Sales data repository.


Constructor Summary
Repository()
           
 
Method Summary
abstract  void clearClientProfileData(java.lang.String profileRefID)
          Clears the data from the repository by profile reference ID.
protected  RepositoryException createException(java.lang.String msg, java.lang.Exception e)
          Creates an exception object for throwing.
abstract  void deleteOtherExtraData()
          Clears other data from the repository.
abstract  ClientProfileFactory getClientProfileFactory()
          Loads the client profile factory.
abstract  ClientProfileListFactory getClientProfileListFactory()
          Loads the client profile list factory.
abstract  LinkParamNodeFactory getLinkParamNodeFactory()
          Returns the LinkParamNode factory object.
abstract  MBOMobileApplicationListFactory getMBOMobileApplicationListFactory()
          Returns the MBOMobileApplicationList factory object for this device.
static Repository getRepository()
          Returns the repository singleton for this device.
abstract  SettingsFactory getSettingsFactory()
          Loads the settings factory.
abstract  UIDefinition getUIDefinition()
          Clears the data from the repository.
abstract  ValidationObjectFactory getValidationObjectFactory()
          Returns the ValidationObject factory object.
abstract  VariableObjectFactory getVariableObjectFactory()
          Returns the Variable Object factory object.
abstract  VariablesFactory getVariablesFactory()
          Returns the Variables factory object.
abstract  void initUIDefinition()
          Initialize the UI Definition class
static boolean isRepositoryNull()
          Check to see if the repository is null
abstract  ClientProfileList loadClientProfileList(boolean force)
          Loads the profiles for this app.
abstract  MBOMobileApplicationList loadMBOMobileApplicationList(boolean force)
          Loads the MBO Mobile Application List for this app.
abstract  Settings loadSettings(boolean force)
          Loads the settings for this app.
abstract  SynchronizationGroupList loadSynchronizationGroupList(boolean force)
          Loads the Synchronization Group List for this app.
abstract  Variables loadVariables(boolean force)
          Loads the variables for this app.
abstract  void saveClientProfileList(ClientProfileList profileList)
          Persists the application profiles.
abstract  void saveMBOMobileApplicationList(MBOMobileApplicationList list)
          Persists the MBO Mobile Application List properties.
abstract  void saveSettings(Settings settings)
          Persists the application settings.
abstract  void saveSynchronizationGroupList(SynchronizationGroupList list)
          Persists the Synchronization Group List properties.
abstract  void saveVariables(Variables vars)
          Persists the variables properties.
static void setRepository(Repository rep)
          Set the repository singleton for this device.
abstract  void setUIDefinition(UIDefinition uidef)
          Set the UI Definition class;
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repository

public Repository()
Method Detail

getUIDefinition

public abstract UIDefinition getUIDefinition()
Clears the data from the repository.


setUIDefinition

public abstract void setUIDefinition(UIDefinition uidef)
Set the UI Definition class;


initUIDefinition

public abstract void initUIDefinition()
Initialize the UI Definition class


deleteOtherExtraData

public abstract void deleteOtherExtraData()
Clears other data from the repository.


clearClientProfileData

public abstract void clearClientProfileData(java.lang.String profileRefID)
Clears the data from the repository by profile reference ID.


createException

protected RepositoryException createException(java.lang.String msg,
                                              java.lang.Exception e)
Creates an exception object for throwing.


getMBOMobileApplicationListFactory

public abstract MBOMobileApplicationListFactory getMBOMobileApplicationListFactory()
Returns the MBOMobileApplicationList factory object for this device.


getLinkParamNodeFactory

public abstract LinkParamNodeFactory getLinkParamNodeFactory()
Returns the LinkParamNode factory object.


getValidationObjectFactory

public abstract ValidationObjectFactory getValidationObjectFactory()
Returns the ValidationObject factory object.


getVariablesFactory

public abstract VariablesFactory getVariablesFactory()
Returns the Variables factory object.


getVariableObjectFactory

public abstract VariableObjectFactory getVariableObjectFactory()
Returns the Variable Object factory object.


getRepository

public static Repository getRepository()
Returns the repository singleton for this device.


setRepository

public static void setRepository(Repository rep)
Set the repository singleton for this device.


isRepositoryNull

public static boolean isRepositoryNull()
Check to see if the repository is null


getClientProfileListFactory

public abstract ClientProfileListFactory getClientProfileListFactory()
Loads the client profile list factory.


getClientProfileFactory

public abstract ClientProfileFactory getClientProfileFactory()
Loads the client profile factory.


getSettingsFactory

public abstract SettingsFactory getSettingsFactory()
Loads the settings factory.


loadClientProfileList

public abstract ClientProfileList loadClientProfileList(boolean force)
                                                 throws RepositoryException
Loads the profiles for this app.

Throws:
RepositoryException

loadSettings

public abstract Settings loadSettings(boolean force)
                               throws RepositoryException
Loads the settings for this app.

Throws:
RepositoryException

loadVariables

public abstract Variables loadVariables(boolean force)
                                 throws RepositoryException
Loads the variables for this app.

Throws:
RepositoryException

loadMBOMobileApplicationList

public abstract MBOMobileApplicationList loadMBOMobileApplicationList(boolean force)
                                                               throws RepositoryException
Loads the MBO Mobile Application List for this app.

Throws:
RepositoryException

loadSynchronizationGroupList

public abstract SynchronizationGroupList loadSynchronizationGroupList(boolean force)
                                                               throws RepositoryException
Loads the Synchronization Group List for this app.

Throws:
RepositoryException

saveClientProfileList

public abstract void saveClientProfileList(ClientProfileList profileList)
                                    throws RepositoryException
Persists the application profiles.

Throws:
RepositoryException

saveSettings

public abstract void saveSettings(Settings settings)
                           throws RepositoryException
Persists the application settings.

Throws:
RepositoryException

saveVariables

public abstract void saveVariables(Variables vars)
                            throws RepositoryException
Persists the variables properties.

Throws:
RepositoryException

saveMBOMobileApplicationList

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

Throws:
RepositoryException

saveSynchronizationGroupList

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

Throws:
RepositoryException