@Service @Transactional(readOnly=true) public class BoundaryService extends Object
| Constructor and Description |
|---|
BoundaryService(BoundaryRepository boundaryRepository) |
@Autowired public BoundaryService(BoundaryRepository boundaryRepository)
@Transactional public void updateBoundary(Boundary boundary)
public List<Boundary> getAllBoundariesOrderByBoundaryNumAsc(BoundaryType boundaryType)
public List<Boundary> getAllBoundariesByBoundaryTypeId(Long boundaryTypeId)
public Boundary getBoundaryByTypeAndNo(BoundaryType boundaryType, Long boundaryNum)
public List<Boundary> getParentBoundariesByBoundaryId(Long boundaryId)
public List<Boundary> getActiveBoundariesByBoundaryTypeId(Long boundaryTypeId)
public List<Boundary> getTopLevelBoundaryByHierarchyType(HierarchyType hierarchyType)
public List<Boundary> getActiveChildBoundariesByBoundaryId(Long boundaryId)
public List<Boundary> getChildBoundariesByBoundaryId(Long boundaryId)
public Boundary getActiveBoundaryByBndryNumAndTypeAndHierarchyTypeCode(Long bndryNum, String boundaryType, String hierarchyTypeCode)
public List<Boundary> getActiveBoundariesByBndryTypeNameAndHierarchyTypeName(String boundaryTypeName, String hierarchyTypeName)
public List<Boundary> getBoundariesByBndryTypeNameAndHierarchyTypeName(String boundaryTypeName, String hierarchyTypeName)
public Boundary getBoundaryByBndryTypeNameAndHierarchyTypeName(String boundaryTypeName, String hierarchyTypeName)
public List<Boundary> getBondariesByNameAndTypeOrderByBoundaryNumAsc(String boundaryName, Long boundaryTypeId)
public Boolean validateBoundary(BoundaryType boundaryType)
public List<Boundary> getBondariesByNameAndBndryTypeAndHierarchyType(String boundaryTypeName, String hierarchyTypeName, String name)
public List<Boundary> findActiveChildrenWithParent(Long parentBoundaryId)
public Long getBoundaryIdFromShapefile(Double latitude, Double longitude)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.