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

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

The newest version!
package poussecafe.doc.model.processstepdoc;

import java.util.List;
import poussecafe.doc.model.aggregatedoc.AggregateDocId;
import poussecafe.doc.model.moduledoc.ModuleDocId;
import poussecafe.doc.model.processstepdoc.ProcessStepDoc.Attributes;
import poussecafe.domain.AggregateRepository;

public class ProcessStepDocRepository
extends AggregateRepository {

    public List findByDomainProcess(ModuleDocId moduleDocId,
            String processName) {
        return wrap(dataAccess().findByDomainProcess(moduleDocId, processName));
    }

    @Override
    public ProcessStepDataAccess dataAccess() {
        return (ProcessStepDataAccess) super.dataAccess();
    }

    public List findConsuming(ModuleDocId moduleDocId,
            String eventName) {
        return wrap(dataAccess().findConsuming(moduleDocId, eventName));
    }

    public List findProducing(ModuleDocId moduleDocId,
            String eventName) {
        return wrap(dataAccess().findProducing(moduleDocId, eventName));
    }

    public List findByAggregateDocId(AggregateDocId aggregateDocId) {
        return wrap(dataAccess().findByAggregateDocId(aggregateDocId));
    }

    public List findByModule(ModuleDocId moduleDocId) {
        return wrap(dataAccess().findByModule(moduleDocId));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy