code: protected CmsAccessControlEntry internalCreateAce(ResultSet res, CmsUUID newId) throws SQLException {
  
          return new CmsAccessControlEntry(
              newId,
              new CmsUUID(res.getString(m_sqlManager.readQuery("C_ACCESS_PRINCIPAL_ID_0"))),
              res.getInt(m_sqlManager.readQuery("C_ACCESS_ACCESS_ALLOWED_0")),
              res.getInt(m_sqlManager.readQuery("C_ACCESS_ACCESS_DENIED_0")),
              res.getInt(m_sqlManager.readQuery("C_ACCESS_ACCESS_FLAGS_0")));
      }
docs: Internal helper method to create an access control entry from a database record.<p>
  
  @param res resultset of the current query
  @param newId the id of the new access control entry
  
  @return a new {@link CmsAccessControlEntry} initialized with the values from the current database record
  
  @throws SQLException if something goes wrong