com.ibm.commerce.accesscontrol.objects
Class AccLogMainAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.accesscontrol.objects.AccLogMainAccessBean
All Implemented Interfaces:
AccLogMainAccessBeanData, java.io.Serializable

public class AccLogMainAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AccLogMainAccessBeanData

This bean provides access to the ACCLOGMAIN table.

The following is a description of this table:

This table contains information about access violation. Entries are created only if a violation has occurred. There will only be one entry per request. Detailed information is stored in the ACCLOGSUB table.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
AccLogMainAccessBean()
          Default constructor.
AccLogMainAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
AccLogMainAccessBean(java.lang.Long accLogMainId, java.lang.Integer storeEntId, java.lang.Long userId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
AccLogMainAccessBean(java.lang.Long accLogMainId, java.lang.Integer storeEntId, java.lang.Long userId, java.lang.String threadId, java.lang.String hostName)
          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).
 java.util.Enumeration findByHostName(java.lang.String aHostName)
          The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.HOSTNAME = ?".
 java.util.Enumeration findByStoreEntId(java.lang.Long aStoreEntId)
          The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.STOREENT_ID = ?".
 java.util.Enumeration findByThreadId(java.lang.String aThreadId)
          The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.THREADID = ?".
 java.util.Enumeration findByUserId(java.lang.Long aUserId)
          The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.USERS_ID = ?".
 java.lang.String getAccLogMainId()
          This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAccLogMainIdInEJBType()
          This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getHostName()
          This method provides access to the ACCLOGMAIN.HOSTNAME column of DB2 type VARCHAR(64) NULL.
 java.lang.String getStoreentId()
          This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreentIdInEJBType()
          This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getThreadId()
          This method provides access to the ACCLOGMAIN.THREADID column of DB2 type VARCHAR(32) NULL.
 java.lang.String getUsersId()
          This method provides access to the ACCLOGMAIN.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUsersIdInEJBType()
          This method provides access to the ACCLOGMAIN.USERS_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAccLogMainId(java.lang.Long aAccLogMainId)
          This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.
 void setAccLogMainId(java.lang.String aAccLogMainId)
          This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.
 void setHostName(java.lang.String aHostName)
          This method provides access to the ACCLOGMAIN.HOSTNAME column of DB2 type VARCHAR(64) NULL.
 void setInitKey_accLogMainId(java.lang.String aInitKey_accLogMainId)
          Set the primary key for this object
 void setStoreentId(java.lang.Integer aStoreentId)
          This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.String aStoreentId)
          This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setThreadId(java.lang.String aThreadId)
          This method provides access to the ACCLOGMAIN.THREADID column of DB2 type VARCHAR(32) NULL.
 void setUsersId(java.lang.Long aUsersId)
          This method provides access to the ACCLOGMAIN.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setUsersId(java.lang.String aUsersId)
          This method provides access to the ACCLOGMAIN.USERS_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccLogMainAccessBean

public AccLogMainAccessBean()

Default constructor. Maps to findByPrimaryKey.


AccLogMainAccessBean

public AccLogMainAccessBean(javax.ejb.EJBObject Object)
                     throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

AccLogMainAccessBean

public AccLogMainAccessBean(java.lang.Long accLogMainId,
                            java.lang.Integer storeEntId,
                            java.lang.Long userId)
                     throws javax.ejb.CreateException,
                            java.rmi.RemoteException,
                            javax.naming.NamingException

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

Parameters:
accLogMainId - java.lang.Long
storeEntId - java.lang.Integer
userId - java.lang.Long
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception

AccLogMainAccessBean

public AccLogMainAccessBean(java.lang.Long accLogMainId,
                            java.lang.Integer storeEntId,
                            java.lang.Long userId,
                            java.lang.String threadId,
                            java.lang.String hostName)
                     throws javax.ejb.CreateException,
                            java.rmi.RemoteException,
                            javax.naming.NamingException

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

Parameters:
accLogMainId - java.lang.Long
storeEntId - java.lang.Integer
userId - java.lang.Long
threadId - java.lang.String
hostName - java.lang.String
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByHostName

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

The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.HOSTNAME = ?".

Parameters:
aHostName - 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 - The javax.naming.NamingException exception

findByStoreEntId

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

The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.STOREENT_ID = ?".

Parameters:
aStoreEntId - 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 - The javax.naming.NamingException exception

findByThreadId

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

The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.THREADID = ?".

Parameters:
aThreadId - 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 - The javax.naming.NamingException exception

findByUserId

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

The SQL is "SELECT * FROM ACCLOGMAIN T1 WHERE T1.USERS_ID = ?".

Parameters:
aUserId - 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 - The javax.naming.NamingException exception

getAccLogMainId

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

This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The primary key.

Specified by:
getAccLogMainId in interface AccLogMainAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAccLogMainIdInEJBType

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

This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The primary key.

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

getHostName

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

This method provides access to the ACCLOGMAIN.HOSTNAME column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The name of the host where the request originated.

Specified by:
getHostName in interface AccLogMainAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreentId

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

This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store as specified in the request.

Specified by:
getStoreentId in interface AccLogMainAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreentIdInEJBType

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

This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store as specified in the request.

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

getThreadId

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

This method provides access to the ACCLOGMAIN.THREADID column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The ID of the thread in which the request was handled.

Specified by:
getThreadId in interface AccLogMainAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUsersId

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

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

The following is a description of this column:

The ID of the user executing the request.

Specified by:
getUsersId in interface AccLogMainAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUsersIdInEJBType

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

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

The following is a description of this column:

The ID of the user executing the request.

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setAccLogMainId

public void setAccLogMainId(java.lang.Long aAccLogMainId)

This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The primary key.

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

setAccLogMainId

public void setAccLogMainId(java.lang.String aAccLogMainId)

This method provides access to the ACCLOGMAIN.ACCLOGMAIN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The primary key.

Specified by:
setAccLogMainId in interface AccLogMainAccessBeanData
Parameters:
aAccLogMainId - java.lang.String
Returns:
void

setHostName

public void setHostName(java.lang.String aHostName)

This method provides access to the ACCLOGMAIN.HOSTNAME column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The name of the host where the request originated.

Specified by:
setHostName in interface AccLogMainAccessBeanData
Parameters:
aHostName - java.lang.String
Returns:
void

setInitKey_accLogMainId

public void setInitKey_accLogMainId(java.lang.String aInitKey_accLogMainId)

Set the primary key for this object

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

setStoreentId

public void setStoreentId(java.lang.Integer aStoreentId)

This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store as specified in the request.

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

setStoreentId

public void setStoreentId(java.lang.String aStoreentId)

This method provides access to the ACCLOGMAIN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store as specified in the request.

Specified by:
setStoreentId in interface AccLogMainAccessBeanData
Parameters:
aStoreentId - java.lang.String
Returns:
void

setThreadId

public void setThreadId(java.lang.String aThreadId)

This method provides access to the ACCLOGMAIN.THREADID column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The ID of the thread in which the request was handled.

Specified by:
setThreadId in interface AccLogMainAccessBeanData
Parameters:
aThreadId - java.lang.String
Returns:
void

setUsersId

public void setUsersId(java.lang.Long aUsersId)

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

The following is a description of this column:

The ID of the user executing the request.

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

setUsersId

public void setUsersId(java.lang.String aUsersId)

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

The following is a description of this column:

The ID of the user executing the request.

Specified by:
setUsersId in interface AccLogMainAccessBeanData
Parameters:
aUsersId - java.lang.String
Returns:
void