// read all claim url values and get the visibility values
for (int i = 0; i < claimValues.length; i++) {
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