|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.rules.RulesSystemDataModel | +--com.ibm.commerce.rules.RulesSystemDataModelEjbImpl
An EJB-based implementation of the RulesSystemDataModel
.
Fields inherited from class com.ibm.commerce.rules.RulesSystemDataModel |
COPYRIGHT |
Constructor Summary | |
RulesSystemDataModelEjbImpl()
|
Method Summary | |
boolean |
commitRuleServerConfiguration(RuleServerConfiguration aRuleServerConfiguration)
Commits the specified rule server configuration to this data model's persistent store. |
boolean |
commitRuleServiceConfiguration(RuleServiceConfiguration aRuleServiceConfiguration)
Commits the specified rule service configuration to this data model's persistent store. |
void |
commitRuleServiceStatus(java.lang.String aServerName,
RuleServiceKey aServiceKey,
java.lang.String aCloneName,
RuleServiceStatusCode aStatusCode)
commitRuleServiceStatus method comment. |
int |
countRuleServiceConfigurations()
countRuleServiceConfigurations method comment. |
int |
countRuleServiceConfigurationsInServer(java.lang.String aServerName)
countRuleServiceConfigurationsInServer method comment. |
void |
eachRuleServiceConfiguration(RuleServiceConfigurationBlock command)
eachRuleServiceConfiguration method comment. |
void |
eachRuleServiceConfigurationInServer(java.lang.String aServerName,
RuleServiceConfigurationBlock command)
eachRuleServiceConfigurationInServer method comment. |
protected java.lang.Integer |
getRuleServiceId(java.lang.String aServerName,
RuleServiceKey aServiceKey)
|
RuleServerConfiguration |
lookupRuleServerConfiguration(java.lang.String aServerName)
lookupRuleServerConfiguration method comment. |
RuleServiceConfiguration |
lookupRuleServiceConfiguration(java.lang.String aServerName,
RuleServiceKey aRuleServiceKey)
lookupRuleServiceConfiguration method comment. |
RuleServiceStatus |
lookupRuleServiceStatus(java.lang.String aServerName,
RuleServiceKey aServiceKey)
lookupRuleServiceStatus method comment. |
void |
removeRuleServerConfiguration(java.lang.String aServerName)
removeRuleServerConfiguration method comment. |
void |
removeRuleServiceConfiguration(java.lang.String aServerName,
RuleServiceKey aRuleServiceKey)
removeRuleServiceConfiguration method comment. |
void |
removeRuleServiceConfigurations(RuleServiceConfigurationFilter filter)
removeRuleServiceConfigurations method comment. |
boolean |
ruleServerConfigurationExists(java.lang.String aServerName)
ruleServerConfigurationExists method comment. |
protected boolean |
ruleServiceConfigurationExists(RuleServiceConfiguration aRuleServiceConfiguration)
ruleServiceConfigurationExists method comment. |
boolean |
ruleServiceConfigurationExists(java.lang.String aServerName,
RuleServiceKey aServiceKey)
ruleServiceConfigurationExists method comment. |
boolean |
ruleServiceStatusExists(java.lang.String aServerName,
RuleServiceKey aServiceKey)
ruleServiceStatusExists method comment. |
Methods inherited from class com.ibm.commerce.rules.RulesSystemDataModel |
createBlazeRuleServiceConfiguration, getInstance, reset, ruleServerConfigurationExists |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RulesSystemDataModelEjbImpl()
Method Detail |
public boolean commitRuleServerConfiguration(RuleServerConfiguration aRuleServerConfiguration) throws RulesSystemDataModelException
commitRuleServerConfiguration
in class RulesSystemDataModel
true
if a new persistent object was
created; false
if one was only updated.public boolean commitRuleServiceConfiguration(RuleServiceConfiguration aRuleServiceConfiguration) throws RulesSystemDataModelException, RuleServerConfigurationNotFoundException
commitRuleServiceConfiguration
in class RulesSystemDataModel
true
if a new persistent object was
created; false
if one was only updated.public void commitRuleServiceStatus(java.lang.String aServerName, RuleServiceKey aServiceKey, java.lang.String aCloneName, RuleServiceStatusCode aStatusCode)
commitRuleServiceStatus
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
aServerName
- The name of the rule server to which
the rule service belongs.aServiceKey
- The identifying key of the rule service.aCloneName
- The name of the clone for which the
rule service status is to be reported.aStatusCode
- The status to report for the rule service.RuleServerConfigurationNotFoundException
- Indicates
that the rule server configuration for the rule server to which
the specified rule service belongs does not exist.public int countRuleServiceConfigurations()
countRuleServiceConfigurations
in class RulesSystemDataModel
public int countRuleServiceConfigurationsInServer(java.lang.String aServerName) throws RulesSystemDataModelException
countRuleServiceConfigurationsInServer
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
aServerName
- The name of a rule server.public void eachRuleServiceConfiguration(RuleServiceConfigurationBlock command) throws RulesSystemDataModelException
eachRuleServiceConfiguration
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
command
- A block of code to execute.RuleServiceConfigurationBlock
public void eachRuleServiceConfigurationInServer(java.lang.String aServerName, RuleServiceConfigurationBlock command) throws RulesSystemDataModelException
eachRuleServiceConfigurationInServer
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
aServerName
- The name of a rule server.command
- A block of code to execute.RuleServiceConfigurationBlock
protected java.lang.Integer getRuleServiceId(java.lang.String aServerName, RuleServiceKey aServiceKey) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException
public RuleServerConfiguration lookupRuleServerConfiguration(java.lang.String aServerName) throws RulesSystemDataModelException, RuleServerConfigurationNotFoundException
lookupRuleServerConfiguration
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
RuleServerConfigurationNotFoundException
- Indicates
that the rule server configuration does not exist.public RuleServiceConfiguration lookupRuleServiceConfiguration(java.lang.String aServerName, RuleServiceKey aRuleServiceKey) throws RuleServiceConfigurationNotFoundException, RulesSystemDataModelException
lookupRuleServiceConfiguration
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
RuleServerConfigurationNotFoundException
- Indicates
that the rule server configuration does not exist.RuleServiceConfigurationNotFoundException
- Indicates
that the rule service configuration does not exist in the specified
rule server.public RuleServiceStatus lookupRuleServiceStatus(java.lang.String aServerName, RuleServiceKey aServiceKey) throws RuleServiceConfigurationNotFoundException, RuleServerConfigurationNotFoundException, RulesSystemDataModelException
lookupRuleServiceStatus
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
RuleServerConfigurationNotFoundException
- Indicates
that the rule server configuration does not exist.RuleServiceConfigurationNotFoundException
- Indicates
that the rule service configuration does not exist in the specified
rule server.public void removeRuleServerConfiguration(java.lang.String aServerName) throws RulesSystemDataModelException
removeRuleServerConfiguration
in class RulesSystemDataModel
public void removeRuleServiceConfiguration(java.lang.String aServerName, RuleServiceKey aRuleServiceKey) throws RulesSystemDataModelException, RuleServiceConfigurationNotFoundException
removeRuleServiceConfiguration
in class RulesSystemDataModel
com.ibm.commerce.rules.RulesSystemDataModel
RuleServerConfigurationNotFoundException
- Indicates
that the rule server configuration does not exist.RuleServiceConfigurationNotFoundException
- Indicates
that the rule service configuration does not exist in the specified
rule server.public void removeRuleServiceConfigurations(RuleServiceConfigurationFilter filter) throws RulesSystemDataModelException
removeRuleServiceConfigurations
in class RulesSystemDataModel
public boolean ruleServerConfigurationExists(java.lang.String aServerName) throws RulesSystemDataModelException
ruleServerConfigurationExists
in class RulesSystemDataModel
protected boolean ruleServiceConfigurationExists(RuleServiceConfiguration aRuleServiceConfiguration) throws RulesSystemDataModelException
public boolean ruleServiceConfigurationExists(java.lang.String aServerName, RuleServiceKey aServiceKey) throws RulesSystemDataModelException
ruleServiceConfigurationExists
in class RulesSystemDataModel
public boolean ruleServiceStatusExists(java.lang.String aServerName, RuleServiceKey aServiceKey)
ruleServiceStatusExists
in class RulesSystemDataModel
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |