##### Coverage Report - com.ctrip.framework.apollo.portal.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.portal.repository;
2 |  |
3 |  |
     import com.ctrip.framework.apollo.common.entity.AppNamespace;
4 |  |
5 |  |
     import org.springframework.data.repository.PagingAndSortingRepository;
6 |  |
7 |  |
     import java.util.List;
8 |  |
9 |  |
     public interface AppNamespaceRepository extends PagingAndSortingRepository<AppNamespace, Long>{
10 |  |
11 |  |
       AppNamespace findByAppIdAndName(String appId, String namespaceName);
12 |  |
13 |  |
       AppNamespace findByName(String namespaceName);
14 |  |
15 |  |
       List<AppNamespace> findByNameNot(String namespaceName);
16 |  |
17 |  |
     }