public interface OfficeImportService
| Modifier and Type | Field and Description |
|---|---|
static String |
RULESET_ENCODING |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
Map<String,String> |
getAvailableRulesets(long projectId) |
Map<String,String> |
getAvailableRulesetsFromCache(long projectId) |
String |
getName()
Get the module name, same as in module.xml
|
String |
getProjectConfigFileName() |
ProjectProperties |
getProjectProperties(long projectID) |
String |
getRulesetConfigFileName() |
TransformationRules |
getRuleSetConfiguration()
Get the global ruleset configuration
|
TransformationRules |
getRuleSetConfiguration(long projectID)
Get the project ruleset configuration
|
TransformationRules |
getTransformationRules(String rulesetName,
long projectId)
Get the transformation rules for rule set name.
|
boolean |
isStarted()
Method to get service state in gui methods.
|
void |
setProjectProperties(long projectID,
ProjectProperties properties) |
void |
setRuleSetConfiguration(TransformationRules ruleSet)
Set the RuleSetConfiguration XML representation.
|
void |
setRuleSetConfiguration(TransformationRules ruleSet,
long projectID)
Set the RuleSetConfiguration XML representation.
|
static final String RULESET_ENCODING
TransformationRules getRuleSetConfiguration()
TransformationRules getRuleSetConfiguration(long projectID)
projectID - the project idvoid setRuleSetConfiguration(TransformationRules ruleSet)
ruleSet - xml ruleset configurationvoid setRuleSetConfiguration(TransformationRules ruleSet, long projectID)
ruleSet - xml ruleset configurationprojectID - the project id@NotNull String getName()
boolean isStarted()
throws de.espirit.firstspirit.server.ManagerNotFoundException
de.espirit.firstspirit.server.ManagerNotFoundExceptionMap<String,String> getAvailableRulesetsFromCache(long projectId) throws IOException
IOExceptionMap<String,String> getAvailableRulesets(long projectId) throws IOException
IOExceptionTransformationRules getTransformationRules(String rulesetName, long projectId) throws IOException
<ImportRuleSet name="the rule set name" description="">
rulesetName - the rule set StringprojectId - the Project.getId()TransformationRulesIOExceptionString getProjectConfigFileName()
String getRulesetConfigFileName()
ProjectProperties getProjectProperties(long projectID)
void setProjectProperties(long projectID,
ProjectProperties properties)
void clearCache()
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408