@Service @Transactional(readOnly=true) public class PropertyCategoryService extends Object
| Constructor and Description |
|---|
PropertyCategoryService(PropertyCategoryRepository propertyCategoryRepository) |
| Modifier and Type | Method and Description |
|---|---|
PropertyCategory |
createPropertyCategory(PropertyCategory propertyCategory) |
List<PropertyCategory> |
findAll() |
List<PropertyCategory> |
findAllByPropertyTypeAndConnectionCategory(PropertyType propertyType,
ConnectionCategory connectionCategory) |
PropertyCategory |
findByPropertyTypeAndCategory(PropertyType propertyType,
ConnectionCategory connectionCategory) |
PropertyCategory |
findByPropertyTypeAndCategoryName(PropertyType propertyType,
String categoryType) |
PropertyCategory |
findOne(Long propertyCategoryId) |
PropertyCategory |
getAllCategoryTypesByPropertyTypeAndCategory(String propertyType,
String categoryType) |
void |
updatePropertyCategory(PropertyCategory propertyCategory) |
@Autowired public PropertyCategoryService(PropertyCategoryRepository propertyCategoryRepository)
public PropertyCategory findOne(Long propertyCategoryId)
@Transactional public PropertyCategory createPropertyCategory(PropertyCategory propertyCategory)
@Transactional public void updatePropertyCategory(PropertyCategory propertyCategory)
public PropertyCategory getAllCategoryTypesByPropertyTypeAndCategory(String propertyType, String categoryType)
public PropertyCategory findByPropertyTypeAndCategory(PropertyType propertyType, ConnectionCategory connectionCategory)
public PropertyCategory findByPropertyTypeAndCategoryName(PropertyType propertyType, String categoryType)
public List<PropertyCategory> findAll()
public List<PropertyCategory> findAllByPropertyTypeAndConnectionCategory(PropertyType propertyType, ConnectionCategory connectionCategory)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.