Class QueryPeer


public class QueryPeer extends BaseQueryPeer
Artifactizable(Query) The skeleton for this class was autogenerated by Torque on: [Sun Nov 14 20:29:29 KST 2021] This class provides static wrappers for the peer implementation classes. This class will only be generated as long as it does not already exist in the output directory.
  • Constructor Details

    • QueryPeer

      public QueryPeer()
      새로운 QueryPeer 인스턴스를 생성한다.
  • Method Details

    • getIds

      public static List<Long> getIds(Criteria crit) throws TorqueException
      id list 를 구한다.
      Parameters:
      crit - 조회 조건
      Returns:
      id list
      Throws:
      TorqueException - 조회 중 오류가 발생한 경우
    • getQueryId

      public static Long getQueryId(Module module, MITList mitList) throws TorqueException
      gets the active query saved under the given module and mitList
      Parameters:
      module - a Module can be null
      mitList - can not be null
      Returns:
      query id
      Throws:
      TorqueException - if an error occurs
    • getQuery

      public static Query getQuery(String name, Module module, Scope scope) throws TorqueException
      이름과 scope 로 Query 를 구한다. 2 개이상 있으면 Exception 을 던진다. 없으면 null 을 구한다. ScopeEnum.PersonalScope.getId() 는 지원하지 않는다.
      Parameters:
      name -
      module -
      scope -
      Returns:
      query or null
      Throws:
      TorqueException - if multiple exists