com.bankframe.services.accesscontrol.ejb.group
Class EJBGroupBean

java.lang.Object
  extended by com.bankframe.ejb.EEntityBean
      extended by com.bankframe.services.accesscontrol.ejb.group.EJBGroupBean
All Implemented Interfaces:
Serializable, EnterpriseBean, EntityBean

public class EJBGroupBean
extends EEntityBean

See Also:
Serialized Form

Field Summary
 String groupId
          ID of this particular group.
 String groupName
          Name of group
 
Constructor Summary
EJBGroupBean()
           
 
Method Summary
 EJBGroupPK ejbCreate(String groupId, String groupName)
          This is the create method that all EJBs must implement.
 void ejbPostCreate(String groupId, String groupName)
          This is the PostCreate method
 String getGroupId()
          This method retrieves the groupID.
 String getGroupName()
          This method retrievs the groupName.
 DataPacket toDataPacket()
          This method gets this bean's instance variables in DataPacket format.
 
Methods inherited from class com.bankframe.ejb.EEntityBean
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, toString, unsetEntityContext, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

groupId

public String groupId
ID of this particular group.


groupName

public String groupName
Name of group

Constructor Detail

EJBGroupBean

public EJBGroupBean()
Method Detail

ejbCreate

public EJBGroupPK ejbCreate(String groupId,
                            String groupName)
                     throws CreateException
This is the create method that all EJBs must implement.

Parameters:
groupId - the group Id
groupName - the group name
Throws:
RemoteException
CreateException

ejbPostCreate

public void ejbPostCreate(String groupId,
                          String groupName)
                   throws CreateException
This is the PostCreate method

Parameters:
groupId - the group Id
groupName - the group Name
Throws:
RemoteException - RemoteException
CreateException - CreateException

getGroupId

public String getGroupId()
This method retrieves the groupID.

Returns:
the groupID

getGroupName

public String getGroupName()
This method retrievs the groupName.

Returns:
the group name

toDataPacket

public DataPacket toDataPacket()
This method gets this bean's instance variables in DataPacket format.

Specified by:
toDataPacket in class EEntityBean
Returns:
a DataPacket representation of this bean


Copyright © 2005, 2007, Oracle. All rights reserved.