|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.EntityImpl
@Deprecated public class EntityImpl
This is the base implementation of the Business Smart Component (BSC) entity interface. For each BSC Entity derived interface, there will be a corresponding BSC EntityImpl with business methods that are mirrored. It also provides storage for an EntityContext and an implementation of the Set and Get Entity Context methods.
Entity
,
Serialized FormField Summary | |
---|---|
String |
__classIdentifier
Deprecated See BEA Commerce product offering |
SmartEntityReference |
__containingEntity
Deprecated See BEA Commerce product offering |
Object |
__mapKey
Deprecated See BEA Commerce product offering |
Long |
__sequenceNumber
Deprecated See BEA Commerce product offering |
javax.ejb.EntityContext |
_ctx
Deprecated See BEA Commerce product offering |
protected Context |
_environmentNamingContext
Deprecated See BEA Commerce product offering |
protected Hashtable |
_environmentPropertyCache
Deprecated See BEA Commerce product offering |
boolean |
_isDirty
Deprecated See BEA Commerce product offering |
protected SmartBMP |
_smartBMP
Deprecated See BEA Commerce product offering |
Constructor Summary | |
---|---|
EntityImpl()
Deprecated See BEA Commerce product offering |
Method Summary | |
---|---|
protected void |
bscInitializeAttributes(SmartKey pk)
Deprecated See BEA Commerce product offering |
void |
clearRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated See BEA Commerce product offering |
void |
clearRelationalBinding(String attributeIdentifier,
Collection collection,
Object o)
Deprecated See BEA Commerce product offering |
void |
clearRelationalBinding(String attributeIdentifier,
Map map)
Deprecated See BEA Commerce product offering |
void |
clearRelationalBinding(String attributeIdentifier,
Map map,
Object key)
Deprecated See BEA Commerce product offering |
protected Collection |
doRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated See BEA Commerce product offering |
protected Map |
doRelationalBinding(String attributeIdentifier,
Map map)
Deprecated See BEA Commerce product offering |
protected Belonging |
doRelationalBindingOnElement(String attributeIdentifier,
Belonging value)
Deprecated See BEA Commerce product offering |
protected javax.ejb.EJBObject |
doRelationalBindingOnElement(String attributeIdentifier,
javax.ejb.EJBObject value)
Deprecated See BEA Commerce product offering |
protected Object |
doRelationalBindingOnElement(String attributeIdentifier,
Object value)
Deprecated See BEA Commerce product offering |
protected Belonging |
doRelationalBindingOnSingleton(String attributeIdentifier,
Belonging value)
Deprecated See BEA Commerce product offering |
protected javax.ejb.EJBObject |
doRelationalBindingOnSingleton(String attributeIdentifier,
javax.ejb.EJBObject ejbObject)
Deprecated See BEA Commerce product offering |
protected Object |
doRelationalBindingOnSingleton(String attributeIdentifier,
Object value)
Deprecated See BEA Commerce product offering |
protected Object |
doRelationalBindingWithMapKey(String attributeIdentifier,
Belonging belonging,
Object key)
Deprecated See BEA Commerce product offering |
protected javax.ejb.EJBObject |
doRelationalBindingWithMapKey(String attributeIdentifier,
javax.ejb.EJBObject ejbObject,
Object key)
Deprecated See BEA Commerce product offering |
protected Object |
doRelationalBindingWithMapKey(String attributeIdentifier,
Object object,
Object key)
Deprecated See BEA Commerce product offering |
void |
ejbActivate()
Deprecated See BEA Commerce product offering |
SmartKey |
ejbCreate(SmartKey pk)
Deprecated See BEA Commerce product offering |
Enumeration |
ejbFindAll()
Deprecated See BEA Commerce product offering |
SmartKey |
ejbFindByPrimaryKey(SmartKey pk)
Deprecated See BEA Commerce product offering |
void |
ejbLoad()
Deprecated See BEA Commerce product offering |
void |
ejbPassivate()
Deprecated See BEA Commerce product offering |
void |
ejbPostCreate(SmartKey key)
Deprecated See BEA Commerce product offering |
void |
ejbRemove()
Deprecated See BEA Commerce product offering |
void |
ejbStore()
Deprecated See BEA Commerce product offering |
protected Collection |
enumerateRelationalBinding(String attributeIdentifier,
Collection collection)
Deprecated See BEA Commerce product offering |
protected Map |
enumerateRelationalBinding(String attributeIdentifier,
Map map)
Deprecated See BEA Commerce product offering |
String |
get__classIdentifier()
Deprecated See BEA Commerce product offering |
Belonging |
get__containingBelonging()
Deprecated See BEA Commerce product offering |
javax.ejb.EJBObject |
get__containingEntity()
Deprecated See BEA Commerce product offering |
SmartEntityReference |
get__containingEntityReference()
Deprecated See BEA Commerce product offering |
Object |
get__mapKey()
Deprecated See BEA Commerce product offering |
Long |
get__sequenceNumber()
Deprecated See BEA Commerce product offering |
javax.ejb.EntityContext |
getEntityContext()
Deprecated See BEA Commerce product offering |
protected Context |
getEnvironmentNamingContext()
Deprecated See BEA Commerce product offering |
Object |
getEnvironmentProperty(String propertyName)
Deprecated See BEA Commerce product offering |
Object |
getEnvironmentProperty(String propertyName,
Object defaultValue)
Deprecated See BEA Commerce product offering |
protected Hashtable |
getEnvironmentPropertyCache()
Deprecated See BEA Commerce product offering |
PersistenceHelperPlugin |
getPersistenceHelperPlugin()
Deprecated See BEA Commerce product offering |
protected SmartBMP |
getSmartBMP()
Deprecated See BEA Commerce product offering |
protected SmartBMP |
initSmartBMP()
Deprecated See BEA Commerce product offering |
boolean |
isModified()
Deprecated See BEA Commerce product offering |
protected void |
set__classIdentifier(String classIdentifier)
Deprecated See BEA Commerce product offering |
void |
set__containingBelonging(Belonging belonging)
Deprecated See BEA Commerce product offering |
void |
set__containingEntity(javax.ejb.EJBObject containingEntity)
Deprecated See BEA Commerce product offering |
void |
set__containingEntityReference(SmartEntityReference smartEntityReference)
Deprecated See BEA Commerce product offering |
void |
set__mapKey(Object mapKey)
Deprecated See BEA Commerce product offering |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Deprecated See BEA Commerce product offering |
void |
unsetEntityContext()
Deprecated See BEA Commerce product offering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public transient boolean _isDirty
public javax.ejb.EntityContext _ctx
protected transient SmartBMP _smartBMP
protected transient Context _environmentNamingContext
protected transient Hashtable _environmentPropertyCache
public SmartEntityReference __containingEntity
public Object __mapKey
public Long __sequenceNumber
public String __classIdentifier
Constructor Detail |
---|
public EntityImpl()
Method Detail |
---|
protected void bscInitializeAttributes(SmartKey pk) throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbActivate() throws javax.ejb.EJBException
ejbActivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
public SmartKey ejbCreate(SmartKey pk) throws javax.ejb.CreateException, javax.ejb.EJBException
javax.ejb.CreateException
javax.ejb.EJBException
public Enumeration ejbFindAll() throws javax.ejb.FinderException, javax.ejb.EJBException
javax.ejb.FinderException
javax.ejb.EJBException
public SmartKey ejbFindByPrimaryKey(SmartKey pk) throws javax.ejb.FinderException, javax.ejb.EJBException
javax.ejb.FinderException
javax.ejb.EJBException
public void ejbLoad() throws javax.ejb.EJBException
ejbLoad
in interface javax.ejb.EntityBean
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
ejbPassivate
in interface javax.ejb.EntityBean
javax.ejb.EJBException
public void ejbPostCreate(SmartKey key) throws javax.ejb.CreateException, javax.ejb.EJBException
javax.ejb.CreateException
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.RemoveException, javax.ejb.EJBException
ejbRemove
in interface javax.ejb.EntityBean
javax.ejb.RemoveException
javax.ejb.EJBException
public void ejbStore() throws javax.ejb.EJBException
ejbStore
in interface javax.ejb.EntityBean
javax.ejb.EJBException
public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException
setEntityContext
in interface javax.ejb.EntityBean
javax.ejb.EJBException
public void unsetEntityContext() throws javax.ejb.EJBException
unsetEntityContext
in interface javax.ejb.EntityBean
javax.ejb.EJBException
public javax.ejb.EntityContext getEntityContext()
protected Context getEnvironmentNamingContext() throws NamingException
NamingException
- - if a naming exception is encounteredprotected Hashtable getEnvironmentPropertyCache()
public Object getEnvironmentProperty(String propertyName) throws NamingException
NamingException
- - if a naming exception is encounteredpublic Object getEnvironmentProperty(String propertyName, Object defaultValue) throws NamingException
NamingException
- - if a naming exception is encounteredprotected SmartBMP getSmartBMP()
protected SmartBMP initSmartBMP() throws SystemException
SystemException
public boolean isModified()
public Long get__sequenceNumber()
get__sequenceNumber
in interface RelationalReference
public Object get__mapKey()
RelationalReference
get__mapKey
in interface RelationalReference
public void set__mapKey(Object mapKey)
RelationalReference
set__mapKey
in interface RelationalReference
mapKey
- the key if this object is used in a mappublic SmartEntityReference get__containingEntityReference()
public void set__containingEntityReference(SmartEntityReference smartEntityReference)
public void set__containingEntity(javax.ejb.EJBObject containingEntity)
set__containingEntity
in interface RelationalReference
ejbObject
- remote interface of the containing bean
ClassCastException
- source object is not an instance of %EntityType%public javax.ejb.EJBObject get__containingEntity()
get__containingEntity
in interface RelationalReference
protected void set__classIdentifier(String classIdentifier)
public String get__classIdentifier()
get__classIdentifier
in interface RelationalReference
public void set__containingBelonging(Belonging belonging)
set__containingBelonging
in interface RelationalReference
ejbObject
- remote interface of the containing beanpublic Belonging get__containingBelonging()
get__containingBelonging
in interface RelationalReference
ClassCastException
- source object is not an instance of the remote interface of the containing class.protected Object doRelationalBindingOnElement(String attributeIdentifier, Object value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersvalue
- instance of a dependent objectentityImpl
- implementation of an entity bean
protected Belonging doRelationalBindingOnElement(String attributeIdentifier, Belonging value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersbelonging
- instance of a belongingentityImpl
- implementation of an entity bean
protected javax.ejb.EJBObject doRelationalBindingOnElement(String attributeIdentifier, javax.ejb.EJBObject value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersejbObject
- instance of an EJB objectentityImpl
- implementation of an entity bean
protected Object doRelationalBindingOnSingleton(String attributeIdentifier, Object value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersvalue
- instance of a dependent objectentityImpl
- implementation of an entity bean
protected Belonging doRelationalBindingOnSingleton(String attributeIdentifier, Belonging value)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersbelonging
- instance of a belongingentityImpl
- implementation of an entity bean
protected javax.ejb.EJBObject doRelationalBindingOnSingleton(String attributeIdentifier, javax.ejb.EJBObject ejbObject)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersejbObject
- instance of an EJB objectentityImpl
- implementation of an entity bean
protected Object doRelationalBindingWithMapKey(String attributeIdentifier, Object object, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected javax.ejb.EJBObject doRelationalBindingWithMapKey(String attributeIdentifier, javax.ejb.EJBObject ejbObject, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Object doRelationalBindingWithMapKey(String attributeIdentifier, Belonging belonging, Object key)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Collection doRelationalBinding(String attributeIdentifier, Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Map doRelationalBinding(String attributeIdentifier, Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target map
protected Collection enumerateRelationalBinding(String attributeIdentifier, Collection collection)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellerscollection
- the target collection
protected Map enumerateRelationalBinding(String attributeIdentifier, Map map)
attributeIdentifier
- identifier for an attribute on a bean e.g. examples.buybeans.BeanieHat.numberOfPropellersmap
- the target map
public void clearRelationalBinding(String attributeIdentifier, Collection collection)
public void clearRelationalBinding(String attributeIdentifier, Collection collection, Object o)
public void clearRelationalBinding(String attributeIdentifier, Map map, Object key)
public void clearRelationalBinding(String attributeIdentifier, Map map)
public PersistenceHelperPlugin getPersistenceHelperPlugin()
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |