public class UserEntityBean extends Object implements javax.ejb.EntityBean
| Constructor and Description |
|---|
UserEntityBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
ejbActivate() |
String |
ejbCreate(String username,
String password) |
Collection |
ejbFindAll() |
String |
ejbFindByPrimaryKey(String username) |
void |
ejbLoad() |
void |
ejbPassivate() |
void |
ejbPostCreate(String username,
String password) |
void |
ejbRemove() |
void |
ejbStore() |
String |
getPassword() |
String |
getUsername() |
void |
setEntityContext(javax.ejb.EntityContext entityContext) |
void |
setPassword(String password) |
void |
setUsername(String username) |
void |
unsetEntityContext() |
public String getPassword()
public void setPassword(String password)
public String getUsername()
public void setUsername(String username)
public String ejbCreate(String username, String password) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbPostCreate(String username, String password) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic String ejbFindByPrimaryKey(String username) throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic Collection ejbFindAll() throws javax.ejb.FinderException
javax.ejb.FinderExceptionpublic void ejbLoad()
throws javax.ejb.EJBException,
RemoteException
ejbLoad in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbRemove()
throws javax.ejb.RemoveException,
javax.ejb.EJBException,
RemoteException
ejbRemove in interface javax.ejb.EntityBeanjavax.ejb.RemoveExceptionjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbStore()
throws javax.ejb.EJBException,
RemoteException
ejbStore in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbActivate()
throws javax.ejb.EJBException,
RemoteException
ejbActivate in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbPassivate()
throws javax.ejb.EJBException,
RemoteException
ejbPassivate in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void setEntityContext(javax.ejb.EntityContext entityContext)
throws javax.ejb.EJBException,
RemoteException
setEntityContext in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void unsetEntityContext()
throws javax.ejb.EJBException,
RemoteException
unsetEntityContext in interface javax.ejb.EntityBeanjavax.ejb.EJBExceptionRemoteExceptionCopyright © 2003–2018. All rights reserved.