com.ibm.commerce.user.objects
Class UserBean

com.ibm.commerce.user.objects.MemberBean
  |
  +--com.ibm.commerce.user.objects.UserBean
All Implemented Interfaces:
java.io.Serializable

public class UserBean
extends MemberBean

This bean provides access to the USERS table.

The following is a description of this table:

This table contains all users of the WebSphere Commerce system: registered users, guest users, and generic users.

See Also:
Serialized Form

Constructor Summary
UserBean()
           
 
Method Summary
 java.lang.String getDistinguishedName()
          This method provides access to the USERS.DN column of DB2 type VARCHAR(1000) NULL.
 java.sql.Timestamp getLastOrder()
          This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastSession()
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 java.lang.String getPreferredCurrency()
          This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.
 java.lang.Integer getPreferredLanguageId()
          This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.
 java.sql.Timestamp getPreviousLastSession()
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 java.lang.String getProfileType()
          This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.
 java.lang.String getRegisterType()
          This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.
 java.sql.Timestamp getRegistration()
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getRegistrationCancel()
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getRegistrationUpdate()
          This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.
 void setDistinguishedName(java.lang.String aDistinguishedName)
          This method provides access to the USERS.DN column of DB2 type VARCHAR(1000) NULL.
 void setLastOrder(java.sql.Timestamp aLastOrder)
          This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.
 void setLastSession(java.sql.Timestamp aLastSession)
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 void setPreferredCurrency(java.lang.String aPreferredCurrency)
          This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.
 void setPreferredLanguageId(java.lang.Integer aPreferredLanguageId)
          This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.
 void setPreviousLastSession(java.sql.Timestamp aPreviousLastSession)
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 void setProfileType(java.lang.String aProfileType)
          This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.
 void setRegisterType(java.lang.String aRegisterType)
          This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.
 void setRegistration(java.sql.Timestamp aRegistration)
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 void setRegistrationCancel(java.sql.Timestamp aRegistrationCancel)
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 void setRegistrationUpdate(java.sql.Timestamp aRegistrationUpdate)
          This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.
 
Methods inherited from class com.ibm.commerce.user.objects.MemberBean
getMemberId, getState, setState
 

Constructor Detail

UserBean

public UserBean()
Method Detail

getDistinguishedName

public java.lang.String getDistinguishedName()

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

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getLastOrder

public java.sql.Timestamp getLastOrder()

This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last placed an order at this site.

Returns:
java.sql.Timestamp

getLastSession

public java.sql.Timestamp getLastSession()

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp

getPreferredCurrency

public java.lang.String getPreferredCurrency()

This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Preferred currency in 3-character alphabetic code as per ISO 4217. This is a currency code as per ISO 4217 standards. Compare with the SHPREFERREDCURR column in the SHOPPER table.

Returns:
java.lang.String

getPreferredLanguageId

public java.lang.Integer getPreferredLanguageId()

This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Preferred language. For a list of language components, see the LANGUAGE table. Foreign key relationship to LANGUAGE table.

Returns:
java.lang.Integer

getPreviousLastSession

public java.sql.Timestamp getPreviousLastSession()

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp

getProfileType

public java.lang.String getProfileType()

This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

Identifies whether there is a profile and what type of profile this user has. Valid values are Null (no profile data), C (base profile data), or B (business profile data).

Returns:
java.lang.String

getRegisterType

public java.lang.String getRegisterType()

This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

The user registration type. Refer to USERS table: details for more information.

Returns:
java.lang.String

getRegistration

public java.sql.Timestamp getRegistration()

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp

getRegistrationCancel

public java.sql.Timestamp getRegistrationCancel()

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp

getRegistrationUpdate

public java.sql.Timestamp getRegistrationUpdate()

This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date or time the user last changed registration information. This value is set during UserRegistrationAdd and UserRegistrationUpdate ResetPassword synchronization with LDAP during logon.

Returns:
java.sql.Timestamp

setDistinguishedName

public void setDistinguishedName(java.lang.String aDistinguishedName)

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

The following is a description of this column:

Reserved for IBM internal use.

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

setLastOrder

public void setLastOrder(java.sql.Timestamp aLastOrder)

This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last placed an order at this site.

Parameters:
aLastOrder - java.sql.Timestamp
Returns:
void

setLastSession

public void setLastSession(java.sql.Timestamp aLastSession)

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aLastSession - java.sql.Timestamp
Returns:
void

setPreferredCurrency

public void setPreferredCurrency(java.lang.String aPreferredCurrency)

This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Preferred currency in 3-character alphabetic code as per ISO 4217. This is a currency code as per ISO 4217 standards. Compare with the SHPREFERREDCURR column in the SHOPPER table.

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

setPreferredLanguageId

public void setPreferredLanguageId(java.lang.Integer aPreferredLanguageId)

This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Preferred language. For a list of language components, see the LANGUAGE table. Foreign key relationship to LANGUAGE table.

Parameters:
aPreferredLanguageId - java.lang.Integer
Returns:
void

setPreviousLastSession

public void setPreviousLastSession(java.sql.Timestamp aPreviousLastSession)

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aPreviousLastSession - java.sql.Timestamp
Returns:
void

setProfileType

public void setProfileType(java.lang.String aProfileType)

This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

Identifies whether there is a profile and what type of profile this user has. Valid values are Null (no profile data), C (base profile data), or B (business profile data).

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

setRegisterType

public void setRegisterType(java.lang.String aRegisterType)

This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

The user registration type. Refer to USERS table: details for more information.

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

setRegistration

public void setRegistration(java.sql.Timestamp aRegistration)

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aRegistration - java.sql.Timestamp
Returns:
void

setRegistrationCancel

public void setRegistrationCancel(java.sql.Timestamp aRegistrationCancel)

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aRegistrationCancel - java.sql.Timestamp
Returns:
void

setRegistrationUpdate

public void setRegistrationUpdate(java.sql.Timestamp aRegistrationUpdate)

This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date or time the user last changed registration information. This value is set during UserRegistrationAdd and UserRegistrationUpdate ResetPassword synchronization with LDAP during logon.

Parameters:
aRegistrationUpdate - java.sql.Timestamp
Returns:
void