Class SectionsGatewayModule

java.lang.Object
app.portaki.module.sections.SectionsGatewayModule

@Component @PortakiModule("sections") public class SectionsGatewayModule extends Object
  • Constructor Details

    • SectionsGatewayModule

      public SectionsGatewayModule(org.springframework.jdbc.core.JdbcTemplate jdbc, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • listSections

      @PortakiQueryHandler(value="sections.list", scope="property:read") public Map<String,Object> listSections(Map<String,Object> params, app.portaki.sdk.gateway.GatewayModuleContext ctx)
    • saveSection

      @PortakiCommandHandler(value="sections.section.save", scope="host:property:write") public void saveSection(Map<String,Object> params, app.portaki.sdk.gateway.GatewayModuleContext ctx)
    • deleteSection

      @PortakiCommandHandler(value="sections.section.delete", scope="host:property:write") public void deleteSection(Map<String,Object> params, app.portaki.sdk.gateway.GatewayModuleContext ctx)
    • reorder

      @PortakiCommandHandler(value="sections.reorder", scope="host:property:write") public void reorder(Map<String,Object> params, app.portaki.sdk.gateway.GatewayModuleContext ctx)