Interface OfficeImportService
public interface OfficeImportService
- Since:
- 4.2.38
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAvailableRulesets
(long projectId) getAvailableRulesetsFromCache
(long projectId) @NotNull String
getName()
Get the module name, same as in module.xmlgetProjectProperties
(long projectID) Get the global ruleset configurationgetRuleSetConfiguration
(long projectID) Get the project ruleset configurationgetTransformationRules
(String rulesetName, long projectId) Get the transformation rules for rule set name.boolean
Method to get service state in gui methods.void
setProjectProperties
(long projectID, ProjectProperties properties) void
Set the RuleSetConfiguration XML representation.void
setRuleSetConfiguration
(TransformationRules ruleSet, long projectID) Set the RuleSetConfiguration XML representation.
-
Field Details
-
RULESET_ENCODING
- Since:
- 4.2.38
- See Also:
-
-
Method Details
-
getRuleSetConfiguration
TransformationRules getRuleSetConfiguration()Get the global ruleset configuration- Returns:
- RuleSetConfiguration
- Since:
- 4.2.38
-
getRuleSetConfiguration
Get the project ruleset configuration- Parameters:
projectID
- the project id- Returns:
- RuleSetConfiguration
- Since:
- 4.2.38
-
setRuleSetConfiguration
Set the RuleSetConfiguration XML representation.- Parameters:
ruleSet
- xml ruleset configuration- Since:
- 4.2.38
-
setRuleSetConfiguration
Set the RuleSetConfiguration XML representation.- Parameters:
ruleSet
- xml ruleset configurationprojectID
- the project id- Since:
- 4.2.38
-
getName
Get the module name, same as in module.xml- Returns:
- the module name string
- Since:
- 4.2.38
-
isStarted
Method to get service state in gui methods. If we cast to ServiceImpl we get Proxy cast exception.- Returns:
- service state
- Throws:
ManagerNotFoundException
- Since:
- 4.2.38
-
getAvailableRulesetsFromCache
- Throws:
IOException
- Since:
- 4.2.38
-
getAvailableRulesets
- Throws:
IOException
- Since:
- 4.2.38
-
getTransformationRules
Get the transformation rules for rule set name.<ImportRuleSet name="the rule set name" description="">
- Parameters:
rulesetName
- the rule setString
projectId
- theProject.getId()
- Returns:
TransformationRules
- Throws:
IOException
- Since:
- 4.2.38
-
getProjectConfigFileName
String getProjectConfigFileName()- Since:
- 4.2.38
-
getRulesetConfigFileName
String getRulesetConfigFileName()- Since:
- 4.2.38
-
getProjectProperties
- Since:
- 4.2.38
-
setProjectProperties
- Since:
- 4.2.38
-
clearCache
void clearCache()- Since:
- 4.2.38
-