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

Quick Search    Search Deep

com.flexstor.ejb.importrecord.persist
Interface DisguiseRecordPersist  view DisguiseRecordPersist download DisguiseRecordPersist.java

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

public interface DisguiseRecordPersist
extends com.flexstor.ejb.EjbObject

DisguiseRecordPersist

Inserts assets in the database.
The DisguiseRecordPersist bean will also take care of creating buckets and elements
for those new assets as well as inserting role information for each of them.
The bean will update asset and role information if the record is already present in the
database.

Uses cache: no State Management Type: Stateless

Configurable properties in flexdm.properties:

NONE


Field Summary
static java.lang.String IDENTIFIER
           
 
Method Summary
 com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData checkForExisting(com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData data)
          Parses through the entire data object checking for the existence of all buckets in the database.
 com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData insertRecord(com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData data)
          Insert or updates the asset and role information in its respective tables.
 
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

insertRecord

public com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData insertRecord(com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData data)
                                                                            throws com.flexstor.common.exceptions.ejb.EjbException,
                                                                                   java.rmi.RemoteException
Insert or updates the asset and role information in its respective tables. It also insert bucket info (not update). Transaction Attribute: Required


checkForExisting

public com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData checkForExisting(com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData data)
                                                                                throws com.flexstor.common.exceptions.ejb.EjbException,
                                                                                       java.rmi.RemoteException
Parses through the entire data object checking for the existence of all buckets in the database. If a bucket (normal or element) exists, add the record id to the data object; otherwise set the record id value to zero. Transaction Attribute: Required