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

Quick Search    Search Deep

com.flexstor.ejb.where.persist
Interface WherePersist  view WherePersist download WherePersist.java

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

public interface WherePersist
extends com.flexstor.ejb.EjbObject

WherePersist

Provides functionality for accessing, inserting, updating and removing restrictive where clauses.

Uses cache: yes State Management Type: Stateless

Configurable properties in flexdm.properties:

NONE


Field Summary
static java.lang.String IDENTIFIER
           
 
Method Summary
 com.flexstor.common.data.ejb.where.RestrictiveWhereData getWhere(com.flexstor.common.keys.ejb.WhereKey key)
          This will get a RestrictiveWhereData Object based upon an oracle key.
 java.util.Vector getWheres(java.util.Vector keys)
          This will get a list of RestrictiveWhereData Objects based upon a collection of collection keys.
 java.util.Vector getWheres(java.util.Vector keys, int disguiseId)
          This will get a list of RestrictiveWhereData Objects based upon a collection of collection key and a disguiseId used as a filter.
 java.util.Vector getWheres(com.flexstor.common.keys.ejb.WhereCollectionKey key)
          This will get a list of RestrictiveWhereData Objects based upon a flexstor collection key.
 java.util.Vector getWheres(com.flexstor.common.keys.ejb.WhereCollectionKey key, int disguiseId)
          This will get a list of RestrictiveWhereData Objects based upon a collection key and a disguise.
 com.flexstor.common.keys.ejb.WhereKey insert(com.flexstor.common.data.ejb.where.RestrictiveWhereData rowDat)
          Insert a new RestrictiveWhere column in the RestrictiveWhere table.
 java.util.Vector queryWhere(int disguiseId)
          This will get A list of RestrictiveWhereData objects based on Disguise.
 void remove(com.flexstor.common.keys.ejb.WhereKey key)
          Remove a RestrictiveWhere From database Based upon key.
 void update(com.flexstor.common.data.ejb.where.RestrictiveWhereData rowDat)
          This will update a RestrictiveWhere row.
 
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

queryWhere

public java.util.Vector queryWhere(int disguiseId)
                            throws com.flexstor.common.exceptions.ejb.EjbException,
                                   java.rmi.RemoteException,
                                   com.flexstor.common.exceptions.ejb.NotFoundException
This will get A list of RestrictiveWhereData objects based on Disguise. Transaction Attribute: Not Supported


getWhere

public com.flexstor.common.data.ejb.where.RestrictiveWhereData getWhere(com.flexstor.common.keys.ejb.WhereKey key)
                                                                 throws com.flexstor.common.exceptions.ejb.EjbException,
                                                                        java.rmi.RemoteException,
                                                                        com.flexstor.common.exceptions.ejb.NotFoundException
This will get a RestrictiveWhereData Object based upon an oracle key. Transaction Attribute: Not Supported


getWheres

public java.util.Vector getWheres(com.flexstor.common.keys.ejb.WhereCollectionKey key)
                           throws com.flexstor.common.exceptions.ejb.EjbException,
                                  java.rmi.RemoteException,
                                  com.flexstor.common.exceptions.ejb.NotFoundException
This will get a list of RestrictiveWhereData Objects based upon a flexstor collection key. This will return null if the collection keys are empty or if the keys are dangling references in the database. Transaction Attribute: Not Supported


getWheres

public java.util.Vector getWheres(java.util.Vector keys)
                           throws com.flexstor.common.exceptions.ejb.EjbException,
                                  java.rmi.RemoteException,
                                  com.flexstor.common.exceptions.ejb.NotFoundException
This will get a list of RestrictiveWhereData Objects based upon a collection of collection keys. This will return null if the collection keys are empty or if the keys are dangling references in the database. Transaction Attribute: Not Supported


getWheres

public java.util.Vector getWheres(java.util.Vector keys,
                                  int disguiseId)
                           throws com.flexstor.common.exceptions.ejb.EjbException,
                                  java.rmi.RemoteException,
                                  com.flexstor.common.exceptions.ejb.NotFoundException
This will get a list of RestrictiveWhereData Objects based upon a collection of collection key and a disguiseId used as a filter. This will return null if the collection keys are empty or if the keys are dangling references in the database. Transaction Attribute: Not Supported


getWheres

public java.util.Vector getWheres(com.flexstor.common.keys.ejb.WhereCollectionKey key,
                                  int disguiseId)
                           throws com.flexstor.common.exceptions.ejb.EjbException,
                                  java.rmi.RemoteException,
                                  com.flexstor.common.exceptions.ejb.NotFoundException
This will get a list of RestrictiveWhereData Objects based upon a collection key and a disguise. This will return null if the collection keys are empty or if the keys are dangling references in the database. Transaction Attribute: Not Supported


update

public void update(com.flexstor.common.data.ejb.where.RestrictiveWhereData rowDat)
            throws com.flexstor.common.exceptions.ejb.EjbException,
                   java.rmi.RemoteException
This will update a RestrictiveWhere row. There MUST be a valid Database key! If key is null in the dataobject then a RemoteException is thrown! Transaction Attribute: Required


insert

public com.flexstor.common.keys.ejb.WhereKey insert(com.flexstor.common.data.ejb.where.RestrictiveWhereData rowDat)
                                             throws com.flexstor.common.exceptions.ejb.EjbException,
                                                    java.rmi.RemoteException
Insert a new RestrictiveWhere column in the RestrictiveWhere table. This will insert a new field and return a RestrictiveWhere key. Transaction Attribute: Required


remove

public void remove(com.flexstor.common.keys.ejb.WhereKey key)
            throws com.flexstor.common.exceptions.ejb.EjbException,
                   java.rmi.RemoteException
Remove a RestrictiveWhere From database Based upon key. If the key is an invalid reference, the method will return normally. Transaction Attribute: Required