@Encoded public class ConfigurationHandler extends AbstractResourceHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String | DEFAULT_ACCESS_PROFILE
The default access profile, used when an access profile is not specified using the accessProfile query parameter.
|
static java.lang.String | FIND_BY_ALL_XPATH
The XPATH expression, used to retrieve the Configuration by All
|
static java.lang.String | FIND_BY_IDENTIFIER_XPATH
The XPATH expression, used to retrieve the Configuration by Identifier.
|
static java.lang.String | RESOURCE_MAPPING_KEY
The Constant RESOURCE_MAPPING_KEY.
|
static java.lang.String | RESOURCE_NAME
The Constant RESOURCE_NAME.
|
Constructor and Description |
---|
ConfigurationHandler() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response | all(java.lang.String storeId)
This method returns the available configuration identifiers by not specifying any identifier.
|
javax.ws.rs.core.Response | byConfigurationIds(java.lang.String storeId)
This method returns the configuration details by specified configuration identifiers.
|
javax.ws.rs.core.Response | findByConfigurationId(java.lang.String storeId, java.lang.String configId)
This method returns the configuration details by specified configuration identifier.
|
javax.ws.rs.core.Response | findByQuery(java.lang.String storeId, java.lang.String queryName)
Finds page designs by a query.
|
java.lang.String | getResourceName()
This method returns the name of the resource used primarily to determine the representation of the resource.
|
void | initializeQueryRegistry(OperationRegistry registry)
Initializes the registry mapping between the query names and the methods being called to handle requests.
|
protected javax.ws.rs.core.Response | renderGetConfiguration(java.lang.String template, java.lang.String accessProfile, java.lang.String responseFormat, java.lang.Object... values)
This method builds the response in appropriate format.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_ACCESS_PROFILE
public static final java.lang.String RESOURCE_NAME
public static final java.lang.String RESOURCE_MAPPING_KEY
public static final java.lang.String FIND_BY_ALL_XPATH
public static final java.lang.String FIND_BY_IDENTIFIER_XPATH
public java.lang.String getResourceName()
public void initializeQueryRegistry(OperationRegistry registry)
public javax.ws.rs.core.Response findByConfigurationId(java.lang.String storeId, java.lang.String configId)
public javax.ws.rs.core.Response all(java.lang.String storeId)
public javax.ws.rs.core.Response byConfigurationIds(java.lang.String storeId) throws RestException
public javax.ws.rs.core.Response findByQuery(java.lang.String storeId, java.lang.String queryName)
protected javax.ws.rs.core.Response renderGetConfiguration(java.lang.String template, java.lang.String accessProfile, java.lang.String responseFormat, java.lang.Object... values)