GVKun编程网logo

ims.clinical.vo.domain.SystemReviewVoAssembler的实例源码(isempty源码)

13

最近很多小伙伴都在问ims.clinical.vo.domain.SystemReviewVoAssembler的实例源码和isempty源码这两个问题,那么本篇文章就来给大家详细解答一下,同时本文还

最近很多小伙伴都在问ims.clinical.vo.domain.SystemReviewVoAssembler的实例源码isempty源码这两个问题,那么本篇文章就来给大家详细解答一下,同时本文还将给你拓展ims.admin.vo.domain.ServiceVoLiteVoAssembler的实例源码、ims.admin.vo.domain.SystemJobVoAssembler的实例源码、ims.admin.vo.domain.SystemLogVoAssembler的实例源码、ims.admin.vo.domain.SystemReportVoAssembler的实例源码等相关知识,下面开始了哦!

本文目录一览:

ims.clinical.vo.domain.SystemReviewVoAssembler的实例源码(isempty源码)

ims.clinical.vo.domain.SystemReviewVoAssembler的实例源码(isempty源码)

项目:AvoinApotti    文件:SystemsReviewImpl.java   
/**
* getSystemReview for a clinical contact.
*/
public ims.clinical.vo.SystemReviewVo getSystemReview(ims.core.vo.ClinicalContactShortVo voClinicalContactShort)
{
    if(voClinicalContactShort == null || voClinicalContactShort.getID_ClinicalContact() == null)
        throw new DomainRuntimeException("Contact not provided for get call. ");

    DomainFactory factory = getDomainFactory();
    List sysReviewList =   factory.find(" from SystemReview sr where sr.clinicalContact.id = :idCC )",new String[]{"idCC" },new Object[]{ voClinicalContactShort.getID_ClinicalContact()});

    SystemReviewVoCollection voColl = SystemReviewVoAssembler.createSystemReviewVoCollectionFromSystemReview(sysReviewList);

    if(voColl.size()>0)
        return voColl.get(0);
    else 
        return null;

}
项目:openMAXims    文件:SystemsReviewImpl.java   
/**
* getSystemReview for a clinical contact.
*/
public ims.clinical.vo.SystemReviewVo getSystemReview(ims.core.vo.ClinicalContactShortVo voClinicalContactShort)
{
    if(voClinicalContactShort == null || voClinicalContactShort.getID_ClinicalContact() == null)
        throw new DomainRuntimeException("Contact not provided for get call. ");

    DomainFactory factory = getDomainFactory();
    List sysReviewList =   factory.find(" from SystemReview sr where sr.clinicalContact.id = :idCC )",new Object[]{ voClinicalContactShort.getID_ClinicalContact()});

    SystemReviewVoCollection voColl = SystemReviewVoAssembler.createSystemReviewVoCollectionFromSystemReview(sysReviewList);

    if(voColl.size()>0)
        return voColl.get(0);
    else 
        return null;

}
项目:openmaxims-linux    文件:SystemsReviewImpl.java   
/**
* getSystemReview for a clinical contact.
*/
public ims.clinical.vo.SystemReviewVo getSystemReview(ims.core.vo.ClinicalContactShortVo voClinicalContactShort)
{
    if(voClinicalContactShort == null || voClinicalContactShort.getID_ClinicalContact() == null)
        throw new DomainRuntimeException("Contact not provided for get call. ");

    DomainFactory factory = getDomainFactory();
    List sysReviewList =   factory.find(" from SystemReview sr where sr.clinicalContact.id = :idCC )",new Object[]{ voClinicalContactShort.getID_ClinicalContact()});

    SystemReviewVoCollection voColl = SystemReviewVoAssembler.createSystemReviewVoCollectionFromSystemReview(sysReviewList);

    if(voColl.size()>0)
        return voColl.get(0);
    else 
        return null;

}
项目:AvoinApotti    文件:SystemsReviewImpl.java   
/**
* saveSystemReview
*/
public ims.clinical.vo.SystemReviewVo saveSystemReview(ims.clinical.vo.SystemReviewVo voSystemReview) throws StaleObjectException
{
    if (!voSystemReview.isValidated())
    {
        throw new DomainRuntimeException("Systemreview VO has not been validated.");
    }

    DomainFactory factory = getDomainFactory();     

    StringBuffer hql = new StringBuffer("from SystemReview sr ");
    if(voSystemReview.getID_SystemReview() == null)
        hql.append(" where (sr.clinicalContact.id = " + voSystemReview.getClinicalContact().getID_ClinicalContact() + ")");
    else
        hql.append(" where (sr.clinicalContact.id = " + voSystemReview.getClinicalContact().getID_ClinicalContact() + ") and sr.id <> " +  voSystemReview.getID_SystemReview());

    List list = (factory.find(hql.toString()));

    if(list.size() > 0)
        throw new DomainRuntimeException("A record exists for this clinical contact,the screen will be refreshed");



    SystemReview doSystemReview = SystemReviewVoAssembler.extractSystemReview(factory,voSystemReview);     

    factory.save(doSystemReview);

    return SystemReviewVoAssembler.create(doSystemReview);
}
项目:openMAXims    文件:SystemsReviewImpl.java   
/**
* saveSystemReview
*/
public ims.clinical.vo.SystemReviewVo saveSystemReview(ims.clinical.vo.SystemReviewVo voSystemReview) throws StaleObjectException
{
    if (!voSystemReview.isValidated())
    {
        throw new DomainRuntimeException("Systemreview VO has not been validated.");
    }

    DomainFactory factory = getDomainFactory();     

    StringBuffer hql = new StringBuffer("from SystemReview sr ");
    if(voSystemReview.getID_SystemReview() == null)
        hql.append(" where (sr.clinicalContact.id = " + voSystemReview.getClinicalContact().getID_ClinicalContact() + ")");
    else
        hql.append(" where (sr.clinicalContact.id = " + voSystemReview.getClinicalContact().getID_ClinicalContact() + ") and sr.id <> " +  voSystemReview.getID_SystemReview());

    List list = (factory.find(hql.toString()));

    if(list.size() > 0)
        throw new DomainRuntimeException("A record exists for this clinical contact,voSystemReview);     

    factory.save(doSystemReview);

    return SystemReviewVoAssembler.create(doSystemReview);
}
项目:openmaxims-linux    文件:SystemsReviewImpl.java   
/**
* saveSystemReview
*/
public ims.clinical.vo.SystemReviewVo saveSystemReview(ims.clinical.vo.SystemReviewVo voSystemReview) throws StaleObjectException
{
    if (!voSystemReview.isValidated())
    {
        throw new DomainRuntimeException("Systemreview VO has not been validated.");
    }

    DomainFactory factory = getDomainFactory();     

    StringBuffer hql = new StringBuffer("from SystemReview sr ");
    if(voSystemReview.getID_SystemReview() == null)
        hql.append(" where (sr.clinicalContact.id = " + voSystemReview.getClinicalContact().getID_ClinicalContact() + ")");
    else
        hql.append(" where (sr.clinicalContact.id = " + voSystemReview.getClinicalContact().getID_ClinicalContact() + ") and sr.id <> " +  voSystemReview.getID_SystemReview());

    List list = (factory.find(hql.toString()));

    if(list.size() > 0)
        throw new DomainRuntimeException("A record exists for this clinical contact,voSystemReview);     

    factory.save(doSystemReview);

    return SystemReviewVoAssembler.create(doSystemReview);
}

ims.admin.vo.domain.ServiceVoLiteVoAssembler的实例源码

ims.admin.vo.domain.ServiceVoLiteVoAssembler的实例源码

项目:AvoinApotti    文件:ServiceMultipleSelectDialogImpl.java   
public ims.admin.vo.ServiceVoLiteVoCollection getServices(String serviceName,ims.core.vo.lookups.ServiceCategory serviceCategory)
{
    if (serviceName  == null || serviceName.length() == 0 )
    {
        throw new DomainRuntimeException("No search criteria specified");
    }

    StringBuilder hqlBuilder = new StringBuilder("select s1_1 from Service as s1_1 left join s1_1.serviceCategory as l1_1 where ");
    ArrayList<String> paramNames = new ArrayList<String>();
    ArrayList<Object> paramValues = new ArrayList<Object>();

    String and = "";

    if (serviceName!=null && serviceName.length()>0)
    {
        hqlBuilder.append(and);
        hqlBuilder.append(" s1_1.upperName like :cName ");
        and = "and ";
        paramNames.add("cName");
        paramValues.add("%" + serviceName.toupperCase() + "%");
    }
    if (serviceCategory != null)
    {
        hqlBuilder.append(and);
        hqlBuilder.append(" l1_1.id = :cType ");
        and = "and ";
        paramNames.add("cType");
        paramValues.add(serviceCategory.getID());
    }

    hqlBuilder.append(and);
    hqlBuilder.append(" s1_1.isActive = :isActive");
    paramNames.add("isActive");
    paramValues.add(new Boolean(true));

    List dos = getDomainFactory().find(hqlBuilder.toString(),paramNames,paramValues);

    if (dos == null || dos.size() == 0)
        return null;

    return ServiceVoLiteVoAssembler.createServiceVoLiteVoCollectionFromService(dos); 

}
项目:openMAXims    文件:ServiceMultipleSelectDialogImpl.java   
public ims.admin.vo.ServiceVoLiteVoCollection getServices(String serviceName,paramValues);

    if (dos == null || dos.size() == 0)
        return null;

    return ServiceVoLiteVoAssembler.createServiceVoLiteVoCollectionFromService(dos); 

}
项目:openmaxims-linux    文件:ServiceMultipleSelectDialogImpl.java   
public ims.admin.vo.ServiceVoLiteVoCollection getServices(String serviceName,paramValues);

    if (dos == null || dos.size() == 0)
        return null;

    return ServiceVoLiteVoAssembler.createServiceVoLiteVoCollectionFromService(dos); 

}

