/** * @return the list of Partners who belong to this UserDatabase */ @JsonProperty @JsonView(DTOViews.Schema.class) public List<PartnerDTO> getPartners() { return partners; }
@JsonProperty @JsonView(DTOViews.Schema.class) public LocationTypeDTO getLocationType() { return locationType; }
/** * @return this UserDatabase's id */ @Override @JsonProperty @JsonView(DTOViews.List.class) public int getId() { return (Integer) get("id"); }
/** * @return true if the client receiving the DTO is authorized to create data * for all Partners in this UserDatabase */ @JsonProperty @JsonView(DTOViews.Schema.class) public boolean isCreateAllAllowed() { return get("createAllAllowed", false); }
/** * @return true if the client receiving the DTO is authorized to delete data * for all Partners in this UserDatabase */ @JsonProperty @JsonView(DTOViews.Schema.class) public boolean isDeleteAllAllowed() { return get("deleteAllAllowed", false); }
@JsonProperty @JsonView(DTOViews.Schema.class) public String getDescription() { return get("description"); }
@JsonProperty @JsonView(DTOViews.Schema.class) public LocalDate getFromDate() { return get(START_DATE_PROPERTY); }
/** * @return this Activity's category */ @JsonProperty @JsonView(DTOViews.Schema.class) public String getCategory() { return get(ActivityDTO.CATEGORY_PROPERTY); }
/** * @return the Indicator's name */ @Override @JsonProperty @JsonView(DTOViews.Schema.class) public String getName() { return get(NAME_PROPERTY); }
/** * @return the Indicator's units */ @JsonProperty @JsonView(DTOViews.Schema.class) public String getUnits() { return get(UNITS_PROPERTY); }
@JsonProperty @JsonView(DTOViews.Schema.class) public String getExpression() { return get(EXPRESSION_PROPERTY); }
@JsonProperty("code") @JsonView(DTOViews.Schema.class) public String getNameInExpression() { return get(CODE_PROPERTY); }
@JsonProperty @JsonView(DTOViews.Schema.class) public Boolean getCalculatedAutomatically() { return get("calculatedAutomatically"); }
@Override @JsonProperty @JsonView(DTOViews.Schema.class) public int getId() { return (Integer) get(ID_PROPERTY); }
@JsonProperty @JsonView(DTOViews.Schema.class) public boolean getClassicView() { return get(CLASSIC_VIEW_PROPERTY); }
@JsonProperty @JsonView(DTOViews.Schema.class) public boolean isMandatory() { return get(MANDATORY_PROPERTY, false); }
@GET @Produces(MediaType.APPLICATION_JSON) @Path("hakija/{hakijaOid}") @JsonView({ JsonViews.Basic.class }) @Secured({ READ, UPDATE, CRUD }) public List<ValintakoeOsallistuminen> haku(@PathParam("hakijaOid") String hakijaOid) { return tulosService.haeValintakoeOsallistumiset(hakijaOid); }
@GET @Path("{valintatapajonoOid}/{hakemusOid}") @Produces(MediaType.APPLICATION_JSON) @JsonView({JsonViews.Basic.class}) @Secured({READ, UPDATE, CRUD}) public List<JonosijaHistoria> listJonosijaHistoria(@PathParam("valintatapajonoOid") String valintatapajonoOid, @PathParam("hakemusOid") String hakemusOid) { return tulosService.haeJonosijaHistoria(valintatapajonoOid, hakemusOid); }
@GET @Path("{hakukohdeoid}/valinnanvaihe") @Produces(MediaType.APPLICATION_JSON) @JsonView({JsonViews.Basic.class}) @Secured({READ, UPDATE, CRUD}) public List<ValinnanvaiheDTO> hakukohde(@PathParam("hakukohdeoid") String hakukohdeoid) { return tulosService.haeValinnanvaiheetHakukohteelle(hakukohdeoid); } }
@GET @Produces(MediaType.APPLICATION_JSON) @Path("hakutoive/{hakukohdeOid}") @JsonView({ JsonViews.Basic.class }) @Secured({ READ, UPDATE, CRUD }) public List<ValintakoeOsallistuminen> hakuByHakutoive(@PathParam("hakukohdeOid") String hakukohdeOid) { return tulosService.haeValintakoeOsallistumisetByHakutoive(hakukohdeOid); }