|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.EntityImpl | +--com.beasys.commerce.foundation.ConfigurableEntityImpl | +--com.beasys.commerce.axiom.contact.UserImpl
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
User
,
UserHome
,
UserValue
, Serialized FormField Summary | |
java.lang.String |
identifier
The primary key for this user. |
Fields inherited from class com.beasys.commerce.foundation.ConfigurableEntityImpl |
DEFAULT_ENTITY_PROPERTY_MANAGER_HOME,
DEFAULT_SCHEMA_GROUP_NAME,
ENTITY_PROPERTY_MANAGER_HOME,
propertyMap,
SCHEMA_GROUP_NAME |
Fields inherited from class com.beasys.commerce.foundation.EntityImpl |
__classIdentifier,
__containingEntity,
__mapKey,
__sequenceNumber,
_ctx,
_environmentNamingContext,
_environmentPropertyCache,
_isDirty,
_smartBMP |
Constructor Summary | |
UserImpl()
Default constructor. |
Method Summary | |
protected void |
authorizeUserModification()
|
protected void |
bscInitializeAttributes(UserPk userPk)
Initializer for the User. |
void |
ejbActivate()
ejbActivate method. |
UserPk |
ejbCreate(UserPk userPk)
|
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. |
java.lang.Object |
getProperty(java.lang.String key,
java.lang.Object defaultValue)
Override the default impl to check shared profile first |
java.lang.Object |
getProperty(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor,
java.lang.Object defaultValue)
Override the default impl to check shared profile first |
java.lang.String |
getPropertyAsString(java.lang.String key,
java.lang.String defaultValue)
Override the default impl to check shared profile first |
java.lang.String |
getPropertyAsString(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor,
java.lang.String defaultValue)
Override the default impl to check shared profile first |
protected com.beasys.commerce.foundation.property.external.SharedProfileProvider |
getSharedProfileProvider()
|
protected com.beasys.commerce.foundation.property.external.SharedProperty |
getSharedProperty(java.lang.String propertySet,
java.lang.String propertyName)
Try to retrieve a property from a shared profile provider. |
UserValue |
getUserByValue()
Get all of User's attributes. |
protected boolean |
isSharedProperty(java.lang.String propertySet,
java.lang.String propertyName)
|
java.lang.Object |
removeProperty(java.lang.String key)
Override the default impl to check shared profile first |
java.lang.Object |
removeProperty(java.lang.String scopeName,
java.lang.String key)
Override the default impl to check shared profile first |
java.lang.Object |
removePropertyValue(java.lang.String scopeName,
java.lang.String key,
java.lang.Object propertyValue)
Override the default impl to check shared profile first |
protected java.lang.Object |
removeSharedProperty(java.lang.String propertySet,
java.lang.String propertyName)
|
protected java.lang.Object |
removeSharedPropertyValue(java.lang.String propertySet,
java.lang.String propertyName,
java.lang.Object value)
|
void |
setEntityContext(javax.ejb.EntityContext ctx)
setEntityContext method. |
void |
setIdentifier(java.lang.String value)
Sets the primary key field for this user. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Override the default impl to check shared profile first |
void |
setProperty(java.lang.String scopeName,
java.lang.String key,
java.lang.Object property)
Override the default impl to check shared profile first |
protected void |
setSharedProperty(java.lang.String propertySet,
java.lang.String propertyName,
java.lang.Object value)
|
void |
setUserByValue(UserValue value)
Set all of User's attributes to the passed in value. |
void |
unsetEntityContext()
unsetEntityContext method. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String identifier
Constructor Detail |
public UserImpl()
Method Detail |
public UserValue getUserByValue()
public void setUserByValue(UserValue value)
UserValue
- the User value objectpublic UserPk ejbCreate(UserPk userPk) throws javax.ejb.CreateException
protected void bscInitializeAttributes(UserPk userPk) throws javax.ejb.CreateException
public void ejbPostCreate(UserPk userPk) throws javax.ejb.CreateException
public void ejbLoad() throws javax.ejb.EJBException
public void ejbStore() throws javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.RemoveException
public void ejbActivate() throws javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException
public void unsetEntityContext() throws javax.ejb.EJBException
public UserPk ejbFindByPrimaryKey(UserPk pk) throws javax.ejb.FinderException
protected com.beasys.commerce.foundation.property.external.SharedProfileProvider getSharedProfileProvider()
protected com.beasys.commerce.foundation.property.external.SharedProperty getSharedProperty(java.lang.String propertySet, java.lang.String propertyName)
protected boolean isSharedProperty(java.lang.String propertySet, java.lang.String propertyName)
protected java.lang.Object removeSharedProperty(java.lang.String propertySet, java.lang.String propertyName)
protected java.lang.Object removeSharedPropertyValue(java.lang.String propertySet, java.lang.String propertyName, java.lang.Object value)
protected void setSharedProperty(java.lang.String propertySet, java.lang.String propertyName, java.lang.Object value)
public java.lang.Object getProperty(java.lang.String key, java.lang.Object defaultValue) throws SystemException
key
- java.lang.StringdefaultValue
- java.lang.ObjectgetProperty
public java.lang.Object getProperty(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor, java.lang.Object defaultValue) throws SystemException
key
- java.lang.Stringpublic java.lang.String getPropertyAsString(java.lang.String key, java.lang.String defaultValue) throws SystemException
key
- java.lang.Stringpublic java.lang.String getPropertyAsString(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor, java.lang.String defaultValue) throws SystemException
key
- java.lang.Stringpublic java.lang.Object removeProperty(java.lang.String key) throws SystemException
public java.lang.Object removeProperty(java.lang.String scopeName, java.lang.String key) throws SystemException
public java.lang.Object removePropertyValue(java.lang.String scopeName, java.lang.String key, java.lang.Object propertyValue) throws SystemException
public void setProperty(java.lang.String key, java.lang.Object value) throws SystemException
key
- The string to which the property will be boundproperty
- The value that will be bound to that namepublic void setProperty(java.lang.String scopeName, java.lang.String key, java.lang.Object property) throws SystemException
scopeName
- The scopeName and key uniquely identify the propertyNamekey
- property
- The value to associate with the property.public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String value)
value
- the primary key for this userprotected void authorizeUserModification() throws SystemException
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |