|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--theory.smart.foundation.SessionImpl | +--theory.smart.ebusiness.order.OrderManagerImpl
The OrderManager represents a specialized Home for Order Entities. It simplifies the creation of orders by finding the home, creating a unique primary key, and creating the object. It uses a sequencer to generate unique order Ids. It allows the user to specify their own sequencer. If the specifed sequencer does not exist, it creates it, and then uses it. SequencerHome - Specifies the JNDI name for allocating Aphanumeric Sequence. The default is theory.smart.axiom.util.AlphaNumericSequencer OrderPrefix - Specifies the Prefix for allocating Order. Default is "web-x-0" OrderSuffix - Specifies the Suffix for allocating Order. Default is "-bbdc "
OrderManager
,
OrderManagerHome
, Serialized FormField Summary | |
static java.lang.String |
DEFAULT_SEQUENCER_ID
Deprecated. |
static java.lang.String |
DEFAULT_SEQUENCER_PREFIX
Deprecated. |
static java.lang.String |
DEFAULT_SEQUENCER_SUFFIX
Deprecated. |
SmartHandle |
orderIdGenerator
Deprecated. orderIdGenerator [OrderManager] <>------> [ theory.smart.axiom.util.AlphaNumericSequencer ]
|
Fields inherited from class theory.smart.foundation.SessionImpl |
ctx |
Constructor Summary | |
OrderManagerImpl()
Deprecated. |
Method Summary | |
Order |
createOrder()
Deprecated. Simplifies the creation of orders by finding the home, creating a unique primary key, and creating the object. |
void |
deleteOrder(Order order)
Deprecated. Invokes the remove operator on the Order. |
void |
ejbActivate()
Deprecated. |
void |
ejbCreate()
Deprecated. |
void |
ejbPassivate()
Deprecated. |
void |
ejbPostCreate()
Deprecated. |
void |
ejbRemove()
Deprecated. |
Order |
findOrder(java.lang.String key)
Deprecated. Find an order given the specified key and return it. |
AlphaNumericSequencer |
getOrderIdGenerator()
Deprecated. Get the remote object reference of orderIdGenerator |
void |
setOrderIdGenerator(AlphaNumericSequencer orderIdGenerator)
Deprecated. Set the remote object reference of orderIdGenerator |
void |
setOrderIdGenerator(java.lang.String sequencerKey)
Deprecated. Allow the user to control the key generation alogorithm by substituting an alternative sequencer. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Deprecated. |
Methods inherited from class theory.smart.foundation.SessionImpl |
getSessionContext |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String DEFAULT_SEQUENCER_ID
public static final java.lang.String DEFAULT_SEQUENCER_PREFIX
public static final java.lang.String DEFAULT_SEQUENCER_SUFFIX
public SmartHandle orderIdGenerator
orderIdGenerator
[OrderManager] <>------> [theory.smart.axiom.util.AlphaNumericSequencer
]
Constructor Detail |
public OrderManagerImpl() throws javax.ejb.CreateException
Method Detail |
public void ejbCreate() throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbPostCreate() throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbActivate() throws java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException
public void setSessionContext(javax.ejb.SessionContext ctx) throws java.rmi.RemoteException
public AlphaNumericSequencer getOrderIdGenerator() throws java.rmi.RemoteException
public void setOrderIdGenerator(AlphaNumericSequencer orderIdGenerator) throws java.rmi.RemoteException
orderIdGenerators
- orderIdGenerator to be addedpublic Order createOrder() throws java.rmi.RemoteException
public void deleteOrder(Order order) throws java.rmi.RemoteException
public Order findOrder(java.lang.String key) throws java.rmi.RemoteException, javax.ejb.FinderException
public void setOrderIdGenerator(java.lang.String sequencerKey) throws java.rmi.RemoteException
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |