@Service @Transactional(readOnly=true) public class BoundaryTypeService extends Object
| Constructor and Description |
|---|
BoundaryTypeService(BoundaryTypeRepository boundaryTypeRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
createBoundaryType(BoundaryType boundaryType) |
List<BoundaryType> |
getAllBoundarTypesByHierarchyTypeId(Long hierarchyTypeId) |
List<BoundaryType> |
getBoundaryTypeByHierarchyTypeName(String name) |
BoundaryType |
getBoundaryTypeByHierarchyTypeNameAndLevel(String name,
Long hierarchyLevel) |
List<BoundaryType> |
getBoundaryTypeByHierarchyTypeNames(Set<String> names) |
BoundaryType |
getBoundaryTypeById(Long id) |
BoundaryType |
getBoundaryTypeByIdAndHierarchyType(Long id,
Long hierarchyTypeId) |
BoundaryType |
getBoundaryTypeByName(String name) |
BoundaryType |
getBoundaryTypeByNameAndHierarchyType(String name,
HierarchyType hierarchyType) |
BoundaryType |
getBoundaryTypeByNameAndHierarchyTypeName(String boundaryTypename,
String hierarchyTypeName) |
BoundaryType |
getBoundaryTypeByParent(Long parentId) |
BoundaryType |
setHierarchyLevel(BoundaryType boundaryType,
String mode) |
void |
updateBoundaryType(BoundaryType boundaryType) |
@Autowired public BoundaryTypeService(BoundaryTypeRepository boundaryTypeRepository)
@Transactional public void createBoundaryType(BoundaryType boundaryType)
@Transactional public void updateBoundaryType(BoundaryType boundaryType)
public BoundaryType getBoundaryTypeById(Long id)
public BoundaryType getBoundaryTypeByName(String name)
public BoundaryType getBoundaryTypeByHierarchyTypeNameAndLevel(String name, Long hierarchyLevel)
public List<BoundaryType> getAllBoundarTypesByHierarchyTypeId(Long hierarchyTypeId)
public BoundaryType getBoundaryTypeByParent(Long parentId)
public BoundaryType getBoundaryTypeByIdAndHierarchyType(Long id, Long hierarchyTypeId)
public BoundaryType setHierarchyLevel(BoundaryType boundaryType, String mode)
public BoundaryType getBoundaryTypeByNameAndHierarchyType(String name, HierarchyType hierarchyType)
public BoundaryType getBoundaryTypeByNameAndHierarchyTypeName(String boundaryTypename, String hierarchyTypeName)
public List<BoundaryType> getBoundaryTypeByHierarchyTypeName(String name)
public List<BoundaryType> getBoundaryTypeByHierarchyTypeNames(Set<String> names)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.