Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.settings
Class AbstractSettingsModel  view AbstractSettingsModel download AbstractSettingsModel.java

java.lang.Object
  extended bycom.flexstor.common.settings.AbstractSettingsModel
All Implemented Interfaces:
SettingsModelI
Direct Known Subclasses:
SendSettingsModel

public abstract class AbstractSettingsModel
extends java.lang.Object
implements SettingsModelI


Field Summary
protected  boolean bInitialized
           
protected  com.flexstor.common.gateway.SettingsGateway gateway
           
protected  java.util.ArrayList listSettings
           
 
Constructor Summary
AbstractSettingsModel()
           
 
Method Summary
abstract  void addSetting(com.flexstor.common.data.ejb.SettingData setting)
           
 java.util.ArrayList getSettings()
           
abstract  void refresh()
           
 void removeSetting(com.flexstor.common.data.ejb.SettingData setting)
           
abstract  void updateSetting(com.flexstor.common.data.ejb.SettingData data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gateway

protected com.flexstor.common.gateway.SettingsGateway gateway

listSettings

protected java.util.ArrayList listSettings

bInitialized

protected boolean bInitialized
Constructor Detail

AbstractSettingsModel

public AbstractSettingsModel()
Method Detail

getSettings

public java.util.ArrayList getSettings()
                                throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Specified by:
getSettings in interface SettingsModelI

addSetting

public abstract void addSetting(com.flexstor.common.data.ejb.SettingData setting)
                         throws com.flexstor.common.gateway.exceptions.TransactionFailedException,
                                com.flexstor.common.exceptions.ejb.DuplicateRecordException
Specified by:
addSetting in interface SettingsModelI

updateSetting

public abstract void updateSetting(com.flexstor.common.data.ejb.SettingData data)
                            throws com.flexstor.common.gateway.exceptions.TransactionFailedException,
                                   com.flexstor.common.exceptions.ejb.DuplicateRecordException
Specified by:
updateSetting in interface SettingsModelI

removeSetting

public void removeSetting(com.flexstor.common.data.ejb.SettingData setting)
                   throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Specified by:
removeSetting in interface SettingsModelI

refresh

public abstract void refresh()
                      throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Specified by:
refresh in interface SettingsModelI