com.beasys.commerce.axiom.contact
Class GroupSmartBMP
java.lang.Object
|
+--com.beasys.commerce.axiom.contact.GroupSmartBMP
- public class GroupSmartBMP
- extends java.lang.Object
- implements SmartBMP, UserManagementConstants
Implementation of the SmartBMP interface for the Group bean.
- See Also:
Group
,
GroupHome
,
com.beasys.commerce.axiom.contact.GroupValue
Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants |
ANONYMOUS_PROFILE,
CACHED_PROFILE,
CONTENT_TYPE,
DEFAULT_SCOPE,
DEFAULT_SUCCESSOR,
DEFAULT_SUCCESSOR_HOME,
DEFAULT_SUCCESSOR_JNDI,
DEFAULT_SUCCESSOR_PK,
DEFAULT_USER,
DEFAULT_USER_HOME,
DEFAULT_USER_JNDI,
DEFAULT_USER_PK,
GROUP,
GROUP_ENTITY_HOME,
PROFILE_MGR,
PROFILE_SUCCESSOR,
PROFILE_USER,
REALM_CONFIG,
REQUEST_TYPE,
RESERVED_SCOPE,
SCHEMA,
SESSION_TYPE,
USER,
USER_ENTITY_HOME,
USER_MGR,
USER_MGR_PROPERTIES,
USER_TYPE |
Method Summary |
void |
create(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbCreate() method. |
boolean |
exists(SmartKey smartKey)
Indicates if a bean with the specified primary key exists in the
persistent store. |
java.util.Enumeration |
findAll()
Implements BMP functionality of ejbFindAll() method. |
void |
refresh(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbLoad() method. |
void |
remove(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbRemove() method. |
void |
setJNDIContext(javax.naming.Context JNDIContext)
Informs provider of the JNDI Context. |
void |
update(SmartKey smartKey,
EntityImpl entityImpl)
Implements BMP functionality of ejbStore() and ejbPostCreate() methods. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GroupSmartBMP
public GroupSmartBMP()
setJNDIContext
public void setJNDIContext(javax.naming.Context JNDIContext)
throws BMPException
- Informs provider of the JNDI Context.
- Specified by:
- setJNDIContext in interface SmartBMP
- Parameters:
JNDIContext
- the bean's JNDIContext.
create
public void create(SmartKey smartKey,
EntityImpl entityImpl)
throws BMPException
- Implements BMP functionality of ejbCreate() method.
Initialize the representation of the entity bean in persistent store
using the smartKey as primary key. Attributes of the entity bean in
persistent store should be set to the implementation's equivalent of
default or null values.
The entity is invalid at this point. The metadata may be useful to
the implementation.
- Specified by:
- create in interface SmartBMP
- Parameters:
smartKey
- the primary key of the beanentityImpl
- READ ONLY, invalid, uninitialized instance of the
entity bean- Throws:
- BMPException - wrapper for provider exception
refresh
public void refresh(SmartKey smartKey,
EntityImpl entityImpl)
throws BMPException
- Implements BMP functionality of ejbLoad() method.
Copies attributes from persistent store to the entity bean
using the smartKey as primary key.
- Specified by:
- refresh in interface SmartBMP
- Parameters:
smartKey
- the primary key of the beanentityImpl
- READ/WRITE instance of the entity bean- Throws:
- BMPException - wrapper for provider exception
update
public void update(SmartKey smartKey,
EntityImpl entityImpl)
throws BMPException
- Implements BMP functionality of ejbStore() and ejbPostCreate() methods.
Copies attributes of entity bean to persistent store
using the smartKey as primary key.
- Specified by:
- update in interface SmartBMP
- Parameters:
smartKey
- the primary key of the beanentityImpl
- READ ONLY instance of the entity bean- Throws:
- BMPException - wrapper for provider exception
remove
public void remove(SmartKey smartKey,
EntityImpl entityImpl)
throws BMPException
- Implements BMP functionality of ejbRemove() method.
Remove the entity bean from persistent store
using the smartKey as primary key.
- Specified by:
- remove in interface SmartBMP
- Parameters:
smartKey
- the primary key of the bean- Throws:
- BMPException - wrapper for provider exception
exists
public boolean exists(SmartKey smartKey)
throws BMPException
- Indicates if a bean with the specified primary key exists in the
persistent store.
- Specified by:
- exists in interface SmartBMP
- Parameters:
smartKey
- the primary key of the bean- Returns:
- true if a bean with the specified primary key exists
- Throws:
- BMPException - wrapper for provider exception
findAll
public java.util.Enumeration findAll()
throws BMPException
- Implements BMP functionality of ejbFindAll() method.
- Specified by:
- findAll in interface SmartBMP
- Returns:
- an enumeration of all instances of a type of bean.
- Throws:
- BMPException - wrapper for provider exception
Copyright © 2000 BEA Systems, Inc. All Rights Reserved