com.ibm.commerce.accesscontrol.objects
Class ACPolicyDescriptionAccessBean

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

public class ACPolicyDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ACPolicyDescriptionAccessBeanData

This bean provides access to the ACPOLDESC table.

The following is a description of this table:

This table stores locale specific information for the ACPOLICY 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
ACPolicyDescriptionAccessBean()
          Default constructor.
ACPolicyDescriptionAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
ACPolicyDescriptionAccessBean(int argLanguageId, int argPolicyId, java.lang.String argPolicyName)
          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.lang.String getDescription()
          This method provides access to the ACPOLDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getPolicyName()
          This method provides access to the ACPOLDESC.DISPLAYNAME column of DB2 type VARCHAR(128) NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the ACPOLDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_policyId(java.lang.String aInitKey_policyId)
          Set the primary key for this object
 void setPolicyName(java.lang.String aPolicyName)
          This method provides access to the ACPOLDESC.DISPLAYNAME column of DB2 type VARCHAR(128) 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

ACPolicyDescriptionAccessBean

public ACPolicyDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


ACPolicyDescriptionAccessBean

public ACPolicyDescriptionAccessBean(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

ACPolicyDescriptionAccessBean

public ACPolicyDescriptionAccessBean(int argLanguageId,
                                     int argPolicyId,
                                     java.lang.String argPolicyName)
                              throws javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.naming.NamingException

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

Parameters:
argLanguageId - int
argPolicyId - int
argPolicyName - 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

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 ACPOLDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Description of the policy. This field is optional.

Specified by:
getDescription in interface ACPolicyDescriptionAccessBeanData
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

getPolicyName

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

This method provides access to the ACPOLDESC.DISPLAYNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Locale specific description of the policy.

Specified by:
getPolicyName in interface ACPolicyDescriptionAccessBeanData
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

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

setDescription

public void setDescription(java.lang.String aDescription)

This method provides access to the ACPOLDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Description of the policy. This field is optional.

Specified by:
setDescription in interface ACPolicyDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

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

setInitKey_policyId

public void setInitKey_policyId(java.lang.String aInitKey_policyId)

Set the primary key for this object

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

setPolicyName

public void setPolicyName(java.lang.String aPolicyName)

This method provides access to the ACPOLDESC.DISPLAYNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Locale specific description of the policy.

Specified by:
setPolicyName in interface ACPolicyDescriptionAccessBeanData
Parameters:
aPolicyName - java.lang.String
Returns:
void