com.sun.j2ee.blueprints.petstore.control.event
Class AccountEvent

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.petstore.control.event.EStoreEventSupport
        |
        +--com.sun.j2ee.blueprints.petstore.control.event.AccountEvent

public class AccountEvent
extends EStoreEventSupport

This event is sent from the web tier to the EJB Controller to notify the EJB Controller that a change needs to be made in the Account and ProfileMgr model data.

See Also:
Serialized Form

Field Summary
static int CREATE_ACCOUNT
           
static int DELETE_ACCOUNT
           
static int REFRESH_ACCOUNT
           
static int UPDATE_ACCOUNT
           
 
Constructor Summary
AccountEvent()
           
AccountEvent(int actionType)
           
 
Method Summary
 int getActionType()
           
 ContactInformation getContactInformation()
           
 java.lang.String getEventName()
          Specifiy a logical name that is mapped to the event in in the Universal Remote Controller.
 ExplicitInformation getExplicitInformation()
           
 java.lang.String getPassword()
           
 java.lang.String getStatus()
           
 java.lang.String getUserId()
           
 void setInfo(java.lang.String userId, ContactInformation info, ExplicitInformation eInfo)
           
 void setInfo(java.lang.String userId, java.lang.String password, java.lang.String status, ContactInformation info, ExplicitInformation eInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_ACCOUNT

public static final int CREATE_ACCOUNT

DELETE_ACCOUNT

public static final int DELETE_ACCOUNT

UPDATE_ACCOUNT

public static final int UPDATE_ACCOUNT

REFRESH_ACCOUNT

public static final int REFRESH_ACCOUNT
Constructor Detail

AccountEvent

public AccountEvent()

AccountEvent

public AccountEvent(int actionType)
Method Detail

setInfo

public void setInfo(java.lang.String userId,
                    java.lang.String password,
                    java.lang.String status,
                    ContactInformation info,
                    ExplicitInformation eInfo)

setInfo

public void setInfo(java.lang.String userId,
                    ContactInformation info,
                    ExplicitInformation eInfo)

getActionType

public int getActionType()

getUserId

public java.lang.String getUserId()

getPassword

public java.lang.String getPassword()

getStatus

public java.lang.String getStatus()

getContactInformation

public ContactInformation getContactInformation()

getExplicitInformation

public ExplicitInformation getExplicitInformation()

getEventName

public java.lang.String getEventName()
Description copied from interface: EStoreEvent
Specifiy a logical name that is mapped to the event in in the Universal Remote Controller.
Overrides:
getEventName in class EStoreEventSupport


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.