All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dspace.app.util.service.WebAppService Maven / Gradle / Ivy

The newest version!
/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.app.util.service;

import java.sql.SQLException;
import java.time.Instant;
import java.util.List;

import org.dspace.app.util.WebApp;
import org.dspace.core.Context;

/**
 * Service interface class for the WebApp object.
 * The implementation of this class is responsible for all business logic calls for the WebApp object and is
 * autowired by spring
 *
 * @author kevinvandevelde at atmire.com
 */
public interface WebAppService {

    public WebApp create(Context context, String appName, String url, Instant started, int isUI) throws SQLException;

    public List findAll(Context context) throws SQLException;

    public void delete(Context context, WebApp webApp) throws SQLException;

    /**
     * @return Return the list of running applications.
     */
    public List getApps();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy