Java 类ims.emergency.vo.domain.EmergencyAttendanceForTrackingVoAssembler 实例源码

项目:AvoinApotti    文件:BedAwaitingBedAvailableImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:AvoinApotti    文件:SendToXRayImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get SentToXRayVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:AvoinApotti    文件:AllocateCubicleImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef) 
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();

}
项目:AvoinApotti    文件:EDSeenByAndCompleteDialogImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(ims.core.admin.vo.CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:AvoinApotti    文件:EDReferralToSpecialtyDialogImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:AvoinApotti    文件:ReferralToSpecialtyImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:BedAwaitingBedAvailableImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:SendToXRayImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get SentToXRayVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:AllocateCubicleImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef) 
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();

}
项目:openMAXIMS    文件:EDSeenByAndCompleteDialogImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(ims.core.admin.vo.CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get RegistrationDateTime on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:EDAttendanceCommentsDialogImpl.java   
public ims.emergency.vo.EmergencyAttendanceForTrackingVo getEmergencyAttendance(ims.emergency.vo.TrackingRefVo trackingRef)
{
    if (trackingRef == null || trackingRef.getID_Tracking() == null)
    {
        throw new CodingRuntimeException("Cannot get EmergencyAttendanceForTrackingVo on null Id for Tracking ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select tracking.attendance from Tracking as tracking where tracking.id = :trackingID ");

    List<?> list = factory.find(hql.toString(), new String[] { "trackingID" }, new Object[] { trackingRef.getID_Tracking() });

    if (list!=null && list.size()>0)
    {
        return EmergencyAttendanceForTrackingVoAssembler.create((EmergencyAttendance) list.get(0));
    }

    return null;
}
项目:openMAXIMS    文件:EDReferralToSpecialtyDialogImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:EDSeenByNurseAndCompleteImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(ims.core.admin.vo.CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get RegistrationDateTime on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:ReferralToSpecialtyImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:BedAwaitingBedAvailableImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:SendToXRayImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get SentToXRayVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:AllocateCubicleImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef) 
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();

}
项目:openMAXIMS    文件:EDSeenByAndCompleteDialogImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(ims.core.admin.vo.CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:EDReferralToSpecialtyDialogImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:ReferralToSpecialtyImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openmaxims-linux    文件:BedAwaitingBedAvailableImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openmaxims-linux    文件:SendToXRayImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get SentToXRayVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openmaxims-linux    文件:AllocateCubicleImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef) 
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List list = factory.find(hql.toString(), new String[] {"careContextID"}, new Object[] {careContextRef.getID_CareContext()});

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();

}
项目:openmaxims-linux    文件:EDSeenByAndCompleteDialogImpl.java   
public ims.framework.utils.DateTime getAttendanceRegistrationDateTime(ims.core.admin.vo.CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openmaxims-linux    文件:EDReferralToSpecialtyDialogImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openmaxims-linux    文件:ReferralToSpecialtyImpl.java   
public DateTime getAttendanceRegistrationDateTime(CareContextRefVo careContextRef)
{
    if (careContextRef == null || careContextRef.getID_CareContext() == null)
    {
        throw new CodingRuntimeException("Cannot get AllocatedMedicVoCollection on null Id for CareContext ");
    }

    DomainFactory factory = getDomainFactory();

    StringBuffer hql = new StringBuffer();
    hql.append("select att from EmergencyAttendance as att where att.careContext.id = :careContextID ");

    List<?> list = factory.find(hql.toString(), new String[] { "careContextID" }, new Object[] { careContextRef.getID_CareContext() });

    return EmergencyAttendanceForTrackingVoAssembler.createEmergencyAttendanceForTrackingVoCollectionFromEmergencyAttendance(list).get(0).getRegistrationDateTime();
}
项目:openMAXIMS    文件:EDAttendanceCommentsDialogImpl.java   
public ims.emergency.vo.EmergencyAttendanceForTrackingVo save(ims.emergency.vo.EmergencyAttendanceForTrackingVo emergencyAttendance) throws ims.domain.exceptions.StaleObjectException
{
    if (emergencyAttendance == null )
        throw new CodingRuntimeException("Cannot save null EmergencyAttendanceForTrackingVo ");

    DomainFactory factory = getDomainFactory();


    EmergencyAttendance domainEmergAttendance = EmergencyAttendanceForTrackingVoAssembler.extractEmergencyAttendance(factory, emergencyAttendance);
    factory.save(domainEmergAttendance);

    return EmergencyAttendanceForTrackingVoAssembler.create(domainEmergAttendance);

}