BEA Systems, Inc.

com.beasys.commerce.axiom.contact
Class UserImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.EntityImpl
        |
        +--com.beasys.commerce.foundation.ConfigurableEntityImpl
              |
              +--com.beasys.commerce.axiom.contact.UserImpl
Direct Known Subclasses:
UnifiedUserBean

public class UserImpl
extends ConfigurableEntityImpl

The implementation of the User entity bean interface.

User is a component that represents a user of a system. Users can be members of groups, represented by the Group component. Users are extentions of ConfigurableEntity, and therefore have the concept of getting and setting properties that are relevant to the user.

 Primary Key = com.beasys.commerce.axiom.contact.UserPk
 

See Also:
User, UserHome, com.beasys.commerce.axiom.contact.UserValue, Serialized Form

Field Summary
 java.lang.String identifier
          The primary key for this user.
 
Fields inherited from class com.beasys.commerce.foundation.EntityImpl
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _isDirty
 
Constructor Summary
UserImpl()
          Default constructor.
 
Method Summary
 void ejbActivate()
          ejbActivate method.
 UserPk ejbCreate(UserPk userPk)
          Set all of User's attributes to the passed in value.
 UserPk ejbFindByPrimaryKey(UserPk pk)
           
 void ejbLoad()
          ejbLoad method.
 void ejbPassivate()
          ejbPassivate method.
 void ejbPostCreate(UserPk userPk)
           
 void ejbRemove()
          ejbRemove method.
 void ejbStore()
          ejbStore method.
 java.lang.String getIdentifier()
          Returns the primary key field for this user.
 void setEntityContext(javax.ejb.EntityContext ctx)
          setEntityContext method.
 void setIdentifier(java.lang.String value)
          Sets the primary key field for this user.
 void unsetEntityContext()
          unsetEntityContext method.
 
Methods inherited from class com.beasys.commerce.foundation.ConfigurableEntityImpl
addBusinessPolicy, addCachedPropertyMapped, addCachedPropertyValue, addPropertyValue, addPropertyValueMapped, buildPolicyKey, createMapKey, ejbCreate, ejbPostCreate, getBusinessPolicy, getCachedProperty, getPersistableHandle, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyMap, getPropertyNoDefault, getSuccessor, getUniqueId, removeBusinessPolicy, removeCachedProperties, removeCachedProperties, removeCachedProperty, removeCachedPropertyMapped, removeCachedPropertyValue, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setCachedProperty, setProperty, setProperty, setSuccessor, upcaseFirst
 
Methods inherited from class com.beasys.commerce.foundation.EntityImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, ejbFindAll, ejbFindByPrimaryKey, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getEntityContext, isModified, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

public java.lang.String identifier
The primary key for this user.

Constructor Detail

UserImpl

public UserImpl()
         throws javax.ejb.CreateException
Default constructor.
Method Detail

ejbCreate

public UserPk ejbCreate(UserPk userPk)
                 throws javax.ejb.CreateException,
                        java.rmi.RemoteException
Set all of User's attributes to the passed in value. Note: Primary key attributes are not set.
Parameters:
UserValue - the User value object

ejbPostCreate

public void ejbPostCreate(UserPk userPk)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException

ejbLoad

public void ejbLoad()
             throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbLoad method.
Overrides:
ejbLoad in class ConfigurableEntityImpl

ejbStore

public void ejbStore()
              throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbStore method.
Overrides:
ejbStore in class ConfigurableEntityImpl

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException,
                      javax.ejb.RemoveException
Description copied from class: EntityImpl
ejbRemove method.
Overrides:
ejbRemove in class ConfigurableEntityImpl

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbActivate method.
Overrides:
ejbActivate in class ConfigurableEntityImpl

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbPassivate method.
Overrides:
ejbPassivate in class ConfigurableEntityImpl

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws java.rmi.RemoteException
Description copied from class: EntityImpl
setEntityContext method.
Overrides:
setEntityContext in class EntityImpl

unsetEntityContext

public void unsetEntityContext()
                        throws java.rmi.RemoteException
Description copied from class: EntityImpl
unsetEntityContext method.
Overrides:
unsetEntityContext in class EntityImpl

ejbFindByPrimaryKey

public UserPk ejbFindByPrimaryKey(UserPk pk)
                           throws javax.ejb.FinderException,
                                  java.rmi.RemoteException

getIdentifier

public java.lang.String getIdentifier()
                               throws java.rmi.RemoteException
Returns the primary key field for this user.
Returns:
the primary key field for this user

setIdentifier

public void setIdentifier(java.lang.String value)
                   throws java.rmi.RemoteException
Sets the primary key field for this user.
Parameters:
value - the primary key for this user

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved