|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.beasys.commerce.axiom.reasoning.rules.RuleManagerBean
| Fields inherited from interface com.beasys.commerce.axiom.reasoning.rules.RuleConstants |
BIND_CONTENT,
BIND_REQUEST,
BIND_SESSION,
BIND_SUCCESSOR,
BIND_TIMESTAMP,
BIND_UNKNOWN,
BIND_USER,
CLASS_CLASSIFIER,
CLASS_CONFIGURABLE_ENTITY,
CLASS_CONTENT,
CLASS_CONTENT_SELECTOR,
CLASS_REQUEST,
CLASS_SESSION,
CLASS_SUCCESSOR,
CLASS_TIMESTAMP,
CLASS_USER,
GET_PROPERTY,
PHRASE_AND_WHEN,
PHRASE_CLASSIFICATION,
PHRASE_IF_ATTR,
PHRASE_IF_USER,
PHRASE_THEN_CHOOSE,
RULE_TYPE_CLASSIFIER,
RULE_TYPE_CONTENT_SELECTOR,
RULES_DTD,
SCHEMA_CLASSES,
SCHEMA_GROUPS,
SDF,
TEMPLATE_ATTR_COMP_CONSTANT,
THEN_PHRASE_CONST,
THEN_PHRASE_DATE,
THEN_PHRASE_PROPERTY |
| Fields inherited from interface com.beasys.commerce.axiom.reasoning.rules.RuleTagConstants |
ATTRIBUTE_NAME_BINDING_CLASS,
ATTRIBUTE_NAME_TAG_NAME,
CLASS_NAME_XML_DEFAULT,
FIELD_PREFIX,
TAG_ARGUMENTS,
TAG_ASSERT,
TAG_BINARY_OP,
TAG_CAST,
TAG_COMMENT,
TAG_CONSTANT,
TAG_DESCRIPTION,
TAG_DISPLAY_ITEM,
TAG_METHOD,
TAG_NAME_BINDING,
TAG_NAME_WILDCARD,
TAG_NARY_OP,
TAG_NEW,
TAG_RULE,
TAG_RULESHEET,
TAG_SIMPLE_CONDITION,
TAG_THEN,
TAG_UNARY_OP,
TAG_VARIABLE,
TAG_WHEN |
| Constructor Summary | |
RuleManagerBean()
|
|
| Method Summary | |
RuleSheet |
create()
Create a rule sheet. |
RuleSheet |
create(java.lang.String aName)
Create a rule sheet. |
void |
delete(RuleSheet aRuleSheet)
Delete a rule sheet. |
void |
delete(java.lang.String aName)
Delete a rule sheet by name. |
void |
ejbActivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbCreate()
Called by the container when a new instance is created. |
void |
ejbPassivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbRemove()
This method is required by the EJB Specification, but is not used by this example. |
java.util.Map |
getAllProperties()
Get all properties available from all property sets |
java.lang.String[] |
getAvailablePropertySets()
Get available property sets. |
java.lang.String[] |
getContentPropertySets()
Get content property sets. |
java.util.Map |
getPropertiesForPropertySet(java.lang.String aPropertySet)
Get properties for property set. |
java.lang.String[] |
getRuleSheetNames()
Get rule sheet names. |
RuleSheet |
load(java.lang.String aName)
Load a rule sheet wit the given file name. |
void |
save(RuleSheet aRuleSheet)
Save a rule sheet. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
void |
validate(RuleSheet aRuleSheet)
Validate the rulesheet. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public RuleManagerBean()
| Method Detail |
public void ejbActivate()
public void ejbRemove()
public void ejbPassivate()
public void setSessionContext(javax.ejb.SessionContext ctx)
ctx - SessionContext Context for session
public void ejbCreate()
throws javax.ejb.CreateException
public RuleSheet load(java.lang.String aName)
throws java.io.IOException,
javax.ejb.EJBException
aName - the name of the rule sheet.RuleSheetIOException - EJBException -
public RuleSheet create()
throws java.io.IOException,
javax.ejb.EJBException
RuleSheetIOException - EJBException -
public RuleSheet create(java.lang.String aName)
throws java.io.IOException,
javax.ejb.EJBException
aName - RuleSheetIOException - EJBException -
public void save(RuleSheet aRuleSheet)
throws java.io.IOException,
javax.ejb.EJBException
aRuleSheet - IOException - EJBException -
public void delete(RuleSheet aRuleSheet)
throws javax.ejb.EJBException
aRuleSheet - IOException - EJBException -
public void delete(java.lang.String aName)
throws javax.ejb.EJBException
aName - the name of the rule sheet.EJBException -
public void validate(RuleSheet aRuleSheet)
throws javax.ejb.EJBException,
java.io.IOException
aRuleSheet - EJBException - if not valid. You must look at the description.IOException -
public java.lang.String[] getRuleSheetNames()
throws javax.ejb.EJBException
String[]EJBException -
public java.lang.String[] getAvailablePropertySets()
throws javax.ejb.EJBException
String[]EJBException -
public java.lang.String[] getContentPropertySets()
throws javax.ejb.EJBException
String[]EJBException -
public java.util.Map getAllProperties()
throws javax.ejb.EJBException
MapEJBException -
public java.util.Map getPropertiesForPropertySet(java.lang.String aPropertySet)
throws javax.ejb.EJBException
aPropertySet - MapEJBException -
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||