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, GroupValue, Serialized Form

Field Summary
 java.lang.String identifier
          The primary key field for this group.
 
Fields inherited from class com.beasys.commerce.foundation.ConfigurableEntityImpl
DEFAULT_ENTITY_PROPERTY_MANAGER_HOME, DEFAULT_SCHEMA_GROUP_NAME, ENTITY_PROPERTY_MANAGER_HOME, propertyMap, SCHEMA_GROUP_NAME
 
Fields inherited from class com.beasys.commerce.foundation.EntityImpl
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty, _smartBMP
 
Constructor Summary
GroupImpl()
          Default constructor.
 
Method Summary
protected  void bscInitializeAttributes(GroupPk groupPk)
          Initializer for this component.
 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, getImplicitProperty, getPersistableHandle, getProperty, 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, useEntityPropertyManager
 
Methods inherited from class com.beasys.commerce.foundation.EntityImpl
bscInitializeAttributes, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, ejbFindAll, ejbFindByPrimaryKey, enumerateRelationalBinding, enumerateRelationalBinding, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getEntityContext, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSmartBMP, initSmartBMP, isModified, set__classIdentifier, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
Creates the bean and returns the bean's primary key.
Parameters:
groupPk - the bean's primary key
Returns:
the bean's primary key

bscInitializeAttributes

protected void bscInitializeAttributes(GroupPk groupPk)
                                throws javax.ejb.CreateException
Initializer for this component.
Parameters:
groupPk - the bean's primary key

ejbPostCreate

public void ejbPostCreate(GroupPk groupPk)
                   throws javax.ejb.CreateException
Empty ejbPostCreate() method.

ejbLoad

public void ejbLoad()
             throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbLoad method.
Overrides:
ejbLoad in class ConfigurableEntityImpl

ejbStore

public void ejbStore()
              throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbStore method.
Overrides:
ejbStore in class ConfigurableEntityImpl

ejbRemove

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

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbActivate method.
Overrides:
ejbActivate in class ConfigurableEntityImpl

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException
Description copied from class: EntityImpl
ejbPassivate method.
Overrides:
ejbPassivate in class ConfigurableEntityImpl

setEntityContext

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

unsetEntityContext

public void unsetEntityContext()
                        throws javax.ejb.EJBException
Description copied from class: EntityImpl
unsetEntityContext method.
Overrides:
unsetEntityContext in class EntityImpl

ejbFindByPrimaryKey

public GroupPk ejbFindByPrimaryKey(GroupPk pk)
                            throws javax.ejb.FinderException
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

getIdentifier

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

setIdentifier

public void setIdentifier(java.lang.String value)

getUserNames

public java.lang.String[] getUserNames()
Returns a list of usernames for the users that belong to this group. This is determned through a call to the realm class, as set in the weblogic.properties file.
Returns:
a list of usernames for the users that belong to this group

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved