45 lines
877 B
Java
45 lines
877 B
Java
/*
|
|
*
|
|
*/
|
|
package io.kumare.iqr.mod.visma;
|
|
|
|
// java
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
// base
|
|
import io.kumare.lib.base.server.spring.store.jpa.EntityDescriptor;
|
|
// app
|
|
import io.kumare.iqr.app.module.AppModuleController;
|
|
|
|
/**
|
|
* No local entities/stores — the Visma endpoints are stateless passthroughs
|
|
* to the adapter, so this controller has nothing to describe.
|
|
*
|
|
* @author afatecha
|
|
*/
|
|
public class VismaController extends AppModuleController {
|
|
|
|
// ::: api
|
|
//
|
|
@Override
|
|
public boolean hasStore(String name) {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public EntityDescriptor getEntityDescriptor(Class entityClass) {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public EntityDescriptor getEntityDescriptor(String name) {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public List<EntityDescriptor> getEntityDescriptors() {
|
|
return Collections.emptyList();
|
|
}
|
|
|
|
}
|