BEA Systems, Inc.

com.beasys.commerce.axiom.contact
Class GroupImpl

java.lang.Object
  |
  +--com.beasys.commerce.foundation.EntityImpl
        |
        +--com.beasys.commerce.foundation.ConfigurableEntityImpl
              |
              +--com.beasys.commerce.axiom.contact.GroupImpl

public class GroupImpl
extends ConfigurableEntityImpl

The implementation of the Group entity bean interface.

Group is a component that represents a group in a system. Groups can have users as members, and can serve as a parent to child groups in a group hierarchy. Groups are extentions of ConfigurableEntity, and therefore have the concept of getting and setting properties that are relevant to the group.

 Primary Key = com.beasys.commerce.axiom.contact.GroupPk
 

See Also:
Group, GroupHome, com.beasys.commerce.axiom.contact.GroupValue, Serialized Form

Field Summary
 java.lang.String identifier
          The primary key field for this group.
 
Fields inherited from class com.beasys.commerce.foundation.EntityImpl
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _isDirty
 
Constructor Summary
GroupImpl()
          Default constructor.
 
Method Summary
 void ejbActivate()
          ejbActivate method.
 GroupPk ejbCreate(GroupPk groupPk)
          Creates the bean and returns the bean's primary key.
 GroupPk ejbFindByPrimaryKey(GroupPk pk)
          Finds the group primary key for this group if the key corresponds to a valid group.
 void ejbLoad()
          ejbLoad method.
 void ejbPassivate()
          ejbPassivate method.
 void ejbPostCreate(GroupPk groupPk)
          Empty ejbPostCreate() method.
 void ejbRemove()
          ejbRemove method.
 void ejbStore()
          ejbStore method.
 java.lang.String getIdentifier()
          Returns the identifier (primary key attribute).
 java.lang.String[] getUserNames()
          Returns a list of usernames for the users that belong to this group.
 void setEntityContext(javax.ejb.EntityContext ctx)
          setEntityContext method.
 void setIdentifier(java.lang.String value)
           
 void unsetEntityContext()
          unsetEntityContext method.
 
Methods inherited from class com.beasys.commerce.foundation.ConfigurableEntityImpl
addBusinessPolicy, addCachedPropertyMapped, addCachedPropertyValue, addPropertyValue, addPropertyValueMapped, buildPolicyKey, createMapKey, ejbCreate, ejbPostCreate, getBusinessPolicy, getCachedProperty, getPersistableHandle, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyMap, getPropertyNoDefault, getSuccessor, getUniqueId, removeBusinessPolicy, removeCachedProperties, removeCachedProperties, removeCachedProperty, removeCachedPropertyMapped, removeCachedPropertyValue, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setCachedProperty, setProperty, setProperty, setSuccessor, upcaseFirst
 
Methods inherited from class com.beasys.commerce.foundation.EntityImpl
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, ejbFindAll, ejbFindByPrimaryKey, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getEntityContext, isModified, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

public java.lang.String identifier
The primary key field for this group.

Constructor Detail

GroupImpl

public GroupImpl()
          throws javax.ejb.CreateException
Default constructor.
Method Detail

ejbCreate

public GroupPk ejbCreate(GroupPk groupPk)
                  throws javax.ejb.CreateException,
                         java.rmi.RemoteException
Creates the bean and returns the bean's primary key.
Parameters:
groupPk - the bean's primary key
Returns:
the bean's primary key

ejbPostCreate

public void ejbPostCreate(GroupPk groupPk)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException
Empty ejbPostCreate() method.

ejbLoad

public void ejbLoad()
             throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbLoad method.
Overrides:
ejbLoad in class ConfigurableEntityImpl

ejbStore

public void ejbStore()
              throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbStore method.
Overrides:
ejbStore in class ConfigurableEntityImpl

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException,
                      javax.ejb.RemoveException
Description copied from class: EntityImpl
ejbRemove method.
Overrides:
ejbRemove in class ConfigurableEntityImpl

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbActivate method.
Overrides:
ejbActivate in class ConfigurableEntityImpl

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException
Description copied from class: EntityImpl
ejbPassivate method.
Overrides:
ejbPassivate in class ConfigurableEntityImpl

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws java.rmi.RemoteException
Description copied from class: EntityImpl
setEntityContext method.
Overrides:
setEntityContext in class EntityImpl

unsetEntityContext

public void unsetEntityContext()
                        throws java.rmi.RemoteException
Description copied from class: EntityImpl
unsetEntityContext method.
Overrides:
unsetEntityContext in class EntityImpl

ejbFindByPrimaryKey

public GroupPk ejbFindByPrimaryKey(GroupPk pk)
                            throws javax.ejb.FinderException,
                                   java.rmi.RemoteException
Finds the group primary key for this group if the key corresponds to a valid group.
Throws:
javax.ejb.FinderException - if the group is not able to be found
java.rmi.RemoteException - if system error occurs during the find

getIdentifier

public java.lang.String getIdentifier()
                               throws java.rmi.RemoteException
Returns the identifier (primary key attribute).
Returns:
the identifier (primary key attribute)

setIdentifier

public void setIdentifier(java.lang.String value)
                   throws java.rmi.RemoteException

getUserNames

public java.lang.String[] getUserNames()
                                throws java.rmi.RemoteException
Returns a list of usernames for the users that belong to this group.
Returns:
a list of usernames for the users that belong to this group

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved