DATACMNS-426 - RepositoryMetadata now has an isPagingRepository().

Moved getCrudMethods() to RepositoryMetadata to be able to add a isPagingRepository() to the interface as well. Changed DefaultCrudMethods to work with a RepositoryMetadata instead of RepositoryInformation.

DefaultRepositoryInformation now completely delegates to the ResourceMetadata given and not extend it to avoid initialization order issues.
This commit is contained in:
Oliver Gierke
2014-01-20 16:43:25 +01:00
parent 059d398480
commit 0f38612dab
6 changed files with 112 additions and 49 deletions

View File

@@ -79,4 +79,9 @@ public final class DummyRepositoryInformation implements RepositoryInformation {
public CrudMethods getCrudMethods() {
return new DefaultCrudMethods(this);
}
@Override
public boolean isPagingRepository() {
return false;
}
}