poussecafe.doc.model.processstepdoc.ProcessStepDocRepository Maven / Gradle / Ivy
package poussecafe.doc.model.processstepdoc;
import java.util.List;
import poussecafe.doc.model.boundedcontextdoc.BoundedContextDocId;
import poussecafe.doc.model.processstepdoc.ProcessStepDoc.Attributes;
import poussecafe.domain.Repository;
public class ProcessStepDocRepository extends Repository {
public List findByDomainProcess(BoundedContextDocId boundedContextDocId,
String processName) {
return wrap(dataAccess().findByDomainProcess(boundedContextDocId, processName));
}
@Override
public ProcessStepDataAccess dataAccess() {
return (ProcessStepDataAccess) super.dataAccess();
}
public List findConsuming(BoundedContextDocId boundedContextDocId,
String eventName) {
return wrap(dataAccess().findConsuming(boundedContextDocId, eventName));
}
public List findProducing(BoundedContextDocId boundedContextDocId,
String eventName) {
return wrap(dataAccess().findProducing(boundedContextDocId, eventName));
}
}