ims.admin.vo.domain.SystemJobVoAssembler的实例源码

ims.admin.vo.domain.SystemJobVoAssembler的实例源码

项目:AvoinApotti    文件:ScheduledJobsProvider.java   
@SuppressWarnings("unchecked")
public IScheduledJob[] getAvailableScheduledJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new String[] {"ACTIVE"},new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs).toIScheduledJobArray();
}
项目:AvoinApotti    文件:SystemJobDetailsImpl.java   
public SystemJobVoCollection listAvailableSystemJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs);
}
项目:AvoinApotti    文件:SystemJobsImpl.java   
public SystemJobVoCollection listAvailableSystemJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs);
}
项目:AvoinApotti    文件:SystemJobsImpl.java   
public SystemJobVo getSystemJobVo(Integer id) 
{
    if(id == null)
    {
        throw new CodingRuntimeException("SystemJobVo id is null");
    }           

    DomainFactory factory = getDomainFactory();
    SystemJob doSystemJob = (SystemJob) factory.getDomainObject(SystemJob.class,id);
    return (SystemJobVoAssembler.create(doSystemJob));
}
项目:AvoinApotti    文件:SystemJobsImpl.java   
public SystemJobVo getSystemJobByimsId(Integer imsId) 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :isActive and job.imsId = :imsID";
    List jobs = factory.find(hqlString,new String[] {"isActive","imsID"},new Object[] {true,new Integer(imsId)});
    if (jobs != null && jobs.size() > 0)
    {
            return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs).get(0);
    }

    return null; 
}
项目:openMAXims    文件:ScheduledJobsProvider.java   
@SuppressWarnings("unchecked")
public IScheduledJob[] getAvailableScheduledJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs).toIScheduledJobArray();
}
项目:openMAXims    文件:SystemJobDetailsImpl.java   
public SystemJobVoCollection listAvailableSystemJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs);
}
项目:openMAXims    文件:SystemJobsImpl.java   
public SystemJobVoCollection listAvailableSystemJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs);
}
项目:openMAXims    文件:SystemJobsImpl.java   
public SystemJobVo getSystemJobVo(Integer id) 
{
    if(id == null)
    {
        throw new CodingRuntimeException("SystemJobVo id is null");
    }           

    DomainFactory factory = getDomainFactory();
    SystemJob doSystemJob = (SystemJob) factory.getDomainObject(SystemJob.class,id);
    return (SystemJobVoAssembler.create(doSystemJob));
}
项目:openMAXims    文件:SystemJobsImpl.java   
public SystemJobVo getSystemJobByimsId(Integer imsId) 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :isActive and job.imsId = :imsID";
    List jobs = factory.find(hqlString,new Integer(imsId)});
    if (jobs != null && jobs.size() > 0)
    {
            return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs).get(0);
    }

    return null; 
}
项目:openmaxims-linux    文件:ScheduledJobsProvider.java   
@SuppressWarnings("unchecked")
public IScheduledJob[] getAvailableScheduledJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs).toIScheduledJobArray();
}
项目:openmaxims-linux    文件:SystemJobDetailsImpl.java   
public SystemJobVoCollection listAvailableSystemJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs);
}
项目:openmaxims-linux    文件:SystemJobsImpl.java   
public SystemJobVoCollection listAvailableSystemJobs() 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :ACTIVE";
    List jobs = factory.find(hqlString,new Object[] {Boolean.TRUE});
    return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs);
}
项目:openmaxims-linux    文件:SystemJobsImpl.java   
public SystemJobVo getSystemJobVo(Integer id) 
{
    if(id == null)
    {
        throw new CodingRuntimeException("SystemJobVo id is null");
    }           

    DomainFactory factory = getDomainFactory();
    SystemJob doSystemJob = (SystemJob) factory.getDomainObject(SystemJob.class,id);
    return (SystemJobVoAssembler.create(doSystemJob));
}
项目:openmaxims-linux    文件:SystemJobsImpl.java   
public SystemJobVo getSystemJobByimsId(Integer imsId) 
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from SystemJob job where job.isActive = :isActive and job.imsId = :imsID";
    List jobs = factory.find(hqlString,new Integer(imsId)});
    if (jobs != null && jobs.size() > 0)
    {
            return SystemJobVoAssembler.createSystemJobVoCollectionFromSystemJob(jobs).get(0);
    }

    return null; 
}

