/** * Remove a url. * @param parid The resource identifier (null for root entry). * @param url The url. */ public IFuture<Void> removeURL(IResourceIdentifier parid, @CheckNotNull URL url);
if(intermediate && cnn.intermediate() || (!intermediate && !cnn.intermediate()))
if(intermediate && cnn.intermediate() || (!intermediate && !cnn.intermediate()))
/** * Add a top level url. A top level url will * be available for all subordinated resources. * @param url The url. */ public IFuture<Void> addTopLevelURL(@CheckNotNull URL url);
/** * Send an email. * @param email The email. * @param account The email account. */ public IFuture<Void> sendEmail(@CheckNotNull Email email, EmailAccount account);
/** * Add a new url as resource identifier. * @param parid The resource identifier (null for root entry). * @param url The url. */ public IFuture<IResourceIdentifier> addURL(IResourceIdentifier parid, @CheckNotNull URL url);
/** * Add an Library Service listener. * The listener is registered for changes in the loaded library states. * @param listener The listener to be added. */ public IFuture<Void> addLibraryServiceListener(@CheckNotNull ILibraryServiceListener listener);
/** * Get the resource identifier for an url. * @param url The url. * @return The resource identifier. */ public IFuture<IResourceIdentifier> getResourceIdentifier(@CheckNotNull URL url);
/** * Remove a resource identifier. * @param parid The optional parent rid. * @param url The resource identifier. */ public IFuture<Void> removeResourceIdentifier(IResourceIdentifier parid, @CheckNotNull IResourceIdentifier rid);
/** * Add a top level url. A top level url will * be available for all subordinated resources. * @param url The url. */ public IFuture<Void> addTopLevelURL(@CheckNotNull URL url);
/** * Remove a top level url. A top level url will * be available for all subordinated resources. * @param url The url. * * note: top level url removal will only take * effect after restart of the platform. */ public IFuture<Void> removeTopLevelURL(@CheckNotNull URL url);
/** * Execute a command line command and * get back the results. * @param command The command. * @return The result of the command. */ public IFuture<String> executeCommand(@CheckNotNull String command, @CheckNotNull Tuple2<String, Integer> session); }
/** * Add a schedule job. * @param job The cron job. */ // @Timeout(Timeout.NONE) public <T> ISubscriptionIntermediateFuture<T> addJob(@CheckNotNull CronJob<T> job);
/** * Send an email. * @param email The email. * @param account The email account. */ public IFuture<Void> sendEmail(@CheckNotNull Email email, EmailAccount account);
/** * Execute a command line command and * get back the results. * @param command The command. * @return The result of the command. */ public IFuture<String> executeCommand(@CheckNotNull String command, @CheckNotNull Tuple2<String, Integer> session); }
/** * Get the resource identifier for an url. * @param url The url. * @return The resource identifier. */ public IFuture<IResourceIdentifier> getResourceIdentifier(@CheckNotNull URL url);
/** * Remove a resource identifier. * @param parid The optional parent rid. * @param url The resource identifier. */ public IFuture<Void> removeResourceIdentifier(IResourceIdentifier parid, @CheckNotNull IResourceIdentifier rid);
/** * Remove an Library Service listener. * @param listener The listener to be removed. */ public IFuture<Void> removeLibraryServiceListener(@CheckNotNull ILibraryServiceListener listener);
/** * Remove a url. * @param parid The resource identifier (null for root entry). * @param url The url. */ public IFuture<Void> removeURL(IResourceIdentifier parid, @CheckNotNull URL url);
/** * Add an Library Service listener. * The listener is registered for changes in the loaded library states. * @param listener The listener to be added. */ public IFuture<Void> addLibraryServiceListener(@CheckNotNull ILibraryServiceListener listener);