java.lang.Object
org.schooltool.ejb.entity.server.access.UserRole_Bean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class UserRole_Bean
- extends java.lang.Object
- implements javax.ejb.EntityBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ctx
private javax.ejb.EntityContext ctx
UserRole_PrimaryKey
public java.lang.Long UserRole_PrimaryKey
userForeignKey
public java.lang.Long userForeignKey
userRI
private transient org.schooltool.ejb.entity.client.access.User_ userRI
userHI
private transient org.schooltool.ejb.entity.client.access.User_Home userHI
userPK
private transient org.schooltool.ejb.entity.client.access.User_PrimaryKey userPK
user
public transient org.schooltool.ejb.entity.client.access.User_ user
roleForeignKey
public java.lang.Long roleForeignKey
roleRI
private transient org.schooltool.ejb.entity.client.access.Role_ roleRI
roleHI
private transient org.schooltool.ejb.entity.client.access.Role_Home roleHI
rolePK
private transient org.schooltool.ejb.entity.client.access.Role_PrimaryKey rolePK
role
public transient org.schooltool.ejb.entity.client.access.Role_ role
schoolProfileForeignKey
public java.lang.Long schoolProfileForeignKey
schoolProfileRI
private transient org.schooltool.ejb.entity.client.access.SchoolProfile_ schoolProfileRI
schoolProfileHI
private transient org.schooltool.ejb.entity.client.access.SchoolProfile_Home schoolProfileHI
schoolProfilePK
private transient org.schooltool.ejb.entity.client.access.SchoolProfile_PrimaryKey schoolProfilePK
schoolProfile
public transient org.schooltool.ejb.entity.client.access.SchoolProfile_ schoolProfile
modifiedFlag
private boolean modifiedFlag
jndiContext
private transient javax.naming.InitialContext jndiContext
idGenerator
private static org.schooltool.xode.ejbhelper.UniqueIDGeneratorBean idGenerator
ovalue
private transient org.schooltool.complextypes.access.UserRole ovalue
UserRole_Bean
public UserRole_Bean()
hasSuperClass
public boolean hasSuperClass()
throws java.rmi.RemoteException
getUserRole_PrimaryKey
public java.lang.Long getUserRole_PrimaryKey()
setUserRole_PrimaryKey
public void setUserRole_PrimaryKey(java.lang.Long setValue)
getuserForeignKey
public java.lang.Long getuserForeignKey()
throws java.rmi.RemoteException
setuserForeignKey
public void setuserForeignKey(java.lang.Long setValue)
throws java.rmi.RemoteException
getuser
public org.schooltool.ejb.entity.client.access.User_ getuser()
throws java.rmi.RemoteException
getroleForeignKey
public java.lang.Long getroleForeignKey()
throws java.rmi.RemoteException
setroleForeignKey
public void setroleForeignKey(java.lang.Long setValue)
throws java.rmi.RemoteException
getrole
public org.schooltool.ejb.entity.client.access.Role_ getrole()
throws java.rmi.RemoteException
getschoolProfileForeignKey
public java.lang.Long getschoolProfileForeignKey()
throws java.rmi.RemoteException
setschoolProfileForeignKey
public void setschoolProfileForeignKey(java.lang.Long setValue)
throws java.rmi.RemoteException
getschoolProfile
public org.schooltool.ejb.entity.client.access.SchoolProfile_ getschoolProfile()
throws java.rmi.RemoteException
isModified
public boolean isModified()
setModified
public void setModified(boolean value)
ejbActivate
public void ejbActivate()
throws java.rmi.RemoteException,
javax.ejb.EJBException
- Specified by:
ejbActivate in interface javax.ejb.EntityBean
getInitialContext
private static javax.naming.InitialContext getInitialContext()
throws javax.naming.NamingException
InitSystemResources
private void InitSystemResources(java.lang.String strBeanName,
java.lang.Long schoolID)
throws javax.ejb.CreateException
setEntityContext
public void setEntityContext(javax.ejb.EntityContext context)
throws java.rmi.RemoteException,
javax.ejb.EJBException
- Specified by:
setEntityContext in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
throws java.rmi.RemoteException,
javax.ejb.EJBException
- Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
throws java.rmi.RemoteException,
javax.ejb.EJBException
- Specified by:
ejbPassivate in interface javax.ejb.EntityBean
ejbRemove
public void ejbRemove()
throws java.rmi.RemoteException,
javax.ejb.EJBException,
javax.ejb.RemoveException
- Specified by:
ejbRemove in interface javax.ejb.EntityBean
ejbStore
public void ejbStore()
throws java.rmi.RemoteException,
javax.ejb.EJBException
- Specified by:
ejbStore in interface javax.ejb.EntityBean
ejbLoad
public void ejbLoad()
throws java.rmi.RemoteException,
javax.ejb.EJBException
- Specified by:
ejbLoad in interface javax.ejb.EntityBean
ejbPostCreate
public void ejbPostCreate()
throws javax.ejb.CreateException,
javax.ejb.EJBException,
java.rmi.RemoteException
ejbPostCreate
public void ejbPostCreate(org.schooltool.complextypes.access.UserRole value)
throws javax.ejb.CreateException,
javax.ejb.EJBException,
java.rmi.RemoteException
ejbCreate
public org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate(org.schooltool.complextypes.access.UserRole value)
throws javax.ejb.CreateException,
javax.ejb.EJBException,
java.rmi.RemoteException
ejbPostCreate
public void ejbPostCreate(java.lang.Long userForeignKey,
java.lang.Long roleForeignKey,
java.lang.Long schoolProfileForeignKey)
throws javax.ejb.CreateException,
javax.ejb.EJBException,
java.rmi.RemoteException
ejbCreate
public org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate(java.lang.Long userForeignKey,
java.lang.Long roleForeignKey,
java.lang.Long schoolProfileForeignKey)
throws javax.ejb.CreateException,
javax.ejb.EJBException,
java.rmi.RemoteException
ejbCreate
public org.schooltool.ejb.entity.client.access.UserRole_PrimaryKey ejbCreate()
throws javax.ejb.CreateException,
javax.ejb.EJBException,
java.rmi.RemoteException
setAsValueObject
public void setAsValueObject(org.schooltool.complextypes.access.UserRole ovalue)
throws java.rmi.RemoteException
getAsValueObject
public org.schooltool.complextypes.access.UserRole getAsValueObject(int Levels,
org.schooltool.complextypes.access.UserRole SubclassValue)
throws java.rmi.RemoteException
beforeSaveCallback
private void beforeSaveCallback()