com.ibm.commerce.user.objects
Class MemberGroupAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.user.objects.MemberGroupAccessBean
All Implemented Interfaces:
MemberGroupAccessBeanData

public class MemberGroupAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberGroupAccessBeanData

This table stores member groups defined in the WebSphere Commerce system. A member group is a group of members. Membership is restricted to users within a member group. This access bean corresponds to the database table 'MBRGRP'.

See Also:
Serialized Form

Constructor Summary
MemberGroupAccessBean()
Zero argument constructor used to initialize the access bean.
MemberGroupAccessBean(javax.ejb.EJBObject o)
constructor
MemberGroupAccessBean(java.lang.Long arg1, java.lang.String arg2)
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAccessGroups()
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT MBRGRPUSG.MBRGRP_ID FROM MBRGRPUSG WHERE MBRGRPUSG.MBRGRPTYPE_ID = -2))"
java.util.Enumeration findByMember(java.lang.Long aMemberId)
The SQL is "SELECT * FROM MBRGRP WHERE (OWNER_ID = ?)"
MemberGroupAccessBean findByOwnerName(java.lang.Long aMemberGroupOwnerId, java.lang.String aName)
The SQL is "SELECT * FROM MBRGRP WHERE (OWNER_ID = ?) AND (MBRGRPNAME = ?)".
java.util.Enumeration findByStoreAndMemberGroupOrderByDescriptionUsage(java.lang.Integer aMbrgrpTypeId, java.lang.Integer aStoreId)
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by DESCRIPTION"
java.util.Enumeration findByStoreAndMemberGroupOrderByLastUpdatedByUsage(java.lang.Integer aMbrgrpTypeId, java.lang.Integer aStoreId)
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by LASTUPDATEDBY".
java.util.Enumeration findByStoreAndMemberGroupOrderByLastUpdateUsage(java.lang.Integer aMbrgrpTypeId, java.lang.Integer aStoreId)
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by LASTUPDATE"
java.util.Enumeration findByStoreAndMemberGroupOrderByNameUsage(java.lang.Integer aMbrgrpTypeId, java.lang.Integer aStoreId)
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by MBRGRPNAME"
java.util.Enumeration findByStoreAndMemberGroupUsage(java.lang.Integer aMbrgrpTypeId, java.lang.Integer aStoreId)
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ?))"
java.util.Enumeration findByUserAndOwner(java.lang.Long aMemberId, java.lang.Long aOwnerId)
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT ACCMBRGRP.MBRGRP_ID FROM ACCMBRGRP WHERE ACCMBRGRP.USERS_ID = ? AND ACCMBRGRP.OWNER_ID = ?))".
java.util.Enumeration findEffectiveMemberGroupForOffer(java.lang.Long aOfferId, java.lang.Integer aStoreId)
The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MGPTRDPSCN, OFFER WHERE STOREMBRGP.MBRGRP_ID = MGPTRDPSCN.MBRGRP_ID AND OFFER.TRADEPOSCN_ID = MGPTRDPSCN.TRADEPOSCN_ID AND OFFER.OFFER_ID = ? AND STOREMBRGP.STORE_ID = ?))".
boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
java.lang.Long[] getAncestors()
This method accesses a non-CMP field
java.lang.Long[] getChildren()
This method accesses a non-CMP field
java.lang.String getConditions()
Condition of the member group.
java.lang.Long[] getDescendants()
This method accesses a non-CMP field
java.lang.String getDescription()
This method provides access to the MBRGRP.DESCRIPTION column of DB2 type VARCHAR(512).
java.lang.String getDisplayName()
This method accesses a non-CMP field
java.lang.String getDN()
This method provides access to the MBRGRP.DN column of DB2 type VARCHAR(1000).
java.lang.String getField1()
This method provides access to the MBRGRP.FIELD1 column of DB2 type VARCHAR(254).
java.lang.String getField2()
This method provides access to the MBRGRP.FIELD2 column of DB2 type VARCHAR(254).
java.lang.String getField3()
This method provides access to the MBRGRP.FIELD3 column of DB2 type VARCHAR(254).
java.lang.String getLastUpdate()
This method provides access to the MBRGRP.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getLastUpdatedBy()
This method provides access to the MBRGRP.LASTUPDATEDBY column of DB2 type VARCHAR(254).
java.sql.Timestamp getLastUpdateInEJBType()
This method provides access to the MBRGRP.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getMbrGrpId()
This method accesses a non-CMP field
java.lang.Long getMbrGrpIdInEJBType()
This method accesses a non-CMP field
java.lang.String getMbrGrpName()
This method provides access to the MBRGRP.MBRGRPNAME column of DB2 type VARCHAR(254) NOT NULL.
java.lang.String getMemberId()
This method accesses a non-CMP field
java.lang.Long getMemberIdInEJBType()
This method accesses a non-CMP field
java.lang.String getOID()
This method provides access to the MBRGRP.OID column of DB2 type VARCHAR(64).
java.lang.Long getOwner()
This method accesses a non-CMP field
java.lang.String getOwnerId()
This method provides access to the MBRGRP.OWNER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOwnerIdInEJBType()
This method provides access to the MBRGRP.OWNER_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getParentMemberId()
This method accesses a non-CMP field
java.lang.Integer[] getRoles()
This method accesses a non-CMP field
java.lang.Integer[] getRoles(java.lang.Long arg0)
This method accesses a non-CMP field
java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long arg0)
This method accesses a non-CMP field
java.lang.String getState()
This method accesses a non-CMP field
java.lang.Integer getStateInEJBType()
This method accesses a non-CMP field
java.lang.String getType()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
boolean isCustomerRoleGroup()
Determine if the current role group is of the Customer member group type.
boolean isRoleGroupType()
Determine if the current member group is a role group.
void refreshCopyHelper()
Load data from the EJBObject.
void setConditions(java.lang.String aConditions)
Set the member group condition.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setDN(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setField3(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_MemberId(java.lang.String newValue)
Set the primary key for this object
void setLastUpdate(java.lang.String newValue)
This method accesses a non-CMP field
void setLastUpdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setLastUpdatedBy(java.lang.String newValue)
This method accesses a non-CMP field
void setMbrGrpName(java.lang.String newValue)
This method accesses a non-CMP field
void setOID(java.lang.String newValue)
This method accesses a non-CMP field
void setOwnerId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOwnerId(java.lang.String newValue)
This method accesses a non-CMP field
void setParentMemberId(java.lang.String arg0)
This method accesses a non-CMP field
void setState(java.lang.Integer newValue)
This method accesses a non-CMP field
void setState(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MemberGroupAccessBean

public MemberGroupAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.user.objects.MemberGroup com.ibm.commerce.user.objects.MemberGroupHome.findByPrimaryKey(com.ibm.commerce.user.objects.MemberKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_MemberId( java.lang.Long )

MemberGroupAccessBean

public MemberGroupAccessBean(javax.ejb.EJBObject o)
                      throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

MemberGroupAccessBean

public MemberGroupAccessBean(java.lang.Long arg1,
                             java.lang.String arg2)
                      throws javax.naming.NamingException,
                             javax.ejb.CreateException,
                             java.rmi.RemoteException,
                             javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
arg1 - java.lang.Long
arg2 - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

findByOwnerName

public MemberGroupAccessBean findByOwnerName(java.lang.Long aMemberGroupOwnerId,
                                             java.lang.String aName)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (OWNER_ID = ?) AND (MBRGRPNAME = ?)".

Parameters:
aMemberGroupOwnerId - java.lang.Long
aName - java.lang.String
Returns:
com.ibm.commerce.user.objects.MemberGroupAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findAccessGroups

public java.util.Enumeration findAccessGroups()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT MBRGRPUSG.MBRGRP_ID FROM MBRGRPUSG WHERE MBRGRPUSG.MBRGRPTYPE_ID = -2))"

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByMember

public java.util.Enumeration findByMember(java.lang.Long aMemberId)
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (OWNER_ID = ?)"

Parameters:
aMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreAndMemberGroupOrderByDescriptionUsage

public java.util.Enumeration findByStoreAndMemberGroupOrderByDescriptionUsage(java.lang.Integer aMbrgrpTypeId,
                                                                              java.lang.Integer aStoreId)
                                                                       throws java.rmi.RemoteException,
                                                                              javax.ejb.FinderException,
                                                                              javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by DESCRIPTION"

Parameters:
aMbrgrpTypeId - java.lang.Integer
aStoreId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreAndMemberGroupOrderByLastUpdateUsage

public java.util.Enumeration findByStoreAndMemberGroupOrderByLastUpdateUsage(java.lang.Integer aMbrgrpTypeId,
                                                                             java.lang.Integer aStoreId)
                                                                      throws java.rmi.RemoteException,
                                                                             javax.ejb.FinderException,
                                                                             javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by LASTUPDATE"

Parameters:
aMbrgrpTypeId - java.lang.Integer
aStoreId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreAndMemberGroupOrderByLastUpdatedByUsage

public java.util.Enumeration findByStoreAndMemberGroupOrderByLastUpdatedByUsage(java.lang.Integer aMbrgrpTypeId,
                                                                                java.lang.Integer aStoreId)
                                                                         throws java.rmi.RemoteException,
                                                                                javax.ejb.FinderException,
                                                                                javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by LASTUPDATEDBY".

Parameters:
aMbrgrpTypeId - java.lang.Integer
aStoreId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreAndMemberGroupOrderByNameUsage

public java.util.Enumeration findByStoreAndMemberGroupOrderByNameUsage(java.lang.Integer aMbrgrpTypeId,
                                                                       java.lang.Integer aStoreId)
                                                                throws java.rmi.RemoteException,
                                                                       javax.ejb.FinderException,
                                                                       javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ? )) order by MBRGRPNAME"

