com.ibm.commerce.user.objects
Class BusinessProfileAccessBean

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

public class BusinessProfileAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements BusinessProfileAccessBeanData

This table stores business profile information for a user. This access bean corresponds to the database table 'BUSPROF'.

See Also:
Serialized Form

Constructor Summary
BusinessProfileAccessBean()
Zero argument constructor used to initialize the access bean.
BusinessProfileAccessBean(javax.ejb.EJBObject o)
constructor
BusinessProfileAccessBean(java.lang.Long arg1, java.lang.Long 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 findByRequisitionerId(java.lang.String aRequisitionerId)
Find by requisitioner id.
java.lang.String getAlternateId()
This method provides access to the BUSPROF.ALTERNATEID column of DB2 type VARCHAR(20).
java.lang.String getDepartmentNumber()
This method provides access to the BUSPROF.DEPARTMENTNUM column of DB2 type VARCHAR(128).
java.lang.String getEmployeeId()
This method provides access to the BUSPROF.EMPLOYEEID column of DB2 type VARCHAR(20).
java.lang.String getEmployeeType()
This method provides access to the BUSPROF.EMPLOYEETYPE column of DB2 type VARCHAR(128).
java.lang.String getManager()
This method provides access to the BUSPROF.MANAGER column of DB2 type VARCHAR(256).
java.lang.String getOrganizationId()
This method provides access to the BUSPROF.ORG_ID column of DB2 type BIGINT.
java.lang.Long getOrganizationIdInEJBType()
This method provides access to the BUSPROF.ORG_ID column of DB2 type BIGINT.
java.lang.String getOrganizationUnitId()
This method provides access to the BUSPROF.ORGUNIT_ID column of DB2 type BIGINT.
java.lang.Long getOrganizationUnitIdInEJBType()
This method provides access to the BUSPROF.ORGUNIT_ID column of DB2 type BIGINT.
java.lang.String getRequistionerId()
This method provides access to the BUSPROF.REQUISITIONERID column of DB2 type VARCHAR(128).
java.lang.String getSecretary()
This method provides access to the BUSPROF.SECRETARY column of DB2 type VARCHAR(256).
java.lang.String getUserId()
This method provides access to the BUSPROF.USERS_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getUserIdInEJBType()
This method provides access to the BUSPROF.USERS_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAlternateId(java.lang.String newValue)
This method accesses a non-CMP field
void setDepartmentNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setEmployeeId(java.lang.String newValue)
This method accesses a non-CMP field
void setEmployeeType(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_UserId(java.lang.String newValue)
Set the primary key for this object
void setManager(java.lang.String newValue)
This method accesses a non-CMP field
void setOrganizationId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOrganizationId(java.lang.String newValue)
This method accesses a non-CMP field
void setOrganizationUnitId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOrganizationUnitId(java.lang.String newValue)
This method accesses a non-CMP field
void setRequistionerId(java.lang.String newValue)
This method accesses a non-CMP field
void setSecretary(java.lang.String newValue)
This method accesses a non-CMP field
void setUserId(java.lang.Long newValue)
This method accesses a non-CMP field
void setUserId(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

BusinessProfileAccessBean

public BusinessProfileAccessBean()
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.BusinessProfile com.ibm.commerce.user.objimpl.BusinessProfileHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.BusinessProfileKey) 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_UserId( java.lang.Long )

BusinessProfileAccessBean

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

BusinessProfileAccessBean

public BusinessProfileAccessBean(java.lang.Long arg1,
                                 java.lang.Long 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.Long
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

findByRequisitionerId

public java.util.Enumeration findByRequisitionerId(java.lang.String aRequisitionerId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Find by requisitioner id.

The SQL is "SELECT * FROM BUSPROF T1 WHERE (T1.REQUISITIONERID = ?)".

Parameters:
aRequisitionerId - java.lang.String
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_UserId

public void setInitKey_UserId(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

getRequistionerId

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

This method provides access to the BUSPROF.REQUISITIONERID column of DB2 type VARCHAR(128).

The following is a description of this column:

A unique ID for identifying the requisitioner.

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

setRequistionerId

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

getSecretary

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

This method provides access to the BUSPROF.SECRETARY column of DB2 type VARCHAR(256).

The following is a description of this column:

The name of the secretary or administrative assistant of the business user.

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

setSecretary

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

getEmployeeId

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

This method provides access to the BUSPROF.EMPLOYEEID column of DB2 type VARCHAR(20).

The following is a description of this column:

A method to identify the employee, such as by employee number.

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

setEmployeeId

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

getUserId

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

This method provides access to the BUSPROF.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the USERS table for this business user.

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

getUserIdInEJBType

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

This method provides access to the BUSPROF.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the USERS table for this business user.

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

setUserId

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

setUserId

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

getOrganizationUnitId

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

This method provides access to the BUSPROF.ORGUNIT_ID column of DB2 type BIGINT.

The following is a description of this column:

Identifies the organizational unit to which the business user owning this business profile is associated with. If there are multiple organizational units, it is usually the lowest one that is referred to here.

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

getOrganizationUnitIdInEJBType

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

This method provides access to the BUSPROF.ORGUNIT_ID column of DB2 type BIGINT.

The following is a description of this column:

Identifies the organizational unit to which the business user owning this business profile is associated with. If there are multiple organizational units, it is usually the lowest one that is referred to here.

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

setOrganizationUnitId

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

setOrganizationUnitId

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

getAlternateId

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

This method provides access to the BUSPROF.ALTERNATEID column of DB2 type VARCHAR(20).

The following is a description of this column:

A special ID assigned by the organization or organizational unit to which this business user belongs.

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

setAlternateId

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

getOrganizationId

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

This method provides access to the BUSPROF.ORG_ID column of DB2 type BIGINT.

The following is a description of this column:

Identifies the organization to which the business user owning this business profile is associated with.

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

getOrganizationIdInEJBType

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

This method provides access to the BUSPROF.ORG_ID column of DB2 type BIGINT.

The following is a description of this column:

Identifies the organization to which the business user owning this business profile is associated with.

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

setOrganizationId

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

setOrganizationId

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

getEmployeeType

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

This method provides access to the BUSPROF.EMPLOYEETYPE column of DB2 type VARCHAR(128).

The following is a description of this column:

The employee type, such as regular, part time, special part time, supplemental, and contractor.

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

setEmployeeType

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

getManager

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

This method provides access to the BUSPROF.MANAGER column of DB2 type VARCHAR(256).

The following is a description of this column:

The name of the manager or supervisor or this his business user.

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

setManager

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

getDepartmentNumber

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

This method provides access to the BUSPROF.DEPARTMENTNUM column of DB2 type VARCHAR(128).

The following is a description of this column:

The department number for the business user.

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

setDepartmentNumber

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

Feedback