View Javadoc
1   package ca.uhn.fhir.jpa.dao.data;
2   
3   import ca.uhn.fhir.jpa.entity.TermConceptMapGroupElement;
4   import org.springframework.data.jpa.repository.JpaRepository;
5   import org.springframework.data.jpa.repository.Modifying;
6   import org.springframework.data.jpa.repository.Query;
7   import org.springframework.data.repository.query.Param;
8   
9   /*
10   * #%L
11   * HAPI FHIR JPA Server
12   * %%
13   * Copyright (C) 2014 - 2018 University Health Network
14   * %%
15   * Licensed under the Apache License, Version 2.0 (the "License");
16   * you may not use this file except in compliance with the License.
17   * You may obtain a copy of the License at
18   * 
19   *      http://www.apache.org/licenses/LICENSE-2.0
20   * 
21   * Unless required by applicable law or agreed to in writing, software
22   * distributed under the License is distributed on an "AS IS" BASIS,
23   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24   * See the License for the specific language governing permissions and
25   * limitations under the License.
26   * #L%
27   */
28  
29  public interface ITermConceptMapGroupElementDao extends JpaRepository<TermConceptMapGroupElement, Long> {
30  	@Query("DELETE FROM TermConceptMapGroupElement e WHERE e.myId = :pid")
31  	@Modifying
32  	void deleteTermConceptMapGroupElementById(@Param("pid") Long theId);
33  }