Parameters:
aMbrgrpTypeId - java.lang.Integer
aStoreId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreAndMemberGroupUsage

public java.util.Enumeration findByStoreAndMemberGroupUsage(java.lang.Integer aMbrgrpTypeId,
                                                            java.lang.Integer aStoreId)
                                                     throws java.rmi.RemoteException,
                                                            javax.ejb.FinderException,
                                                            javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MBRGRPUSG WHERE STOREMBRGP.MBRGRP_ID = MBRGRPUSG.MBRGRP_ID AND MBRGRPUSG.MBRGRPTYPE_ID = ? AND STOREMBRGP.STORE_ID = ?))"

Parameters:
aMbrgrpTypeId - java.lang.Integer
aStoreId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByUserAndOwner

public java.util.Enumeration findByUserAndOwner(java.lang.Long aMemberId,
                                                java.lang.Long aOwnerId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT ACCMBRGRP.MBRGRP_ID FROM ACCMBRGRP WHERE ACCMBRGRP.USERS_ID = ? AND ACCMBRGRP.OWNER_ID = ?))".

Parameters:
aMemberId - java.lang.Long
aOwnerId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findEffectiveMemberGroupForOffer

public java.util.Enumeration findEffectiveMemberGroupForOffer(java.lang.Long aOfferId,
                                                              java.lang.Integer aStoreId)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRP WHERE (MBRGRP_ID = ANY (SELECT STOREMBRGP.MBRGRP_ID FROM STOREMBRGP, MGPTRDPSCN, OFFER WHERE STOREMBRGP.MBRGRP_ID = MGPTRDPSCN.MBRGRP_ID AND OFFER.TRADEPOSCN_ID = MGPTRDPSCN.TRADEPOSCN_ID AND OFFER.OFFER_ID = ? AND STOREMBRGP.STORE_ID = ?))".

Parameters:
aOfferId - java.lang.Long
aStoreId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_MemberId

public void setInitKey_MemberId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the MBRGRP.DESCRIPTION column of DB2 type VARCHAR(512).

The following is a description of this column:

Description of the member group.

Specified by:
getDescription in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDescription in interface MemberGroupAccessBeanData

getLastUpdatedBy

public java.lang.String getLastUpdatedBy()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the MBRGRP.LASTUPDATEDBY column of DB2 type VARCHAR(254).

The following is a description of this column:

The logon ID of the user that last updated this member group.

Specified by:
getLastUpdatedBy in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastUpdatedBy

public void setLastUpdatedBy(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLastUpdatedBy in interface MemberGroupAccessBeanData

getLastUpdate

public java.lang.String getLastUpdate()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the MBRGRP.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The date that this member group was last updated.

Specified by:
getLastUpdate in interface MemberGroupAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the MBRGRP.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The date that this member group was last updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastUpdate

public void setLastUpdate(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLastUpdate in interface MemberGroupAccessBeanData

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getState

public java.lang.String getState()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getState in interface MemberGroupAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStateInEJBType

public java.lang.Integer getStateInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setState

public void setState(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setState in interface MemberGroupAccessBeanData

setState

public void setState(java.lang.Integer newValue)
This method accesses a non-CMP field

getOID

public java.lang.String getOID()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the MBRGRP.OID column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOID in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOID

public void setOID(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOID in interface MemberGroupAccessBeanData

getOwnerId

public java.lang.String getOwnerId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the MBRGRP.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Compare with the SGMENBR column in the SHOPGRP table, which was used with previous versions of WebSphere Commerce or WebSphere Commerce Suite. Foreign key to the MEMBER table for the owner of this member group.

Specified by:
getOwnerId in interface MemberGroupAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOwnerIdInEJBType

public java.lang.Long getOwnerIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the MBRGRP.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Compare with the SGMENBR column in the SHOPGRP table, which was used with previous versions of WebSphere Commerce or WebSphere Commerce Suite. Foreign key to the MEMBER table for the owner of this member group.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOwnerId

public void setOwnerId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOwnerId in interface MemberGroupAccessBeanData

setOwnerId

public void setOwnerId(java.lang.Long newValue)
This method accesses a non-CMP field

getDN

public java.lang.String getDN()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

This method provides access to the MBRGRP.DN column of DB2 type VARCHAR(1000).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getDN in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDN

public void setDN(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDN in interface MemberGroupAccessBeanData

getMbrGrpName

public java.lang.String getMbrGrpName()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the MBRGRP.MBRGRPNAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

Name of this member group.

Specified by:
getMbrGrpName in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMbrGrpName

public void setMbrGrpName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMbrGrpName in interface MemberGroupAccessBeanData

getField3

public java.lang.String getField3()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the MBRGRP.FIELD3 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField3

public void setField3(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField3 in interface MemberGroupAccessBeanData

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the MBRGRP.FIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable. Compare with the SGFIELD2 column in the SHOPGRP table, which was used with previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Specified by:
getField2 in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface MemberGroupAccessBeanData

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the MBRGRP.FIELD1 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable. Compare with the SGFIELD1 column in the SHOPGRP table, which was used with previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Specified by:
getField1 in interface MemberGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface MemberGroupAccessBeanData

getMbrGrpId

public java.lang.String getMbrGrpId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getMbrGrpId in interface MemberGroupAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMbrGrpIdInEJBType

public java.lang.Long getMbrGrpIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getMemberId in interface MemberGroupAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getType

public java.lang.String getType()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getType in interface MemberGroupAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDisplayName

public java.lang.String getDisplayName()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getDisplayName in interface MemberGroupAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

isCustomerRoleGroup

public boolean isCustomerRoleGroup()
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.ejb.FinderException

Determine if the current role group is of the Customer member group type.

Returns:
boolean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

isRoleGroupType

public boolean isRoleGroupType()
                        throws javax.naming.NamingException,
                               javax.ejb.CreateException,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException

Determine if the current member group is a role group.

Returns:
boolean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getRoles

public java.lang.Integer[] getRoles()
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

getRoles

public java.lang.Integer[] getRoles(java.lang.Long arg0)
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

getRolesForOrgEntityAndAncestors

public java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long arg0)
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            java.rmi.RemoteException,
                                                            javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

getAncestors

public java.lang.Long[] getAncestors()
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

getChildren

public java.lang.Long[] getChildren()
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

getDescendants

public java.lang.Long[] getDescendants()
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       java.rmi.RemoteException,
                                       javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

getParentMemberId

public java.lang.String getParentMemberId()
                                   throws javax.naming.NamingException,
                                          javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

getConditions

public java.lang.String getConditions()
                               throws java.rmi.RemoteException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

Condition of the member group.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException
javax.naming.NamingException

setParentMemberId

public void setParentMemberId(java.lang.String arg0)
                       throws javax.naming.NamingException,
                              javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.ejb.FinderException
This method accesses a non-CMP field
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

setConditions

public void setConditions(java.lang.String aConditions)
                   throws java.rmi.RemoteException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException

Set the member group condition.

Parameters:
aConditions - java.lang.String
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException
javax.naming.NamingException

Feedback