FileItem fileItem = rootDomainObject.readFileItemByOID(fileItemId);
FileItem fileItem = (FileItem) rootDomainObject.readFileByOID(fileItemId);
    public ActionForward prepareEditItemFilePermissions(ActionMapping mapping, ActionForm form,	    HttpServletRequest request, HttpServletResponse response) throws FenixActionException,	    FenixFilterException, FenixServiceException {	DynaActionForm editItemFilePermissionsForm = (DynaActionForm) form;	Integer fileItemId = getFileItemId(request);	Integer itemId = getItemCode(request);        ISiteComponent itemsComponent = new InfoSiteItems();        readSiteView(request, itemsComponent, null, itemId, null);	FileItem fileItem = rootDomainObject.readFileItemByOID(fileItemId);        editItemFilePermissionsForm.set("fileItemId", fileItem.getIdInternal());        editItemFilePermissionsForm.set("itemCode", itemId);        editItemFilePermissionsForm.set("permittedGroupType", fileItem.getFileItemPermittedGroupType()                .toString());        request.setAttribute("fileItem", fileItem);        return mapping.findForward("editItemFilePermissions");    }