@Service @Transactional(readOnly=true) public class PropertyTypeService extends Object
| Constructor and Description |
|---|
PropertyTypeService(PropertyTypeRepository propertyTypeRepository) |
| Modifier and Type | Method and Description |
|---|---|
PropertyType |
createPropertyType(PropertyType propertyType) |
List<PropertyType> |
findAll() |
List<PropertyType> |
findAllByNameLike(String name) |
PropertyType |
findBy(Long propertyTypeId) |
PropertyType |
findByCode(String code) |
PropertyType |
findByName(String name) |
List<PropertyType> |
getAllActivePropertyTypes() |
org.springframework.data.domain.Page<PropertyType> |
getListOfPropertyTypes(Integer pageNumber,
Integer pageSize) |
List<PropertyType> |
getPropertyTypeListForRest() |
PropertyType |
load(Long id) |
void |
updatePropertyType(PropertyType propertyType) |
@Autowired public PropertyTypeService(PropertyTypeRepository propertyTypeRepository)
public PropertyType findBy(Long propertyTypeId)
@Transactional public PropertyType createPropertyType(PropertyType propertyType)
@Transactional public void updatePropertyType(PropertyType propertyType)
public List<PropertyType> findAll()
public List<PropertyType> findAllByNameLike(String name)
public PropertyType findByName(String name)
public PropertyType load(Long id)
public org.springframework.data.domain.Page<PropertyType> getListOfPropertyTypes(Integer pageNumber, Integer pageSize)
public PropertyType findByCode(String code)
public List<PropertyType> getAllActivePropertyTypes()
public List<PropertyType> getPropertyTypeListForRest()
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.