
org.dspace.app.ldn.dao.NotifyServiceInboundPatternDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
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.ldn.dao;
import java.sql.SQLException;
import java.util.List;
import org.dspace.app.ldn.NotifyServiceEntity;
import org.dspace.app.ldn.NotifyServiceInboundPattern;
import org.dspace.core.Context;
import org.dspace.core.GenericDAO;
/**
* This is the Data Access Object for the {@link NotifyServiceInboundPattern} object
*
* @author Mohamed Eskander (mohamed.eskander at 4science.com)
*/
public interface NotifyServiceInboundPatternDao extends GenericDAO {
/**
* find all notifyServiceInboundPatterns matched with
* the provided notifyServiceEntity and pattern
*
* @param context the context
* @param notifyServiceEntity the notifyServiceEntity
* @param pattern the pattern
* @return all notifyServiceInboundPatterns matched with
* the provided notifyServiceEntity and pattern
* @throws SQLException if database error
*/
public NotifyServiceInboundPattern findByServiceAndPattern(Context context,
NotifyServiceEntity notifyServiceEntity,
String pattern) throws SQLException;
/**
* find all automatic notifyServiceInboundPatterns
*
* @param context the context
* @return all automatic notifyServiceInboundPatterns
* @throws SQLException if database error
*/
List findAutomaticPatterns(Context context) throws SQLException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy