@Service @Transactional(readOnly=true) public class ConnectionCategoryService extends Object
| Constructor and Description |
|---|
ConnectionCategoryService(ConnectionCategoryRepository connectionCategoryRepository) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionCategory |
createConnectionCategory(ConnectionCategory connectionCategory) |
List<ConnectionCategory> |
findAll() |
List<ConnectionCategory> |
findAllByNameLike(String name) |
ConnectionCategory |
findByCode(String code) |
ConnectionCategory |
findByCodeIgnoreCase(String code) |
ConnectionCategory |
findByName(String name) |
ConnectionCategory |
findByNameAndCode(String name,
String code) |
ConnectionCategory |
findByNameIgnoreCase(String name) |
ConnectionCategory |
findOne(Long connectionCategoryId) |
List<ConnectionCategory> |
getAllActiveCategoryTypesByPropertyType(Long propertyType,
String connectionType) |
List<ConnectionCategory> |
getAllActiveConnectionCategory() |
List<ConnectionCategory> |
getConnectionCategoryListForRest() |
org.springframework.data.domain.Page<ConnectionCategory> |
getListOfConnectionCategory(Integer pageNumber,
Integer pageSize) |
void |
updateConnectionCategory(ConnectionCategory connectionCategory) |
@Autowired public ConnectionCategoryService(ConnectionCategoryRepository connectionCategoryRepository)
public ConnectionCategory findOne(Long connectionCategoryId)
@Transactional public ConnectionCategory createConnectionCategory(ConnectionCategory connectionCategory)
@Transactional public void updateConnectionCategory(ConnectionCategory connectionCategory)
public List<ConnectionCategory> findAll()
public ConnectionCategory findByNameIgnoreCase(String name)
public ConnectionCategory findByCodeIgnoreCase(String code)
public List<ConnectionCategory> findAllByNameLike(String name)
public ConnectionCategory findByName(String name)
public ConnectionCategory findByNameAndCode(String name, String code)
public org.springframework.data.domain.Page<ConnectionCategory> getListOfConnectionCategory(Integer pageNumber, Integer pageSize)
public ConnectionCategory findByCode(String code)
public List<ConnectionCategory> getAllActiveConnectionCategory()
public List<ConnectionCategory> getAllActiveCategoryTypesByPropertyType(Long propertyType, String connectionType)
public List<ConnectionCategory> getConnectionCategoryListForRest()
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.