@Service @Transactional(readOnly=true) public class JudgmentService extends Object
| Constructor and Description |
|---|
JudgmentService(JudgmentRepository judgmentRepository) |
| Modifier and Type | Method and Description |
|---|---|
List<Judgment> |
findAll() |
Judgment |
findById(Long id) |
Judgment |
findByLCNumber(String lcNumber) |
List<JudgmentDocuments> |
getDocumentDetails(Judgment judgment,
org.springframework.web.multipart.MultipartFile[] files) |
List<JudgmentDocuments> |
getJudgmentDocList(Judgment judgment) |
Judgment |
persist(Judgment judgment,
org.springframework.web.multipart.MultipartFile[] files) |
void |
persistDocuments(List<JudgmentDocuments> documentDetailsList) |
void |
updateNextDate(Judgment judgment) |
@Autowired public JudgmentService(JudgmentRepository judgmentRepository)
@Transactional public Judgment persist(Judgment judgment, org.springframework.web.multipart.MultipartFile[] files) throws IOException, ParseException
IOExceptionParseExceptionpublic List<JudgmentDocuments> getJudgmentDocList(Judgment judgment)
public void updateNextDate(Judgment judgment)
public List<JudgmentDocuments> getDocumentDetails(Judgment judgment, org.springframework.web.multipart.MultipartFile[] files) throws IOException
IOExceptionpublic void persistDocuments(List<JudgmentDocuments> documentDetailsList)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.