Examples of GlobalConfigurationPropertyData


Examples of org.mifosplatform.infrastructure.configuration.data.GlobalConfigurationPropertyData

    @Produces({ MediaType.APPLICATION_JSON })
    public String retrieveOne(@PathParam("configId") final Long configId, @Context final UriInfo uriInfo) {

        this.context.authenticatedUser().validateHasReadPermission(this.resourceNameForPermissions);

        final GlobalConfigurationPropertyData configurationData = this.readPlatformService.retrieveGlobalConfiguration(configId);

        final ApiRequestJsonSerializationSettings settings = this.apiRequestParameterHelper.process(uriInfo.getQueryParameters());
        return this.propertyDataJsonSerializer.serialize(settings, configurationData, this.RESPONSE_DATA_PARAMETERS);
    }
View Full Code Here

Examples of org.mifosplatform.infrastructure.configuration.data.GlobalConfigurationPropertyData

        this.context.authenticatedUser();

        final String sql = "SELECT c.id, c.name, c.enabled, c.value, c.description FROM "
            + "c_configuration c where c.id=? order by c.id";
        final GlobalConfigurationPropertyData globalConfiguration = this.jdbcTemplate.queryForObject(sql, this.rm, new Object[] {configId});

        return globalConfiguration;
    }
View Full Code Here

Examples of org.mifosplatform.infrastructure.configuration.data.GlobalConfigurationPropertyData

            final boolean enabled = rs.getBoolean("enabled");
            final Long value = rs.getLong("value");
            final String description = rs.getString("description");
            final Long id = rs.getLong("id");

            return new GlobalConfigurationPropertyData(name, enabled, value, id, description);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.