Java 类ims.clinical.vo.lookups.DischargeSummaryJobType 实例源码

项目:AvoinApotti    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public void removeTask(DischargeSummaryJobType jobType) throws ForeignKeyViolationException 
{
    DomainFactory factory           = getDomainFactory();
    ArrayList<String> markers       = new ArrayList<String>();
    ArrayList<Serializable> values  = new ArrayList<Serializable>();        

    String sql = "from DischargeSummarySchedule as dss where dss.jobType = :id";                
    markers.add("id");          
    values.add(getDomLookup(jobType));

    List jobs = factory.find(sql.toString(), markers, values);  
    if (jobs.size() > 0) {
        factory.delete((DischargeSummarySchedule) jobs.get(0));
    }
}
项目:openMAXIMS    文件:DischargeSummaryScheduleImpl.java   
public void removeTask(DischargeSummaryJobType jobType) throws ForeignKeyViolationException 
{
    DomainFactory factory           = getDomainFactory();
    ArrayList<String> markers       = new ArrayList<String>();
    ArrayList<Serializable> values  = new ArrayList<Serializable>();        

    String sql = "from DischargeSummarySchedule as dss where dss.jobType = :id";                
    markers.add("id");          
    values.add(getDomLookup(jobType));

    List jobs = factory.find(sql.toString(), markers, values);  
    if (jobs.size() > 0) {
        factory.delete((DischargeSummarySchedule) jobs.get(0));
    }
}
项目:openMAXIMS    文件:DischargeSummaryScheduleSTHKImpl.java   
public void removeTask(DischargeSummaryJobType jobType) throws ForeignKeyViolationException 
{
    DomainFactory factory           = getDomainFactory();
    ArrayList<String> markers       = new ArrayList<String>();
    ArrayList<Serializable> values  = new ArrayList<Serializable>();        

    String sql = "from DischargeSummarySchedule as dss where dss.jobType = :id";                
    markers.add("id");          
    values.add(getDomLookup(jobType));

    List jobs = factory.find(sql.toString(), markers, values);  
    if (jobs.size() > 0) {
        factory.delete((DischargeSummarySchedule) jobs.get(0));
    }
}
项目:openMAXIMS    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public void removeTask(DischargeSummaryJobType jobType) throws ForeignKeyViolationException 
{
    DomainFactory factory           = getDomainFactory();
    ArrayList<String> markers       = new ArrayList<String>();
    ArrayList<Serializable> values  = new ArrayList<Serializable>();        

    String sql = "from DischargeSummarySchedule as dss where dss.jobType = :id";                
    markers.add("id");          
    values.add(getDomLookup(jobType));

    List jobs = factory.find(sql.toString(), markers, values);  
    if (jobs.size() > 0) {
        factory.delete((DischargeSummarySchedule) jobs.get(0));
    }
}
项目:openMAXIMS    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public void removeTask(DischargeSummaryJobType jobType) throws ForeignKeyViolationException 
{
    DomainFactory factory           = getDomainFactory();
    ArrayList<String> markers       = new ArrayList<String>();
    ArrayList<Serializable> values  = new ArrayList<Serializable>();        

    String sql = "from DischargeSummarySchedule as dss where dss.jobType = :id";                
    markers.add("id");          
    values.add(getDomLookup(jobType));

    List jobs = factory.find(sql.toString(), markers, values);  
    if (jobs.size() > 0) {
        factory.delete((DischargeSummarySchedule) jobs.get(0));
    }
}
项目:openmaxims-linux    文件:DischargeSummaryScheduleSTHKFormImpl.java   
public void removeTask(DischargeSummaryJobType jobType) throws ForeignKeyViolationException 
{
    DomainFactory factory           = getDomainFactory();
    ArrayList<String> markers       = new ArrayList<String>();
    ArrayList<Serializable> values  = new ArrayList<Serializable>();        

    String sql = "from DischargeSummarySchedule as dss where dss.jobType = :id";                
    markers.add("id");          
    values.add(getDomLookup(jobType));

    List jobs = factory.find(sql.toString(), markers, values);  
    if (jobs.size() > 0) {
        factory.delete((DischargeSummarySchedule) jobs.get(0));
    }
}