ims.admin.vo.domain.SystemLogVoAssembler的实例源码

ims.admin.vo.domain.SystemLogVoAssembler的实例源码

项目:AvoinApotti    文件:SystemLogProvider.java   
public ISystemLog save(DateTime dateTime,SystemLogType type,SystemLogLevel level,String server,String user,String source,String computer,String userAgent,String sessionId,String message)
{
    SystemLogVo entry = new SystemLogVo();

    entry.setEventDateTime(dateTime);
    entry.setEventType(type.getId());
    entry.setEventLevel(level.getId());
    entry.setApplicationServer(server);
    entry.setUser(user);
    entry.setSource(source);
    entry.setComputer(computer);
    entry.setMessage(message);
    entry.setSessionId(sessionId);
    entry.setUserAgent(userAgent);

    ims.core.admin.domain.objects.SystemLog domainObject = SystemLogVoAssembler.extractSystemLog(getDomainFactory(),entry);
    try 
    {
        getDomainFactory().save(domainObject);
    } 
    catch (StaleObjectException e) 
    {
        return null;
    }

    return SystemLogVoAssembler.create(domainObject);
}
项目:AvoinApotti    文件:SystemLogImpl.java   
@SuppressWarnings("unchecked")
public SystemLogVoCollection getEntries(String sessionId)
{
    if(sessionId == null || sessionId.trim().length() == 0)
        return new SystemLogVoCollection();

    DomainFactory factory = getDomainFactory();
    String hql = " from SystemLog sl where sl.sessionId = '" + sessionId + "' order by sl.id desc";
    List entries = factory.find(hql);
    return SystemLogVoAssembler.createSystemLogVoCollectionFromSystemLog(entries);      
}
项目:openMAXims    文件:SystemLogProvider.java   
public ISystemLog save(DateTime dateTime,entry);
    try 
    {
        getDomainFactory().save(domainObject);
    } 
    catch (StaleObjectException e) 
    {
        return null;
    }

    return SystemLogVoAssembler.create(domainObject);
}
项目:openMAXims    文件:SystemLogImpl.java   
@SuppressWarnings("unchecked")
public SystemLogVoCollection getEntries(String sessionId)
{
    if(sessionId == null || sessionId.trim().length() == 0)
        return new SystemLogVoCollection();

    DomainFactory factory = getDomainFactory();
    String hql = " from SystemLog sl where sl.sessionId = '" + sessionId + "' order by sl.id desc";
    List entries = factory.find(hql);
    return SystemLogVoAssembler.createSystemLogVoCollectionFromSystemLog(entries);      
}
项目:openmaxims-linux    文件:SystemLogProvider.java   
public ISystemLog save(DateTime dateTime,entry);
    try 
    {
        getDomainFactory().save(domainObject);
    } 
    catch (StaleObjectException e) 
    {
        return null;
    }

    return SystemLogVoAssembler.create(domainObject);
}
项目:openmaxims-linux    文件:SystemLogImpl.java   
@SuppressWarnings("unchecked")
public SystemLogVoCollection getEntries(String sessionId)
{
    if(sessionId == null || sessionId.trim().length() == 0)
        return new SystemLogVoCollection();

    DomainFactory factory = getDomainFactory();
    String hql = " from SystemLog sl where sl.sessionId = '" + sessionId + "' order by sl.id desc";
    List entries = factory.find(hql);
    return SystemLogVoAssembler.createSystemLogVoCollectionFromSystemLog(entries);      
}
项目:AvoinApotti    文件:SystemLogImpl.java   
public SystemLogVo getEntry(Integer eventId) 
{
    return SystemLogVoAssembler.create((SystemLog)getDomainFactory().getDomainObject(SystemLog.class,eventId));
}
项目:openMAXims    文件:SystemLogImpl.java   
public SystemLogVo getEntry(Integer eventId) 
{
    return SystemLogVoAssembler.create((SystemLog)getDomainFactory().getDomainObject(SystemLog.class,eventId));
}
项目:openmaxims-linux    文件:SystemLogImpl.java   
public SystemLogVo getEntry(Integer eventId) 
{
    return SystemLogVoAssembler.create((SystemLog)getDomainFactory().getDomainObject(SystemLog.class,eventId));
}

