Package org.pentaho.platform.config
Class PentahoObjectsConfig
- java.lang.Object
-
- org.pentaho.platform.config.PentahoObjectsConfig
-
public class PentahoObjectsConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
PentahoObjectsConfig.ObjectDescriptor
static class
PentahoObjectsConfig.ScopeType
-
Field Summary
Fields Modifier and Type Field Description static String
ACL_PUBLISHER_ID
static String
ACL_VOTER_ID
static String
AUDIT_FILE_ENTRY_ID
static String
BACKGROUND_EXECUTION_HELPER_ID
static String
CACHE_MGR_ID
static String
CONDITONAL_EXECUTION_ID
static String
CONTENT_REPOSITORY_ID
static String
CONTENT_REPOSITORY_OUTPUT_HANDLER_ID
static String
DATA_SOURCE_ID
static String
DATA_SOURCE_MGMT_SERVICE_ID
static String
DATA_SOURCE_SERVICE_ID
static String
FILE_OUTPUT_HANDLER_ID
static String
MSG_FORMATTER_ID
static String
PASSWORD_SERVICE_ID
static String
PROTOTYPE
static String
RUNTIME_REPOSITORY_ID
static String
SCHEDULER_ID
static String
SESSION
static String
SINGLETON
static String
SOLUTION_ENGINE_ID
static String
SUBSCRIPTION_REPOSITORY_ID
static String
SUBSCRIPTION_SCHEDULER_ID
static String
UI_TEMPLATER_ID
static String
USER_FILES_COMPONENT_ID
static String
USER_SETTINGS_SERVICE_ID
static String
VERSION_HELPER_ID
-
Constructor Summary
Constructors Constructor Description PentahoObjectsConfig()
PentahoObjectsConfig(File pentahoXmlFile)
PentahoObjectsConfig(String xml)
-
Method Summary
-
-
-
Field Detail
-
SOLUTION_ENGINE_ID
public static final String SOLUTION_ENGINE_ID
- See Also:
- Constant Field Values
-
CONTENT_REPOSITORY_ID
public static final String CONTENT_REPOSITORY_ID
- See Also:
- Constant Field Values
-
RUNTIME_REPOSITORY_ID
public static final String RUNTIME_REPOSITORY_ID
- See Also:
- Constant Field Values
-
AUDIT_FILE_ENTRY_ID
public static final String AUDIT_FILE_ENTRY_ID
- See Also:
- Constant Field Values
-
UI_TEMPLATER_ID
public static final String UI_TEMPLATER_ID
- See Also:
- Constant Field Values
-
USER_FILES_COMPONENT_ID
public static final String USER_FILES_COMPONENT_ID
- See Also:
- Constant Field Values
-
BACKGROUND_EXECUTION_HELPER_ID
public static final String BACKGROUND_EXECUTION_HELPER_ID
- See Also:
- Constant Field Values
-
SUBSCRIPTION_REPOSITORY_ID
public static final String SUBSCRIPTION_REPOSITORY_ID
- See Also:
- Constant Field Values
-
SUBSCRIPTION_SCHEDULER_ID
public static final String SUBSCRIPTION_SCHEDULER_ID
- See Also:
- Constant Field Values
-
USER_SETTINGS_SERVICE_ID
public static final String USER_SETTINGS_SERVICE_ID
- See Also:
- Constant Field Values
-
FILE_OUTPUT_HANDLER_ID
public static final String FILE_OUTPUT_HANDLER_ID
- See Also:
- Constant Field Values
-
CONTENT_REPOSITORY_OUTPUT_HANDLER_ID
public static final String CONTENT_REPOSITORY_OUTPUT_HANDLER_ID
- See Also:
- Constant Field Values
-
ACL_PUBLISHER_ID
public static final String ACL_PUBLISHER_ID
- See Also:
- Constant Field Values
-
ACL_VOTER_ID
public static final String ACL_VOTER_ID
- See Also:
- Constant Field Values
-
VERSION_HELPER_ID
public static final String VERSION_HELPER_ID
- See Also:
- Constant Field Values
-
CACHE_MGR_ID
public static final String CACHE_MGR_ID
- See Also:
- Constant Field Values
-
SCHEDULER_ID
public static final String SCHEDULER_ID
- See Also:
- Constant Field Values
-
CONDITONAL_EXECUTION_ID
public static final String CONDITONAL_EXECUTION_ID
- See Also:
- Constant Field Values
-
MSG_FORMATTER_ID
public static final String MSG_FORMATTER_ID
- See Also:
- Constant Field Values
-
DATA_SOURCE_SERVICE_ID
public static final String DATA_SOURCE_SERVICE_ID
- See Also:
- Constant Field Values
-
PASSWORD_SERVICE_ID
public static final String PASSWORD_SERVICE_ID
- See Also:
- Constant Field Values
-
DATA_SOURCE_ID
public static final String DATA_SOURCE_ID
- See Also:
- Constant Field Values
-
DATA_SOURCE_MGMT_SERVICE_ID
public static final String DATA_SOURCE_MGMT_SERVICE_ID
- See Also:
- Constant Field Values
-
PROTOTYPE
public static final String PROTOTYPE
- See Also:
- Constant Field Values
-
SESSION
public static final String SESSION
- See Also:
- Constant Field Values
-
SINGLETON
public static final String SINGLETON
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PentahoObjectsConfig
public PentahoObjectsConfig(File pentahoXmlFile) throws IOException, org.dom4j.DocumentException
- Throws:
IOException
org.dom4j.DocumentException
-
PentahoObjectsConfig
public PentahoObjectsConfig(String xml) throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
-
PentahoObjectsConfig
public PentahoObjectsConfig()
-
-
Method Detail
-
setDocument
public void setDocument(org.dom4j.Document doc) throws org.dom4j.DocumentException
- Throws:
org.dom4j.DocumentException
-
getSolutionEngine
public String getSolutionEngine()
-
setSolutionEngine
public void setSolutionEngine(String solutionEngine, PentahoObjectsConfig.ScopeType scope)
-
getContentRepository
public String getContentRepository()
-
setContentRepository
public void setContentRepository(String contentRepository, PentahoObjectsConfig.ScopeType scope)
-
getRuntimeRepository
public String getRuntimeRepository()
-
setRuntimeRepository
public void setRuntimeRepository(String runtimeRepository, PentahoObjectsConfig.ScopeType scope)
-
getAuditFileEntry
public String getAuditFileEntry()
-
setAuditFileEntry
public void setAuditFileEntry(String auditFileEntry, PentahoObjectsConfig.ScopeType scope)
-
getUiTemplater
public String getUiTemplater()
-
setUiTemplater
public void setUiTemplater(String uiTemplater, PentahoObjectsConfig.ScopeType scope)
-
getUserFilesComponent
public String getUserFilesComponent()
-
setUserFilesComponent
public void setUserFilesComponent(String userFilesComponent, PentahoObjectsConfig.ScopeType scope)
-
getBackgroundExecutionHelper
public String getBackgroundExecutionHelper()
-
setBackgroundExecutionHelper
public void setBackgroundExecutionHelper(String backgroundExecutionHelper, PentahoObjectsConfig.ScopeType scope)
-
getSubscriptionRepository
public String getSubscriptionRepository()
-
setSubscriptionRepository
public void setSubscriptionRepository(String subscriptionRepository, PentahoObjectsConfig.ScopeType scope)
-
getSubscriptionScheduler
public String getSubscriptionScheduler()
-
setSubscriptionScheduler
public void setSubscriptionScheduler(String subscriptionScheduler, PentahoObjectsConfig.ScopeType scope)
-
getUserSettingsService
public String getUserSettingsService()
-
setUserSettingsService
public void setUserSettingsService(String userSettingsService, PentahoObjectsConfig.ScopeType scope)
-
getFileOutputHandler
public String getFileOutputHandler()
-
setFileOutputHandler
public void setFileOutputHandler(String fileOutputHandler, PentahoObjectsConfig.ScopeType scope)
-
getContentRepositoryOutputHandler
public String getContentRepositoryOutputHandler()
-
setContentRepositoryOutputHandler
public void setContentRepositoryOutputHandler(String contentRepositoryOutputHandler, PentahoObjectsConfig.ScopeType scope)
-
getAclPublisher
public String getAclPublisher()
-
setAclPublisher
public void setAclPublisher(String aclPublisher, PentahoObjectsConfig.ScopeType scope)
-
getAclVoter
public String getAclVoter()
-
setAclVoter
public void setAclVoter(String aclVoter, PentahoObjectsConfig.ScopeType scope)
-
getVersionHelper
public String getVersionHelper()
-
setVersionHelper
public void setVersionHelper(String versionHelper, PentahoObjectsConfig.ScopeType scope)
-
getCacheManager
public String getCacheManager()
-
setCacheManager
public void setCacheManager(String cacheManager, PentahoObjectsConfig.ScopeType scope)
-
getScheduler
public String getScheduler()
-
setScheduler
public void setScheduler(String scheduler, PentahoObjectsConfig.ScopeType scope)
-
getConditionalExecution
public String getConditionalExecution()
-
setConditionalExecution
public void setConditionalExecution(String conditionalExecution, PentahoObjectsConfig.ScopeType scope)
-
getMessageFormatter
public String getMessageFormatter()
-
setMessageFormatter
public void setMessageFormatter(String messageFormatter, PentahoObjectsConfig.ScopeType scope)
-
getDataSourceService
public String getDataSourceService()
-
setDataSourceService
public void setDataSourceService(String dataSourceService, PentahoObjectsConfig.ScopeType scope)
-
getPasswordService
public String getPasswordService()
-
setPasswordService
public void setPasswordService(String passwordService, PentahoObjectsConfig.ScopeType scope)
-
getDataSource
public String getDataSource()
-
setDataSource
public void setDataSource(String dataSource, PentahoObjectsConfig.ScopeType scope)
-
getDataSourcMgmtService
public String getDataSourcMgmtService()
-
setDataSourcMgmtService
public void setDataSourcMgmtService(String dataSourcMgmtService, PentahoObjectsConfig.ScopeType scope)
-
getObjectBeanElement
protected org.dom4j.Element getObjectBeanElement(String objectId)
-
setObject
public void setObject(String objectId, PentahoObjectsConfig.ObjectDescriptor objectDescriptor)
-
updateObject
public void updateObject(String objectId, PentahoObjectsConfig.ObjectDescriptor objectDescriptor)
-
getObject
public PentahoObjectsConfig.ObjectDescriptor getObject(String objectId)
-
getDocument
public org.dom4j.Document getDocument()
-
stringToScopeType
public PentahoObjectsConfig.ScopeType stringToScopeType(String scopeTypeString)
-
-