刘光辉
5 小时以前 06f314545ac3514d7ce28939920866ae8188d31c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package jnpf.elnService;
 
import jnpf.elnEntity.runtime.ElnRecordForms;
import jnpf.elnEntity.runtime.ElnRecordVos;
 
/**
 * Applies authoritative source values through record concurrency, persistence,
 * recalculation, document-difference and audit handling.
 */
public interface ElnRecordSourceSyncService {
 
    ElnRecordVos.SourceSyncPreview preview(String recordId);
 
    ElnRecordVos.SourceSyncPreview preview(
            ElnRecordFillTicketService.FillTicketContext ticket);
 
    ElnRecordVos.SourceSynchronized synchronize(
            String recordId, ElnRecordForms.SourceSync command);
 
    ElnRecordVos.SourceSynchronized synchronize(
            ElnRecordFillTicketService.FillTicketContext ticket,
            ElnRecordForms.SourceSync command);
 
    default ElnRecordVos.SourceSynchronized pending(
            ElnRecordFillTicketService.FillTicketContext ticket) {
        return null;
    }
 
}