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:
@@ -79,4 +79,9 @@ public final class DummyRepositoryInformation implements RepositoryInformation {
|
||||
public CrudMethods getCrudMethods() {
|
||||
return new DefaultCrudMethods(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPagingRepository() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user