Java 类ims.ocrr.vo.domain.OrderInvestigationForStatusChangeVoAssembler 实例源码

项目:AvoinApotti    文件:MyOrderImpl.java   
public OrderInvestigationForStatusChangeVo getOrderInvestigation(OrderInvestigationRefVo investigation)
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Investigation to amend must not be null");

    return OrderInvestigationForStatusChangeVoAssembler.create((OrderInvestigation) getDomainFactory().getDomainObject(OrderInvestigation.class, investigation.getID_OrderInvestigation()));
}
项目:AvoinApotti    文件:MyOrderImpl.java   
public OrderInvestigationLiteVo updateInvestigationStatus(OrderInvestigationForStatusChangeVo investigation) throws StaleObjectException
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Can not update the status for a null investigation");

    OrderInvestigation domInvestigation = OrderInvestigationForStatusChangeVoAssembler.extractOrderInvestigation(getDomainFactory(), investigation);

    getDomainFactory().save(domInvestigation);

    return OrderInvestigationLiteVoAssembler.create(domInvestigation);
}
项目:openMAXIMS    文件:MyOrderImpl.java   
public OrderInvestigationForStatusChangeVo getOrderInvestigation(OrderInvestigationRefVo investigation)
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Investigation to amend must not be null");

    return OrderInvestigationForStatusChangeVoAssembler.create((OrderInvestigation) getDomainFactory().getDomainObject(OrderInvestigation.class, investigation.getID_OrderInvestigation()));
}
项目:openMAXIMS    文件:MyOrderImpl.java   
public OrderInvestigationLiteVo updateInvestigationStatus(OrderInvestigationForStatusChangeVo investigation) throws StaleObjectException
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Can not update the status for a null investigation");

    OrderInvestigation domInvestigation = OrderInvestigationForStatusChangeVoAssembler.extractOrderInvestigation(getDomainFactory(), investigation);

    getDomainFactory().save(domInvestigation);

    return OrderInvestigationLiteVoAssembler.create(domInvestigation);
}
项目:openMAXIMS    文件:MyOrderImpl.java   
public OrderInvestigationForStatusChangeVo getOrderInvestigation(OrderInvestigationRefVo investigation)
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Investigation to amend must not be null");

    return OrderInvestigationForStatusChangeVoAssembler.create((OrderInvestigation) getDomainFactory().getDomainObject(OrderInvestigation.class, investigation.getID_OrderInvestigation()));
}
项目:openMAXIMS    文件:MyOrderImpl.java   
public OrderInvestigationLiteVo updateInvestigationStatus(OrderInvestigationForStatusChangeVo investigation) throws StaleObjectException
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Can not update the status for a null investigation");

    OrderInvestigation domInvestigation = OrderInvestigationForStatusChangeVoAssembler.extractOrderInvestigation(getDomainFactory(), investigation);

    getDomainFactory().save(domInvestigation);

    return OrderInvestigationLiteVoAssembler.create(domInvestigation);
}
项目:openmaxims-linux    文件:MyOrderImpl.java   
public OrderInvestigationForStatusChangeVo getOrderInvestigation(OrderInvestigationRefVo investigation)
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Investigation to amend must not be null");

    return OrderInvestigationForStatusChangeVoAssembler.create((OrderInvestigation) getDomainFactory().getDomainObject(OrderInvestigation.class, investigation.getID_OrderInvestigation()));
}
项目:openmaxims-linux    文件:MyOrderImpl.java   
public OrderInvestigationLiteVo updateInvestigationStatus(OrderInvestigationForStatusChangeVo investigation) throws StaleObjectException
{
    if (investigation == null)
        throw new CodingRuntimeException("Error - Can not update the status for a null investigation");

    OrderInvestigation domInvestigation = OrderInvestigationForStatusChangeVoAssembler.extractOrderInvestigation(getDomainFactory(), investigation);

    getDomainFactory().save(domInvestigation);

    return OrderInvestigationLiteVoAssembler.create(domInvestigation);
}