org.opennms.bb.eui.admin.servmodel.utils
Class SMUserProfWriter

java.lang.Object
  |
  +--org.opennms.bb.eui.common.utils.UserProfWriter
        |
        +--org.opennms.bb.eui.admin.servmodel.utils.SMUserProfWriter

public class SMUserProfWriter
extends UserProfWriter

SMUserProfWriter writes the user preferences for the service model 
 config into the user profile file

 It throws an IOException if the user profile file write fails for
 any reason

Author:
Sowmya

Field Summary
(package private)  String HEIGHT
           
(package private)  String LOOKNFEEL
           
(package private)  String PARM
           
(package private)  String PARM_CLS
           
(package private)  String PARM_NAME
           
(package private)  String PARM_NAME_CLS
           
(package private)  String PARM_VALUE
           
(package private)  String PARM_VALUE_CLS
           
(package private)  String PERSPROF
           
(package private)  String PERSPROF_CLS
           
(package private)  Hashtable userProfile
           
(package private)  String WIDTH
           
(package private)  String XPOS
           
(package private)  String YPOS
           
 
Fields inherited from class org.opennms.bb.eui.common.utils.UserProfWriter
APPL_CLS, APPL_NAME
 
Constructor Summary
SMUserProfWriter(Hashtable inpUserProfile, String userID)
          Writes into the file for the user
 
Method Summary
protected  void writeCurApplInfo(FileWriter fileWriter)
           
(package private)  void writeDimension(FileWriter fileWriter)
           
(package private)  void writeLook(FileWriter fileWriter)
           
(package private)  void writePosition(FileWriter fileWriter)
           
 
Methods inherited from class org.opennms.bb.eui.common.utils.UserProfWriter
readAfterCurAppl, readDTD, readTillCurAppl, skipCurApplOldInfo, skipHeader, writeHeader, writeInfo, writeInto
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

userProfile

Hashtable userProfile

PERSPROF

final String PERSPROF

PERSPROF_CLS

final String PERSPROF_CLS

PARM

final String PARM

PARM_CLS

final String PARM_CLS

PARM_NAME

final String PARM_NAME

PARM_NAME_CLS

final String PARM_NAME_CLS

PARM_VALUE

final String PARM_VALUE

PARM_VALUE_CLS

final String PARM_VALUE_CLS

XPOS

final String XPOS

YPOS

final String YPOS

WIDTH

final String WIDTH

HEIGHT

final String HEIGHT

LOOKNFEEL

final String LOOKNFEEL
Constructor Detail

SMUserProfWriter

public SMUserProfWriter(Hashtable inpUserProfile,
                        String userID)
                 throws IOException
Writes into the file for the user
Method Detail

writeCurApplInfo

protected void writeCurApplInfo(FileWriter fileWriter)
                         throws IOException
Overrides:
writeCurApplInfo in class UserProfWriter

writePosition

void writePosition(FileWriter fileWriter)
             throws IOException

writeDimension

void writeDimension(FileWriter fileWriter)
              throws IOException

writeLook

void writeLook(FileWriter fileWriter)
         throws IOException