com.ibm.commerce.contract.objects
Interface BusinessPolicyAccessBeanData

All Known Implementing Classes:
BusinessPolicyAccessBean

public interface BusinessPolicyAccessBeanData

Each row in this table represents a business policy.

This bean provides access to the POLICY table.

The following is a description of this table:

Each row in this table represents a business policy.


Method Summary
 java.lang.String getEndDate()
          This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL.
 java.lang.String getPolicyId()
          This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPolicyName()
          This method provides access to the POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.
 java.lang.String getProperties()
          This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254) NULL.
 java.lang.String getStartDate()
          This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL.
 java.lang.String getStoreEntityId()
          This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getType()
          This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL.
 void setEndDate(java.lang.String newValue)
          This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL.
 void setPolicyId(java.lang.String newValue)
          This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.
 void setPolicyName(java.lang.String newValue)
          This method provides access to the POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.
 void setProperties(java.lang.String newValue)
          This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254) NULL.
 void setStartDate(java.lang.String newValue)
          This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL.
 void setStoreEntityId(java.lang.String newValue)
          This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setType(java.lang.String newValue)           This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL.
 

Method Detail

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 POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

The policy unique name. It is expected that a store contains the following bootstrap policies:

MasterCatalog (one per storeEntity), CreditLine (one per storeEntity).

Returns:
The name of the business policy.
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.

setPolicyName

public void setPolicyName(java.lang.String newValue)

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

The following is a description of this column:

The policy unique name. It is expected that a store contains the following bootstrap policies:

MasterCatalog (one per storeEntity), CreditLine (one per storeEntity).

Parameters:
newValue - The name of the business policy.

getStartDate

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

This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Start date of the policy. If null start immediately.

Returns:
The starting date of the business policy.
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.

setStartDate

public void setStartDate(java.lang.String newValue)

This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Start date of the policy. If null start immediately.

Parameters:
newValue - The starting date of the business policy.

getStoreEntityId

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

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

The following is a description of this column:

The Store or StoreGroup ID.

Returns:
The ID of the store entity.
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.

setStoreEntityId

public void setStoreEntityId(java.lang.String newValue)

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

The following is a description of this column:

The Store or StoreGroup ID.

Parameters:
newValue - The ID of the store entity.

getPolicyId

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

This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The policy ID.

Returns:
The ID of the business policy.
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.

setPolicyId

public void setPolicyId(java.lang.String newValue)

This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The policy ID.

Parameters:
newValue - The ID of the business policy.

getType

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

This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL.

The following is a description of this column:

The policy type ID. Foreign key to the POLICYTYPE table.

Returns:
The type of the business policy.
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.

setType

public void setType(java.lang.String newValue)

This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL.

The following is a description of this column:

The policy type ID. Foreign key to the POLICYTYPE table.

Parameters:
newValue - The type of the business policy.

getEndDate

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

This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

End date of the policy. If null, no end time.

Returns:
The ending date of the business policy.
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.

setEndDate

public void setEndDate(java.lang.String newValue)

This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

End date of the policy. If null, no end time.

Parameters:
newValue - The ending date of the business policy.

getProperties

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

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

The following is a description of this column:

Default name value pairs that can be set to the business policy command. For example: n1=v1&n2=v2.

Returns:
The properties of the business policy.
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.

setProperties

public void setProperties(java.lang.String newValue)

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

The following is a description of this column:

Default name value pairs that can be set to the business policy command. For example: n1=v1&n2=v2.

Parameters:
newValue - The properties of the business policy.