Ejemplo n.º 1
0
 /** Internal query to resolve the "rules" to-many relationship of Gesture. */
 public List<Rule> _queryGesture_Rules(long plugin_id) {
   synchronized (this) {
     if (gesture_RulesQuery == null) {
       QueryBuilder<Rule> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.Plugin_id.eq(null));
       gesture_RulesQuery = queryBuilder.build();
     }
   }
   Query<Rule> query = gesture_RulesQuery.forCurrentThread();
   query.setParameter(0, plugin_id);
   return query.list();
 }
Ejemplo n.º 2
0
 /** Internal query to resolve the "trips" to-many relationship of Route. */
 public List<Trip> _queryRoute_Trips(String routeId) {
   synchronized (this) {
     if (route_TripsQuery == null) {
       QueryBuilder<Trip> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.RouteId.eq(null));
       route_TripsQuery = queryBuilder.build();
     }
   }
   Query<Trip> query = route_TripsQuery.forCurrentThread();
   query.setParameter(0, routeId);
   return query.list();
 }
Ejemplo n.º 3
0
 /** Internal query to resolve the "commentList" to-many relationship of CatPost. */
 public List<Comment> _queryCatPost_CommentList(Long idCatPost) {
   synchronized (this) {
     if (catPost_CommentListQuery == null) {
       QueryBuilder<Comment> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.IdCatPost.eq(null));
       catPost_CommentListQuery = queryBuilder.build();
     }
   }
   Query<Comment> query = catPost_CommentListQuery.forCurrentThread();
   query.setParameter(0, idCatPost);
   return query.list();
 }
Ejemplo n.º 4
0
 /** Internal query to resolve the "firsatlarimListesi" to-many relationship of Firsat. */
 public List<Firsatlarim> _queryFirsat_FirsatlarimListesi(Long firsat_id) {
   synchronized (this) {
     if (firsat_FirsatlarimListesiQuery == null) {
       QueryBuilder<Firsatlarim> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.Firsat_id.eq(null));
       firsat_FirsatlarimListesiQuery = queryBuilder.build();
     }
   }
   Query<Firsatlarim> query = firsat_FirsatlarimListesiQuery.forCurrentThread();
   query.setParameter(0, firsat_id);
   return query.list();
 }
Ejemplo n.º 5
0
 /** Internal query to resolve the "lectureList" to-many relationship of History. */
 public List<Lecture> _queryHistory_LectureList(String goods_id) {
   synchronized (this) {
     if (history_LectureListQuery == null) {
       QueryBuilder<Lecture> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.Goods_id.eq(null));
       history_LectureListQuery = queryBuilder.build();
     }
   }
   Query<Lecture> query = history_LectureListQuery.forCurrentThread();
   query.setParameter(0, goods_id);
   return query.list();
 }
Ejemplo n.º 6
0
 /** Internal query to resolve the "locations" to-many relationship of Event. */
 public List<Location> _queryEvent_Locations(long event_id) {
   synchronized (this) {
     if (event_LocationsQuery == null) {
       QueryBuilder<Location> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.Event_id.eq(null));
       event_LocationsQuery = queryBuilder.build();
     }
   }
   Query<Location> query = event_LocationsQuery.forCurrentThread();
   query.setParameter(0, event_id);
   return query.list();
 }
Ejemplo n.º 7
0
 /** Internal query to resolve the "downloadInfo" to-many relationship of ThirdGameInfo. */
 public List<ThirdGameDownInfo> _queryThirdGameInfo_DownloadInfo(String gameId) {
   synchronized (this) {
     if (thirdGameInfo_DownloadInfoQuery == null) {
       QueryBuilder<ThirdGameDownInfo> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.GameId.eq(null));
       thirdGameInfo_DownloadInfoQuery = queryBuilder.build();
     }
   }
   Query<ThirdGameDownInfo> query = thirdGameInfo_DownloadInfoQuery.forCurrentThread();
   query.setParameter(0, gameId);
   return query.list();
 }
Ejemplo n.º 8
0
 /** Internal query to resolve the "feelings" to-many relationship of Location. */
 public List<Feeling> _queryLocation_Feelings(long locationId) {
   synchronized (this) {
     if (location_FeelingsQuery == null) {
       QueryBuilder<Feeling> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.LocationId.eq(null));
       queryBuilder.orderRaw("_id ASC");
       location_FeelingsQuery = queryBuilder.build();
     }
   }
   Query<Feeling> query = location_FeelingsQuery.forCurrentThread();
   query.setParameter(0, locationId);
   return query.list();
 }
Ejemplo n.º 9
0
 /** Internal query to resolve the "orders" to-many relationship of Customer. */
 public List<Order> _queryCustomer_Orders(long customerId) {
   synchronized (this) {
     if (customer_OrdersQuery == null) {
       QueryBuilder<Order> queryBuilder = queryBuilder();
       queryBuilder.where(Properties.CustomerId.eq(null));
       queryBuilder.orderRaw("T.'DATE' ASC");
       customer_OrdersQuery = queryBuilder.build();
     }
   }
   Query<Order> query = customer_OrdersQuery.forCurrentThread();
   query.setParameter(0, customerId);
   return query.list();
 }