com.ibm.manplato
Class RegistrationData

java.lang.Object
  |
  +--com.ibm.manplato.RegistrationData
All Implemented Interfaces:
java.io.Serializable

public final class RegistrationData
extends java.lang.Object
implements java.io.Serializable

The RegistrationData class. This persistent, serializable class stores and manages the user-specified program settings for the ManplatoSync Frame class. This class can be used by developers for auto-installing Conduits when ManplatoSync for Java is not active.

Version:
$Rev$-$Date: 2001/07/02 11:39:23 $$State: Exp $
Author:
File Created By: Brad BARCLAY <bbarclay@ca.ibm.com>, Last Modified By: $Author: fpal $
See Also:
Serialized Form

Constructor Summary
RegistrationData()
           
 
Method Summary
(package private) static void ()
           
protected  void finalize()
           
 int[] getAllowedIDs()
           
 Conduit getConduit(int i)
           
 Conduit getConduit(java.lang.String s)
           
 int getConduitCount()
           
 java.util.Vector getConduits()
           
 DefaultConduit getDefaultConduit()
           
 boolean getDisablePopups()
           
static java.lang.String getHomeDir()
          Returns the users preferred home directory.
 boolean getInfraredFlag()
           
 boolean getManualHide()
           
 boolean getModemFlag()
           
 java.lang.String getModemInit()
           
 int getNumAllowedIDs()
           
 boolean getSecurityEnabled()
           
 java.lang.String getSerialPort()
           
 int getSpeed()
           
 boolean getSyncTimeOption()
           
 java.awt.Rectangle getWindowPosition()
           
 boolean isConfigured()
           
static RegistrationData loadRegistrationData()
           
 boolean registerConduit(Conduit conduit)
           
 void removeConduit(Conduit conduit)
           
 void removeConduit(int i)
           
 void saveSettings()
           
 void setAllowedIDs(int[] ai)
           
 void setDisablePopups(boolean flag)
           
 void setFrameFlag(boolean b)
          Insert the method's description here.
 void setInfraredFlag(boolean newValue)
           
 void setManualHide(boolean flag)
           
 void setModemFlag(boolean newValue)
           
 void setModemInit(java.lang.String newValue)
           
 void setSecurityEnabled(boolean flag)
           
 void setSerialPort(java.lang.String s)
           
 void setSpeed(int i)
           
 void setSyncTimeOption(boolean flag)
           
 void setWindowPosition(java.awt.Rectangle rectangle)
           
 boolean useFrame()
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationData

public RegistrationData()
Method Detail

static void ()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object

getAllowedIDs

public int[] getAllowedIDs()

getConduit

public Conduit getConduit(int i)

getConduit

public Conduit getConduit(java.lang.String s)
                   throws ConduitNotFoundException

getConduitCount

public int getConduitCount()

getConduits

public java.util.Vector getConduits()

getDefaultConduit

public DefaultConduit getDefaultConduit()

getDisablePopups

public boolean getDisablePopups()

getHomeDir

public static java.lang.String getHomeDir()
Returns the users preferred home directory. This method returns the value of the manplato.home property if it is set, otherwise it returns user.home.
Returns:
a String containing the user's preffered home directory.

getInfraredFlag

public boolean getInfraredFlag()
Returns:
boolean

getManualHide

public boolean getManualHide()

getModemFlag

public boolean getModemFlag()
Returns:
boolean

getModemInit

public java.lang.String getModemInit()
Returns:
java.lang.String

getNumAllowedIDs

public int getNumAllowedIDs()

getSecurityEnabled

public boolean getSecurityEnabled()

getSerialPort

public java.lang.String getSerialPort()

getSpeed

public int getSpeed()

getSyncTimeOption

public boolean getSyncTimeOption()

getWindowPosition

public java.awt.Rectangle getWindowPosition()

isConfigured

public boolean isConfigured()
Returns:
boolean

loadRegistrationData

public static RegistrationData loadRegistrationData()

registerConduit

public boolean registerConduit(Conduit conduit)

removeConduit

public void removeConduit(int i)

removeConduit

public void removeConduit(Conduit conduit)

saveSettings

public void saveSettings()
                  throws java.lang.Exception

setAllowedIDs

public void setAllowedIDs(int[] ai)

setDisablePopups

public void setDisablePopups(boolean flag)

setFrameFlag

public void setFrameFlag(boolean b)
Insert the method's description here. Creation date: (14/05/00 12:52:21 AM)
Parameters:
b - boolean

setInfraredFlag

public void setInfraredFlag(boolean newValue)
Parameters:
newValue - boolean

setManualHide

public void setManualHide(boolean flag)

setModemFlag

public void setModemFlag(boolean newValue)
Parameters:
newValue - boolean

setModemInit

public void setModemInit(java.lang.String newValue)
Parameters:
newValue - java.lang.String

setSecurityEnabled

public void setSecurityEnabled(boolean flag)

setSerialPort

public void setSerialPort(java.lang.String s)

setSpeed

public void setSpeed(int i)

setSyncTimeOption

public void setSyncTimeOption(boolean flag)

setWindowPosition

public void setWindowPosition(java.awt.Rectangle rectangle)

useFrame

public boolean useFrame()
Insert the method's description here. Creation date: (14/05/00 12:51:52 AM)
Returns:
boolean