getUserOwnedLinks
@Query(value = "SELECT l.* FROM " + LINKS_KEY + " AS l WHERE l." + OWNER_KEY + "=:" + USER_IDENTIFIER_KEY +
" AND dtype='" + LINK_KEY + "'", nativeQuery = true)
Method to execute the query to get the user's owned links
Return
Parameters
userId
: the identifier of the user