public DataModel getGroupsContentPermissionsModel() {
if (this.groupsContentPermissions.getWrappedData() == null) {
List groupsContentPermissionsList = this.storedFile.getGroupsContentPermissions();
List viewGroupsContentPermissionsList = new ArrayList(groupsContentPermissionsList.size());
for (Iterator it = groupsContentPermissionsList.iterator(); it.hasNext(); ) {
GroupContentPermissions perm = (GroupContentPermissions) it.next();
GroupContentPermissions viewPerm = new GroupContentPermissions(perm.getContent(), new ViewGroup(perm.getGroup()));
try {
BeanUtils.copyProperties(viewPerm, perm);
} catch (Exception e) {
throw new RuntimeException(e);
}