|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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| Field 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 |
| Constructor Summary | |
UserImpl()
Default constructor. |
|
| Method Summary | |
protected void |
authorizeUserModification()
|
protected void |
bscInitializeAttributes(UserPk userPk)
Initializer for the User. |
void |
ejbActivate()
|
UserPk |
ejbCreate(UserPk userPk)
|
UserPk |
ejbFindByPrimaryKey(UserPk pk)
|
void |
ejbLoad()
|
void |
ejbPassivate()
|
void |
ejbPostCreate(UserPk userPk)
|
void |
ejbRemove()
|
void |
ejbStore()
|
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(com.beasys.commerce.axiom.contact.EntityContext ctx)
|
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()
|
| Methods inherited from class com.beasys.commerce.foundation.ConfigurableEntityImpl |
addBusinessPolicy, addCachedPropertyMapped, addCachedPropertyValue, addPropertyValue, addPropertyValueMapped, buildPolicyKey, createMapKey, ejbCreate, ejbPostCreate, getBusinessPolicy, getCachedProperty, getImplicitProperty, getPersistableHandle, getProperty, getPropertyDefault, getPropertyMap, getPropertyNoDefault, getSuccessor, getUniqueId, getUniqueId, removeBusinessPolicy, removeCachedProperties, removeCachedProperties, removeCachedProperty,
|
| 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 object
public 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
ejbLoad in class ConfigurableEntityImpl
public void ejbStore()
throws javax.ejb.EJBException
ejbStore in class ConfigurableEntityImpl
public void ejbRemove()
throws com.beasys.commerce.foundation.RemoveException
ejbRemove in class ConfigurableEntityImpl
public void ejbActivate()
throws javax.ejb.EJBException
ejbActivate in class ConfigurableEntityImpl
public void ejbPassivate()
throws javax.ejb.EJBException
ejbPassivate in class ConfigurableEntityImpl
public void setEntityContext(com.beasys.commerce.axiom.contact.EntityContext ctx)
throws javax.ejb.EJBException
public void unsetEntityContext()
throws javax.ejb.EJBException
public UserPk ejbFindByPrimaryKey(UserPk pk)
throws <>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
getProperty in class ConfigurableEntityImplcom.beasys.commerce.foundation.ConfigurableEntityImplkey - java.lang.StringdefaultValue - java.lang.Object
public java.lang.Object getProperty(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor,
java.lang.Object defaultValue)
throws SystemException
getProperty in class ConfigurableEntityImplcom.beasys.commerce.foundation.ConfigurableEntityImplkey - java.lang.String
public java.lang.String getPropertyAsString(java.lang.String key,
java.lang.String defaultValue)
throws SystemException
getPropertyAsString in class ConfigurableEntityImplcom.beasys.commerce.foundation.ConfigurableEntityImplkey - java.lang.String
public java.lang.String getPropertyAsString(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor,
java.lang.String defaultValue)
throws SystemException
getPropertyAsString in class ConfigurableEntityImplcom.beasys.commerce.foundation.ConfigurableEntityImplkey - java.lang.String
public java.lang.Object removeProperty(java.lang.String key)
throws SystemException
removeProperty in class ConfigurableEntityImpl
public java.lang.Object removeProperty(java.lang.String scopeName,
java.lang.String key)
throws SystemException
removeProperty in class ConfigurableEntityImpl
public java.lang.Object removePropertyValue(java.lang.String scopeName,
java.lang.String key,
java.lang.Object propertyValue)
throws SystemException
removePropertyValue in class ConfigurableEntityImpl
public void setProperty(java.lang.String key,
java.lang.Object value)
throws SystemException
setProperty in class ConfigurableEntityImplcom.beasys.commerce.foundation.ConfigurableEntityImplkey - The string to which the property will be boundproperty - The value that will be bound to that name
public void setProperty(java.lang.String scopeName,
java.lang.String key,
java.lang.Object property)
throws SystemException
setProperty in class ConfigurableEntityImplcom.beasys.commerce.foundation.ConfigurableEntityImplscopeName - 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 user
protected void authorizeUserModification()
throws SystemException
|
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||