Package es.caib.seycon.ng.sync.intf
Interface AuthoritativeIdentitySource2
-
public interface AuthoritativeIdentitySource2Enables authoritative data sources- Author:
- Soffid
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<AuthoritativeChange>getChanges(String lastChange)Gets the pending changesStringgetNextChange()Commits a change.booleanhasMoreData()Commits a change.
-
-
-
Method Detail
-
getChanges
Collection<AuthoritativeChange> getChanges(String lastChange) throws InternalErrorException
Gets the pending changes- Returns:
- a list of changes to apply
- Throws:
InternalErrorException
-
hasMoreData
boolean hasMoreData() throws InternalErrorExceptionCommits a change. It shouldn't be returned on getChanges from now on.- Parameters:
id- change identifier- Throws:
InternalErrorException
-
getNextChange
String getNextChange() throws InternalErrorException
Commits a change. It shouldn't be returned on getChanges from now on.- Parameters:
id- change identifier- Throws:
InternalErrorException
-
-