public List<DocumentModel> getCurrentPage() {
if (relationships == null) {
fillRelationshipsForCurrentUser();
}
if (!hasError()) {
relationshipPage = new DocumentModelListImpl();
resultsCount = relationships.size();
// post-filter the results "by hand" to handle pagination
long pageSize = getMinMaxPageSize();
if (pageSize == 0) {
for (String relationship : relationships) {