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

Quick Search    Search Deep

com.flexstor.ejb.machine.persist
Interface MachinePersist  view MachinePersist download MachinePersist.java

All Superinterfaces:
com.flexstor.ejb.EjbObject, javax.ejb.EJBObject, java.rmi.Remote

public interface MachinePersist
extends com.flexstor.ejb.EjbObject

MachinePersist

MachinePersist has the ability to manipulate (add, change, delete) a Machine representation
within a persistant data store.

Uses cache: no State Management Type: Stateless

Configurable properties in flexdm.properties:

NONE


Field Summary
static java.lang.String IDENTIFIER
           
 
Method Summary
 void addMachineSetting(java.lang.String aMachineName, java.lang.String key, java.lang.String value)
          This method add a machine setting to the maching specified by the name.
 void deleteMachineSetting(java.lang.String aMachineName, java.lang.String key)
          This method deletes a machine setting from the maching specified by the name.
 com.flexstor.common.data.ejb.machine.MachineData getMachine(java.lang.String aMachineName)
          This method retrieves machine data by machine name Transaction Attribute: Not Supported
 java.util.Hashtable getMachineList()
          Retrieve an list of all machines registered in the system Transaction Attribute: Not Supported
 com.flexstor.common.keys.ejb.MachineKey insert(com.flexstor.common.data.ejb.machine.MachineData aDataLayer)
          Create a new instance of Machine in the database.
 void modifyMachineSetting(java.lang.String aMachineName, java.lang.String key, java.lang.String newValue)
          This method modifes a machine setting for the maching specified by the name.
 void remove(com.flexstor.common.keys.ejb.MachineKey aMachineKey)
          Remove the instance of Machine from the database.
 void update(com.flexstor.common.data.ejb.machine.MachineData aDataLayer)
          Save the current state of the object to the database.
 
Methods inherited from interface com.flexstor.ejb.EjbObject
keepAlive
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
See Also:
Constant Field Values
Method Detail

getMachine

public com.flexstor.common.data.ejb.machine.MachineData getMachine(java.lang.String aMachineName)
                                                            throws com.flexstor.common.exceptions.ejb.EjbException,
                                                                   java.rmi.RemoteException
This method retrieves machine data by machine name Transaction Attribute: Not Supported


addMachineSetting

public void addMachineSetting(java.lang.String aMachineName,
                              java.lang.String key,
                              java.lang.String value)
                       throws com.flexstor.common.exceptions.ejb.EjbException,
                              java.rmi.RemoteException
This method add a machine setting to the maching specified by the name. Transaction Attribute: Required


deleteMachineSetting

public void deleteMachineSetting(java.lang.String aMachineName,
                                 java.lang.String key)
                          throws com.flexstor.common.exceptions.ejb.EjbException,
                                 java.rmi.RemoteException,
                                 com.flexstor.common.exceptions.ejb.NotFoundException
This method deletes a machine setting from the maching specified by the name. Transaction Attribute: Required


modifyMachineSetting

public void modifyMachineSetting(java.lang.String aMachineName,
                                 java.lang.String key,
                                 java.lang.String newValue)
                          throws com.flexstor.common.exceptions.ejb.EjbException,
                                 java.rmi.RemoteException
This method modifes a machine setting for the maching specified by the name. Transaction Attribute: Required


getMachineList

public java.util.Hashtable getMachineList()
                                   throws com.flexstor.common.exceptions.ejb.EjbException,
                                          java.rmi.RemoteException
Retrieve an list of all machines registered in the system Transaction Attribute: Not Supported


insert

public com.flexstor.common.keys.ejb.MachineKey insert(com.flexstor.common.data.ejb.machine.MachineData aDataLayer)
                                               throws com.flexstor.common.exceptions.ejb.DuplicateRecordException,
                                                      com.flexstor.common.exceptions.ejb.EjbException,
                                                      java.rmi.RemoteException
Create a new instance of Machine in the database. Transaction Attribute: Required


remove

public void remove(com.flexstor.common.keys.ejb.MachineKey aMachineKey)
            throws com.flexstor.common.exceptions.ejb.EjbException,
                   java.rmi.RemoteException
Remove the instance of Machine from the database. Transaction Attribute: Required


update

public void update(com.flexstor.common.data.ejb.machine.MachineData aDataLayer)
            throws com.flexstor.common.exceptions.ejb.DuplicateRecordException,
                   com.flexstor.common.exceptions.ejb.EjbException,
                   java.rmi.RemoteException
Save the current state of the object to the database. Transaction Attribute: Required