##### Coverage Report - com.ctrip.framework.apollo.biz.repository.AppNamespaceRepository

Classes in this File | Line Coverage | Branch Coverage | Complexity
AppNamespaceRepository |
N/A | N/A
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.framework.apollo.biz.repository;
2 |  |
3 |  |
     import org.springframework.data.repository.PagingAndSortingRepository;
4 |  |
5 |  |
     import com.ctrip.framework.apollo.common.entity.AppNamespace;
6 |  |
7 |  |
     import java.util.List;
8 |  |
9 |  |
10 |  |
     public interface AppNamespaceRepository extends PagingAndSortingRepository<AppNamespace, Long>{
11 |  |
12 |  |
       AppNamespace findByAppIdAndName(String appId, String namespaceName);
13 |  |
14 |  |
       AppNamespace findByNameAndIsPublicTrue(String namespaceName);
15 |  |
16 |  |
       List<AppNamespace> findByAppIdAndIsPublic(String appId, boolean isPublic);
17 |  |
18 |  |
     }