List<RestrictedFieldWithLock> results = new ArrayList<RestrictedFieldWithLock>();
String pdef_dept = ConfigurationManager.getProperty(CrisConstants.CFG_MODULE, "researcherpage.pdef.orgunit");
for (RPProperty property : this.getDynamicField().getAnagrafica4view()
.get(pdef_dept))
{
OUPointer pointer = (OUPointer) property.getValue();
RestrictedFieldWithLock result = new RestrictedFieldWithLock();
result.setValue(pointer.getObject().getDisplayValue());
result.setVisibility(property.getVisibility());
result.setLock(property.getLockDef());
result.setAuthority(pointer.getObject().getCrisID());
results.add(result);
}
return results;
}