fullProfileDataPath = profileDataPath + claimValues[i];
Resource profileDataResource;
// try {
if (registry.resourceExists(fullProfileDataPath)) {
profileDataResource = registry.get(fullProfileDataPath);
profileData[i] = new PrivacyFieldDTO();
profileData[i].setFieldName(claimValues[i]);
if (profileDataResource.getProperty(SocialUtils.USER_PROFILE_FIELD_VISIBILITY) != null) {
profileData[i].setVisibilityValue((profileDataResource.getProperty
(SocialUtils.USER_PROFILE_FIELD_VISIBILITY)));
} else {
profileData[i].setVisibilityValue((SocialUtils.VISIBILITY_NONE));
}
} else {
profileData[i] = new PrivacyFieldDTO();
profileData[i].setFieldName(claimValues[i]);
profileData[i].setVisibilityValue(SocialUtils.VISIBILITY_NONE);
}
//}
//catch (RegistryException e) {