/** * * @param username * @return True if user exists exactly once, false otherwise */ public boolean checkUser(String username) { return userStorage.checkUser(username); }
@Override protected void update(String username) { storageApi.update(elementDescription); } }
@Override public boolean storeInvocableSEPAElement(InvocableStreamPipesEntity element) { return sesameStorage.storeInvocableSEPAElement(element); }
public SimilarStreamFinder(String pipelineId) { this.pipeline = StorageDispatcher.INSTANCE.getNoSqlStore().getPipelineStorageAPI().getPipeline(pipelineId); this.similarStreams = new ArrayList<>(); }
private SpDataStream getStream(String datasetId) { return StorageDispatcher .INSTANCE .getTripleStore() .getStorageAPI() .getEventStreamById(datasetId); }
/** * Own Elements * */ public void addOwnPipeline(String username, Pipeline pipeline) { if (!checkUser(username)) return; // User user = userStorage.getUser(username); // user.addOwnPipeline(pipeline); // userStorage.updateUser(user); StorageDispatcher.INSTANCE.getNoSqlStore().getPipelineStorageAPI().storePipeline(pipeline); }
protected void storeNotification(Notification message) { StorageDispatcher.INSTANCE.getNoSqlStore() .getNotificationStorageApi() .addNotification(message); }
@Override public StaticProperty getStaticPropertyById(String rdfId) { return sesameStorage.getStaticPropertyById(rdfId); }
public void deleteAdapterTemplates(String id) throws AdapterException { this.adapterTemplateStorage.deleteAdapterTemplate(id); }
@Override protected void update(String username) { storageApi.update(elementDescription); } }
public SimilarStreamFinder(String pipelineId) { this.pipeline = StorageDispatcher.INSTANCE.getNoSqlStore().getPipelineStorageAPI().getPipeline(pipelineId); this.similarStreams = new ArrayList<>(); }
private SpDataStream getStream(String datasetId) { return StorageDispatcher .INSTANCE .getTripleStore() .getStorageAPI() .getEventStreamById(datasetId); }
/** * Own Elements * */ public void addOwnPipeline(String username, Pipeline pipeline) { if (!checkUser(username)) return; // User user = userStorage.getUser(username); // user.addOwnPipeline(pipeline); // userStorage.updateUser(user); StorageDispatcher.INSTANCE.getNoSqlStore().getPipelineStorageAPI().storePipeline(pipeline); }
/** * * @param username * @return True if user exists exactly once, false otherwise */ public boolean checkUser(String username) { return userStorage.checkUser(username); }
@Override public boolean storeInvocableSEPAElement(InvocableStreamPipesEntity element) { return sesameStorage.storeInvocableSEPAElement(element); }
@Override public StaticProperty getStaticPropertyById(String rdfId) { return sesameStorage.getStaticPropertyById(rdfId); }
@Override protected void update(String username) { storageApi.update(elementDescription); }
@Override protected void update(String username) { storageApi.update(elementDescription); }
@Override protected void update(String username) { storageApi.update(elementDescription); }
@Override protected void update(String username) { storageApi.update(elementDescription); }