ims.admin.vo.domain.SystemReportVoAssembler的实例源码

ims.admin.vo.domain.SystemReportVoAssembler的实例源码

项目:AvoinApotti    文件:DeployReportsImpl.java   
/**
* listSystemReports
*/
@SuppressWarnings("rawtypes")
public ims.admin.vo.SystemReportVoCollection listSystemReports()
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from ReportBo as rep where rep.imsId is not null order by rep.reportName";
    List reports = factory.find(hqlString);
    return SystemReportVoAssembler.createSystemReportVoCollectionFromreportBo(reports);
}
项目:AvoinApotti    文件:SearchReportImpl.java   
public ims.admin.vo.SystemReportVoCollection listReports(Boolean systemReportsOnly,String reportName)
{
    DomainFactory factory = getDomainFactory();

    ArrayList<String> markers = new ArrayList<String>();
    ArrayList<Object> values = new ArrayList<Object>();

    StringBuffer hql = new StringBuffer();

    hql.append(" FROM ReportBo AS rep ");

    if (Boolean.TRUE.equals(systemReportsOnly) || reportName != null)
    {
        hql.append(" WHERE ");
    }

    if (Boolean.TRUE.equals(systemReportsOnly))
    {
        hql.append("rep.imsId IS NOT NULL ");
    }

    if (reportName != null)
    {
        hql.append(" AND UPPER(rep.reportName) like :reportName ");
        markers.add("reportName");
        values.add("%" + reportName.toupperCase() + "%");
    }

    hql.append(" order by UPPER(rep.reportName) asc");

    return SystemReportVoAssembler.createSystemReportVoCollectionFromreportBo(factory.find(hql.toString(),markers,values));
}
项目:AvoinApotti    文件:ReportAccessImpl.java   
public ims.admin.vo.SystemReportVo saveReport(SystemReportVo report) throws ims.domain.exceptions.StaleObjectException
{
    if (report == null)
        throw new CodingRuntimeException("Cannot save null Report");

    if (!report.isValidated())
        throw new DomainRuntimeException("SystemReportVo Not Validated.");

    DomainFactory factory = getDomainFactory();

    ReportBo doReport = SystemReportVoAssembler.extractReportBo(factory,report);
    factory.save(doReport);

    return SystemReportVoAssembler.create(doReport);
}
项目:AvoinApotti    文件:ReportAccessImpl.java   
public SystemReportVo getReport(ReportBoRefVo reportRef)
{
    if (reportRef == null)
        throw new CodingRuntimeException("Cannot get Report on null Id.");

    return SystemReportVoAssembler.create((ReportBo) getDomainFactory().getDomainObject(ReportBo.class,reportRef.getID_ReportBo()));
}
项目:openMAXims    文件:DeployReportsImpl.java   
/**
* listSystemReports
*/
@SuppressWarnings("rawtypes")
public ims.admin.vo.SystemReportVoCollection listSystemReports()
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from ReportBo as rep where rep.imsId is not null order by rep.reportName";
    List reports = factory.find(hqlString);
    return SystemReportVoAssembler.createSystemReportVoCollectionFromreportBo(reports);
}
项目:openMAXims    文件:SearchReportImpl.java   
public ims.admin.vo.SystemReportVoCollection listReports(Boolean systemReportsOnly,values));
}
项目:openMAXims    文件:ReportAccessImpl.java   
public ims.admin.vo.SystemReportVo saveReport(SystemReportVo report) throws ims.domain.exceptions.StaleObjectException
{
    if (report == null)
        throw new CodingRuntimeException("Cannot save null Report");

    if (!report.isValidated())
        throw new DomainRuntimeException("SystemReportVo Not Validated.");

    DomainFactory factory = getDomainFactory();

    ReportBo doReport = SystemReportVoAssembler.extractReportBo(factory,report);
    factory.save(doReport);

    return SystemReportVoAssembler.create(doReport);
}
项目:openMAXims    文件:ReportAccessImpl.java   
public SystemReportVo getReport(ReportBoRefVo reportRef)
{
    if (reportRef == null)
        throw new CodingRuntimeException("Cannot get Report on null Id.");

    return SystemReportVoAssembler.create((ReportBo) getDomainFactory().getDomainObject(ReportBo.class,reportRef.getID_ReportBo()));
}
项目:openmaxims-linux    文件:DeployReportsImpl.java   
/**
* listSystemReports
*/
@SuppressWarnings("rawtypes")
public ims.admin.vo.SystemReportVoCollection listSystemReports()
{
    DomainFactory factory = getDomainFactory();
    String hqlString = "from ReportBo as rep where rep.imsId is not null order by rep.reportName";
    List reports = factory.find(hqlString);
    return SystemReportVoAssembler.createSystemReportVoCollectionFromreportBo(reports);
}
项目:openmaxims-linux    文件:SearchReportImpl.java   
public ims.admin.vo.SystemReportVoCollection listReports(Boolean systemReportsOnly,values));
}
项目:openmaxims-linux    文件:ReportAccessImpl.java   
public ims.admin.vo.SystemReportVo saveReport(SystemReportVo report) throws ims.domain.exceptions.StaleObjectException
{
    if (report == null)
        throw new CodingRuntimeException("Cannot save null Report");

    if (!report.isValidated())
        throw new DomainRuntimeException("SystemReportVo Not Validated.");

    DomainFactory factory = getDomainFactory();

    ReportBo doReport = SystemReportVoAssembler.extractReportBo(factory,report);
    factory.save(doReport);

    return SystemReportVoAssembler.create(doReport);
}
项目:openmaxims-linux    文件:ReportAccessImpl.java   
public SystemReportVo getReport(ReportBoRefVo reportRef)
{
    if (reportRef == null)
        throw new CodingRuntimeException("Cannot get Report on null Id.");

    return SystemReportVoAssembler.create((ReportBo) getDomainFactory().getDomainObject(ReportBo.class,reportRef.getID_ReportBo()));
}

关于ims.clinical.vo.domain.SystemReviewVoAssembler的实例源码isempty源码的介绍现已完结,谢谢您的耐心阅读,如果想了解更多关于ims.admin.vo.domain.ServiceVoLiteVoAssembler的实例源码、ims.admin.vo.domain.SystemJobVoAssembler的实例源码、ims.admin.vo.domain.SystemLogVoAssembler的实例源码、ims.admin.vo.domain.SystemReportVoAssembler的实例源码的相关知识,请在本站寻找。

本文标签: