@Service @Transactional(readOnly=true) public class DocumentTypeService extends Object
| Constructor and Description |
|---|
DocumentTypeService(LicenseDocumentTypeRepository licenseDocumentTypeRepository) |
| Modifier and Type | Method and Description |
|---|---|
LicenseDocumentType |
create(LicenseDocumentType documenttype) |
List<LicenseDocumentType> |
findAll() |
LicenseDocumentType |
getDocumentTypeById(Long id) |
List<LicenseDocumentType> |
getDocumentTypesByApplicationType(ApplicationType applicationType) |
List<LicenseDocumentType> |
search(String name,
ApplicationType applicationType) |
LicenseDocumentType |
update(LicenseDocumentType documenttype) |
@Autowired public DocumentTypeService(LicenseDocumentTypeRepository licenseDocumentTypeRepository)
@Transactional public LicenseDocumentType create(LicenseDocumentType documenttype)
public LicenseDocumentType getDocumentTypeById(Long id)
@Transactional public LicenseDocumentType update(LicenseDocumentType documenttype)
public List<LicenseDocumentType> findAll()
public List<LicenseDocumentType> getDocumentTypesByApplicationType(ApplicationType applicationType)
public List<LicenseDocumentType> search(String name, ApplicationType applicationType)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.