package Ġcom . thought works . arch guard . report . infrastructure Ċ Ċ import Ġcom . thought works . arch guard . report . domain . container . Container Demand Ċ import Ġcom . thought works . arch guard . report . domain . container . Container Resource Ċ import Ġcom . thought works . arch guard . report . domain . container . Container Service DO Ċ import Ġorg . j db i . v 3 . sq lo bject . custom izer . Bind List Ċ import Ġorg . j db i . v 3 . sq lo bject . statement . Sql Query Ċ Ċ interface ĠContainer Service Dao Ġ{ ĊĠĠĠ Ġ@ Sql Query ( ĊĠĠĠĠĠĠĠ Ġ" select Ġsource _ package Ġas Ġsource Package , Ġsource _ class Ġas Ġsource Class , Ġsource _ method Ġas Ġsource Method ," Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" Ġtarget _ url Ġas Ġtarget Url , Ġtarget _ http _ method Ġas Ġtarget HttpMethod , Ġsystem _ id Ġas Ġsystem Id " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" Ġfrom Ġcontainer _ demand Ġwhere Ġsystem _ id Ġ= Ġ: system Id " ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun Ġfind Demand By System Id ( system Id : ĠLong ): ĠList < Container Demand > ĊĊĠĠĠ Ġ@ Sql Query ( ĊĠĠĠĠĠĠĠ Ġ" select Ġpackage _ name Ġas ĠpackageName , Ġclass _ name Ġas ĠclassName , Ġmethod _ name Ġas ĠmethodName ," Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" Ġsource _ url Ġas Ġsource Url , Ġsource _ http _ method Ġas Ġsource HttpMethod , Ġsystem _ id Ġas Ġsystem Id " Ġ+ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" Ġfrom Ġcontainer _ resource Ġwhere Ġsystem _ id Ġ= Ġ: system Id " ĊĠĠĠ Ġ) ĊĠĠĠ Ġfun Ġfind Resource By System Id ( system Id : ĠLong ): ĠList < Container Resource > ĊĊĠĠĠ Ġ@ Sql Query (" select Ġid , Ġsystem _ name Ġas Ġsystem Name , Ġlanguage Ġfrom Ġsystem _ info ") ĊĠĠĠ Ġfun ĠfindAll System Id Name (): ĠList < Container Service DO > ĊĊĠĠĠ Ġ@ Sql Query (" select Ġid , Ġsystem _ name Ġas Ġsystem Name , Ġlanguage Ġfrom Ġsystem _ info Ġwhere Ġid Ġin Ġ(< ids >) ") ĊĠĠĠ Ġfun Ġfind Systems (@ Bind List (" ids ") Ġids : ĠList < String >): ĠList < Container Service DO > Ċ } Ċ