BusinessPolicyManager Interface

com.beasys.commerce.foundation
BusinessPolicyManager Interface

public interface BusinessPolicyManager

The Business Policy Manager provides an interface by which a set of Business Policies can be associated with any object that implements it.

Related Topics

BusinessPolicy

Method Summary

public void
addBusinessPolicy(String policyKey, BusinessPolicy businessPolicy)
Add a new business policy to the object with the specified key
public BusinessPolicy
getBusinessPolicy(String policyKey)
Retrieve the business policy with the specified key.
public BusinessPolicy
removeBusinessPolicy(String policyKey)
Remove the business policy with the specified key.

Method Detail

addBusinessPolicy(String, BusinessPolicy) Method

public void addBusinessPolicy(String policyKey, 
                              BusinessPolicy businessPolicy)
throws SystemException, RemoteException
Add a new business policy to the object with the specified key

Exceptions

SystemException
RemoteException

getBusinessPolicy(String) Method

public BusinessPolicy getBusinessPolicy(String policyKey)
throws SystemException, RemoteException
Retrieve the business policy with the specified key.

Exceptions

SystemException
RemoteException

removeBusinessPolicy(String) Method

public BusinessPolicy removeBusinessPolicy(String policyKey)
throws SystemException, RemoteException
Remove the business policy with the specified key.

Exceptions

SystemException
RemoteException