code: protected CmsAccessControlEntry getImportAccessControlEntry(
          CmsResource res,
          String id,
          String allowed,
          String denied,
          String flags) {
  
          return new CmsAccessControlEntry(
              res.getResourceId(),
              new CmsUUID(id),
              Integer.parseInt(allowed),
              Integer.parseInt(denied),
              Integer.parseInt(flags));
      }
docs: Creates a new access control entry and stores it for later write out.
  
  @param res the resource
  @param id the id of the principal
  @param allowed the allowed permissions
  @param denied the denied permissions
  @param flags the flags
  
  @return the created ACE