|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleServiceAdminHandler
Handler for executing rule service management operations for rule services based on various types of rule service artifacts
| Method Summary | |
|---|---|
void |
deleteFactArchive(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName)
Delete fact archives that are not needed |
void |
deleteRuleFile(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName)
Delete the rule script in a rule service |
void |
deleteTempRuleServiceDirectory(String serviceName)
Delete the rule temp Directory in a rule service |
String[] |
getAllFacts(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName)
Retrieves the all facts applicable for a rule service |
String[] |
getFactArchiveList(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName)
Retrieves the all facts applicable for a rule service |
String[] |
getRuleFileList(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName)
Uploads the rule script for a rule service |
org.apache.axiom.om.OMElement |
getRuleService(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName)
Retrieves an XML representation of the rule service |
void |
saveRuleService(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
org.apache.axis2.description.AxisService axisService,
org.wso2.carbon.rule.common.RuleService ruleService)
Add a new rule service or update an existing one |
String[] |
uploadFacts(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName,
DataHandler dataHandler)
Uploads the facts to be used in the rule service |
void |
uploadRuleFile(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName,
DataHandler dataHandler)
Uploads the rule script for a rule service |
| Method Detail |
|---|
void saveRuleService(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
org.apache.axis2.description.AxisService axisService,
org.wso2.carbon.rule.common.RuleService ruleService)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationaxisService - AxisService instanceruleService - information about the rule service
RuleServiceAdminException
org.apache.axiom.om.OMElement getRuleService(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - The name of the service to be retrieved
RuleServiceAdminException
String[] uploadFacts(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName,
DataHandler dataHandler)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - The name of the service that facts are belongedfileName - fact file namedataHandler - Binary representation of the facts
RuleServiceAdminException
void uploadRuleFile(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName,
DataHandler dataHandler)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - the name of the rule servicefileName - the rule script file namedataHandler - Binary representation of the rule script
RuleServiceAdminException
String[] getAllFacts(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - the name of the rule service
RuleServiceAdminException
String[] getFactArchiveList(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - the name of the rule service
RuleServiceAdminException
void deleteFactArchive(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - The name of the service that facts are belongedfileName - fact file name
RuleServiceAdminException
String[] getRuleFileList(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - the name of the rule servicefileName - the rule script file name
RuleServiceAdminException
void deleteRuleFile(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
String serviceName,
String fileName)
throws RuleServiceAdminException
axisConfiguration - Axis2 Environment configurationserviceName - the name of the rule servicefileName - the rule script file name
RuleServiceAdminException
void deleteTempRuleServiceDirectory(String serviceName)
throws RuleServiceAdminException
serviceName - the name of the rule service
RuleServiceAdminException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||