2020-12-03 14:24:34 +01:00
|
|
|
package org.gcube.vremanagement.contextmanager;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import javax.enterprise.inject.Default;
|
|
|
|
|
|
|
|
import org.gcube.common.resources.gcore.Resource;
|
2020-12-23 10:42:07 +01:00
|
|
|
import org.gcube.vremanagement.contextmanager.model.collectors.CollectorsBackend;
|
2020-12-14 20:32:46 +01:00
|
|
|
import org.gcube.vremanagement.contextmanager.model.types.Context;
|
2020-12-03 14:24:34 +01:00
|
|
|
|
|
|
|
@Default
|
2020-12-23 10:42:07 +01:00
|
|
|
public class BackendCollectorTester implements CollectorsBackend {
|
2020-12-03 14:24:34 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public Resource find(String resourceId) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-12-14 20:32:46 +01:00
|
|
|
public void createContext(Context context, String parentContextId, List<String> resourceIds) {
|
2020-12-03 14:24:34 +01:00
|
|
|
// TODO Auto-generated method stub
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-12-14 20:32:46 +01:00
|
|
|
public boolean removeContext(Context context) {
|
2020-12-03 14:24:34 +01:00
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-12-14 20:32:46 +01:00
|
|
|
public boolean addResourceToContext(Context context, Resource resource) {
|
2020-12-03 14:24:34 +01:00
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-12-14 20:32:46 +01:00
|
|
|
public boolean removeResourceFromContext(Context context, Resource resource) {
|
2020-12-03 14:24:34 +01:00
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean updateResource(Resource resource) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|