|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.admin.resources.controller.ConfigurationKeysResource
@Path(value="") @RolesAllowed(value="view") public class ConfigurationKeysResource
Provides access to configuration keys to select a configuration.
Constructor Summary | |
---|---|
ConfigurationKeysResource() |
Method Summary | |
---|---|
ConfigurationKeys |
getAsHtml() Returns the configuration keys for the configured application. |
String |
getAsText() Returns the configuration keys for the configured application. |
ConfigurationKeys |
getAsXml() Returns the configuration keys for the configured application. |
javax.ws.rs.core.Response |
postAsHtml(String configurationKey) Creates a new, empty configuration instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationKeysResource()
Method Detail |
---|
@GET @Path(value="/configurations") @Produces(value="text/plain") public String getAsText()
@GET @Path(value="/configurations") @Produces(value="text/html") public ConfigurationKeys getAsHtml()
@GET @Path(value="/configurations") @Produces(value={"text/xml","application/xml"}) public ConfigurationKeys getAsXml()
@POST @Path(value="/configurations") @Produces(value="text/html") @RolesAllowed(value="create-config") public javax.ws.rs.core.Response postAsHtml(@FormParam(value="configuration") String configurationKey)
configurationKey
- the key to the configuration to create.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |