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

Quick Search    Search Deep

com.flexstor.ejb.user.persist
Interface GroupPersist  view GroupPersist download GroupPersist.java

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

public interface GroupPersist
extends com.flexstor.ejb.EjbObject

GroupPersist

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

Uses cache: yes State Management Type: Stateful

Configurable properties in flexdm.properties:

NONE


Field Summary
static java.lang.String IDENTIFIER
           
 
Method Summary
 com.flexstor.common.data.ejb.user.GroupData getGroup()
          Retrieve an FlexGroup data object Transaction Attribute: Not Supported
 com.flexstor.common.data.ejb.user.GroupData getGroup(com.flexstor.common.keys.ejb.GroupKey aGroupKey)
          Retrieve a FlexGroup data object Transaction Attribute: Not Supported
 com.flexstor.common.data.ejb.user.GroupData getGroup(java.lang.String aGroupName)
          Retrieve an FlexGroup data object Transaction Attribute: Not Supported
 java.util.Hashtable getGroupList()
          Retrieve a list of all groups registered in the system Transaction Attribute: Not Supported
 java.util.Vector getGroups(com.flexstor.common.keys.ejb.GroupCollectionKey aKey)
          Retrieve a collection of FlexGroup data objects Transaction Attribute: Not Supported
 com.flexstor.common.data.ejb.user.GroupData insert(com.flexstor.common.data.ejb.user.GroupData aDataObject)
          Insert a new group into the group database.
 void remove(com.flexstor.common.keys.ejb.GroupKey aGroupKey)
          Remove a group from the group database.
 com.flexstor.common.data.ejb.user.GroupData update(com.flexstor.common.data.ejb.user.GroupData aDataObject)
          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

getGroup

public com.flexstor.common.data.ejb.user.GroupData getGroup()
                                                     throws java.rmi.RemoteException
Retrieve an FlexGroup data object Transaction Attribute: Not Supported


getGroup

public com.flexstor.common.data.ejb.user.GroupData getGroup(com.flexstor.common.keys.ejb.GroupKey aGroupKey)
                                                     throws com.flexstor.common.exceptions.ejb.EjbException,
                                                            java.rmi.RemoteException,
                                                            com.flexstor.common.exceptions.ejb.NotFoundException
Retrieve a FlexGroup data object Transaction Attribute: Not Supported


getGroup

public com.flexstor.common.data.ejb.user.GroupData getGroup(java.lang.String aGroupName)
                                                     throws com.flexstor.common.exceptions.ejb.EjbException,
                                                            java.rmi.RemoteException,
                                                            com.flexstor.common.exceptions.ejb.NotFoundException
Retrieve an FlexGroup data object Transaction Attribute: Not Supported


getGroupList

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


getGroups

public java.util.Vector getGroups(com.flexstor.common.keys.ejb.GroupCollectionKey aKey)
                           throws com.flexstor.common.exceptions.ejb.EjbException,
                                  java.rmi.RemoteException,
                                  com.flexstor.common.exceptions.ejb.NotFoundException
Retrieve a collection of FlexGroup data objects Transaction Attribute: Not Supported


insert

public com.flexstor.common.data.ejb.user.GroupData insert(com.flexstor.common.data.ejb.user.GroupData aDataObject)
                                                   throws com.flexstor.common.exceptions.ejb.DuplicateRecordException,
                                                          com.flexstor.common.exceptions.ejb.EjbException,
                                                          java.rmi.RemoteException
Insert a new group into the group database. Transaction Attribute: Required


remove

public void remove(com.flexstor.common.keys.ejb.GroupKey aGroupKey)
            throws com.flexstor.common.exceptions.ejb.EjbException,
                   java.rmi.RemoteException
Remove a group from the group database. Transaction Attribute: Required


update

public com.flexstor.common.data.ejb.user.GroupData update(com.flexstor.common.data.ejb.user.GroupData aDataObject)
                                                   throws com.flexstor.common.exceptions.ejb.EjbException,
                                                          java.rmi.RemoteException
Save the current state of the object to the database. Transaction Attribute: Required