public List<SharePointSocialUserProfileDocument> getUpdatedDocuments(
SharePointSocialCheckpoint checkpoint) throws SharepointException {
List<SharePointSocialUserProfileDocument> updatedDocuments =
new ArrayList<SharePointSocialUserProfileDocument>();
SharepointClientContext spContext = ctxt.getSpClientContext();
UserProfileChangeHelper userProfileChange =
new UserProfileChangeHelper(spContext);
try {
Map<String, ActionType> updatedProfiles =
userProfileChange.getChangedUserProfiles(checkpoint);
if (updatedProfiles != null && updatedProfiles.size() > 0) {
LOGGER.info("Number of Changed User Profiles = "
+ updatedProfiles.size());
for (String updatedUserProfile : updatedProfiles.keySet()) {
ActionType action = updatedProfiles.get(updatedUserProfile);