public List<Post> selectPostsAfterId(final Post.Type type,
                                        final long afterId,
                                        final int limit,
                                        final boolean withResolve) throws SQLException {
      return selectPostsAfterId(type != null ? EnumSet.of(type) : null, afterId, limit, withResolve);
   }
public List < Post > selectPostsAfterId ( final Post . Type type , final long afterId , final int limit , final boolean withResolve ) throws SQLException { return selectPostsAfterId ( type != null ? EnumSet . of ( type ) : null , afterId , limit , withResolve ) ; }
Selects posts after a specified id in ascending order.
@param type The post type. May be {@code null} for all types.
@param afterId Posts after this id will be selected..
@param limit The maximum number of posts returned.
@param withResolve Should associated users, etc be resolved?
@return The list of posts.
@throws SQLException on database error.