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.

See Also:
Serialized Form

Constructor Summary
BusinessProfileAccessBean()
          constructor
BusinessProfileAccessBean(javax.ejb.EJBObject o)
          constructor
BusinessProfileAccessBean(java.lang.Long arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByRequisitionerId(java.lang.String arg0)
          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 provides access to the BUSPROF.ALTERNATEID column of DB2 type VARCHAR(20).
 void setDepartmentNumber(java.lang.String newValue)
          This method provides access to the BUSPROF.DEPARTMENTNUM column of DB2 type VARCHAR(128).
 void setEmployeeId(java.lang.String newValue)
          This method provides access to the BUSPROF.EMPLOYEEID column of DB2 type VARCHAR(20).
 void setEmployeeType(java.lang.String newValue)
          This method provides access to the BUSPROF.EMPLOYEETYPE column of DB2 type VARCHAR(128).
 void setInitKey_UserId(java.lang.String newValue)
          Set the primary key for this object
 void setManager(java.lang.String newValue)
          This method provides access to the BUSPROF.MANAGER column of DB2 type VARCHAR(256).
 void setOrganizationId(java.lang.Long newValue)
          This method provides access to the BUSPROF.ORG_ID column of DB2 type BIGINT.
 void setOrganizationId(java.lang.String newValue)
          This method provides access to the BUSPROF.ORG_ID column of DB2 type BIGINT.
 void setOrganizationUnitId(java.lang.Long newValue)
          This method provides access to the BUSPROF.ORGUNIT_ID column of DB2 type BIGINT.
 void setOrganizationUnitId(java.lang.String newValue)
          This method provides access to the BUSPROF.ORGUNIT_ID column of DB2 type BIGINT.
 void setRequistionerId(java.lang.String newValue)
          This method provides access to the BUSPROF.REQUISITIONERID column of DB2 type VARCHAR(128).
 void setSecretary(java.lang.String newValue)
          This method provides access to the BUSPROF.SECRETARY column of DB2 type VARCHAR(256).
 void setUserId(java.lang.Long newValue)
          This method provides access to the BUSPROF.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setUserId(java.lang.String newValue)
          This method provides access to the BUSPROF.USERS_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessProfileAccessBean

public BusinessProfileAccessBean()
constructor

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 arg0,
                                 java.lang.Long arg1)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByRequisitionerId

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

Find by requisitioner id.

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

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 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:
setRequistionerId in interface BusinessProfileAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setSecretary in interface BusinessProfileAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setEmployeeId in interface BusinessProfileAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setUserId in interface BusinessProfileAccessBeanData
Parameters:
newValue - String
Returns:
void

setUserId

public void setUserId(java.lang.Long newValue)

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.

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

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 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:
setOrganizationUnitId in interface BusinessProfileAccessBeanData
Parameters:
newValue - String
Returns:
void

setOrganizationUnitId

public void setOrganizationUnitId(java.lang.Long newValue)

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.

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

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 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:
setAlternateId in interface BusinessProfileAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setOrganizationId in interface BusinessProfileAccessBeanData
Parameters:
newValue - String
Returns:
void

setOrganizationId

public void setOrganizationId(java.lang.Long newValue)

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.

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

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 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:
setEmployeeType in interface BusinessProfileAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setManager in interface BusinessProfileAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setDepartmentNumber in interface BusinessProfileAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void