Files
alfresco-community-repo/source/java/org/alfresco/repo/security/sync/ChainingUserRegistrySynchronizerStatus.java
Raluca Munteanu 8674e2bfc8 Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
125603 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
      125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-04-26 12:48:49 +00:00

79 lines
2.0 KiB
Java

package org.alfresco.repo.security.sync;
import java.util.Date;
/**
* Reports upon the status of the
* ChainingUserRegistrySynchronizer
* @author mrogers
*/
public interface ChainingUserRegistrySynchronizerStatus
{
/**
* Get the start date/time of the last synchronization
* @return the date/time or null
*/
Date getSyncStartTime();
/**
* Get the end date/time of the last synchronization
* @return the date/time or null
*/
Date getSyncEndTime();
/**
* The last error message or null if last sync completed without error
* @return the last error message or null
*/
String getLastErrorMessage();
/**
* Get the serverid
* @return the server id of the sever that last ran sync
*/
String getLastRunOnServer();
/**
* Get the synchronization status
* @param zoneId - zone id
* @return the status
*/
public String getSynchronizationStatus(String zoneId);
/**
* Get the date/time that the last user/person update completed
* @param zoneId String
* @return date or null if sync has never completed
*/
public Date getSynchronizationLastUserUpdateTime(String zoneId);
/**
* Get the date/time that the last group update completed
* @param zoneId String
* @return date or null if sync has never completed
*/
public Date getSynchronizationLastGroupUpdateTime(String zoneId);
/**
* Get the last error message from synchronizing this zone
* @param zoneId the zone
* @return the last error message or null if the last sync did not have an error
*/
public String getSynchronizationLastError(String zoneId);
/**
* Get the synchronization summary message for the specified zone
* @param zoneId the zone
* @return the summary or null
*/
public String getSynchronizationSummary(String zoneId);
/**
*
* @return String
*/
public String getSynchronizationStatus();
}