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

poussecafe.doc.model.processstepdoc.ProcessStepDocRepository Maven / Gradle / Ivy

There is a newer version: 0.29.0
Show newest version
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));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy