public class SystemResource extends AbstractJaxRSResource
acceptableMediaTypes, httpServletRequest, httpServletResponse, TEXT_HTML
Constructor and Description |
---|
SystemResource() |
SystemResource(org.pentaho.platform.api.engine.ISystemConfig systemConfig) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAll()
Returns all users, roles, and ACLs in an XML document.
|
javax.ws.rs.core.Response |
getAuthenticationProvider()
Return JSON string reporting which authentication provider is currently in use
Response sample: { "authenticationType": "JCR_BASED_AUTHENTICATION" }
|
javax.ws.rs.core.Response |
getExecutableTypes()
Retrieves the list of supported content type in the platform
|
javax.ws.rs.core.Response |
getLocale()
Return the server side locale
|
TimeZoneWrapper |
getTimeZones()
Returns a list of TimeZones ensuring that the server (default) timezone is at the top of the list (0th element)
|
javax.ws.rs.core.Response |
setLocaleOverride(String locale)
Apply the selected locale to the user console
|
setHttpHeaders
public SystemResource()
public SystemResource(org.pentaho.platform.api.engine.ISystemConfig systemConfig)
public javax.ws.rs.core.Response getAll() throws Exception
Exception
public javax.ws.rs.core.Response getAuthenticationProvider() throws Exception
Exception
public TimeZoneWrapper getTimeZones()
public javax.ws.rs.core.Response getLocale()
public javax.ws.rs.core.Response setLocaleOverride(String locale)
locale
- (user console's locale)public javax.ws.rs.core.Response getExecutableTypes()
ExecutableFileTypeDto
Copyright © 2021 Hitachi Vantara. All rights reserved.