Java 类ims.admin.vo.domain.AppointmentTrackingstatusColourConfigVoAssembler 实例源码

项目:AvoinApotti    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo getColorConfig(ims.vo.LookupInstVo lookupInstance)
{
    if(lookupInstance == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {lookupInstance.getID()}));
}
项目:AvoinApotti    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo saveColorConfig(ims.admin.vo.AppointmentTrackingstatusColourConfigVo colorConfig) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.UniqueKeyViolationException
{
    if(colorConfig == null)
        throw new CodingRuntimeException("record is null in method save");

    if(!colorConfig.isValidated())
        throw new CodingRuntimeException("record has not been validated in method save");

    DomainFactory factory = getDomainFactory();
    AppointmentTrackingstatusColourConfig doColorConfig = AppointmentTrackingstatusColourConfigVoAssembler.extractAppointmentTrackingstatusColourConfig(factory, colorConfig);

    factory.save(doColorConfig);

    return AppointmentTrackingstatusColourConfigVoAssembler.create(doColorConfig);
}
项目:AvoinApotti    文件:ClinicListwithICPActionsImpl.java   
public AppointmentTrackingstatusColourConfigVo getTrackingColorConfig(LookupInstVo trackingStatus) 
{
    if(trackingStatus == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {trackingStatus.getID()}));
}
项目:openMAXIMS    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo getColorConfig(ims.vo.LookupInstVo lookupInstance)
{
    if(lookupInstance == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {lookupInstance.getID()}));
}
项目:openMAXIMS    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo saveColorConfig(ims.admin.vo.AppointmentTrackingstatusColourConfigVo colorConfig) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.UniqueKeyViolationException
{
    if(colorConfig == null)
        throw new CodingRuntimeException("record is null in method save");

    if(!colorConfig.isValidated())
        throw new CodingRuntimeException("record has not been validated in method save");

    DomainFactory factory = getDomainFactory();
    AppointmentTrackingstatusColourConfig doColorConfig = AppointmentTrackingstatusColourConfigVoAssembler.extractAppointmentTrackingstatusColourConfig(factory, colorConfig);

    factory.save(doColorConfig);

    return AppointmentTrackingstatusColourConfigVoAssembler.create(doColorConfig);
}
项目:openMAXIMS    文件:ClinicListwithICPActionsImpl.java   
public AppointmentTrackingstatusColourConfigVo getTrackingColorConfig(LookupInstVo trackingStatus) 
{
    if(trackingStatus == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {trackingStatus.getID()}));
}
项目:openMAXIMS    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo getColorConfig(ims.vo.LookupInstVo lookupInstance)
{
    if(lookupInstance == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {lookupInstance.getID()}));
}
项目:openMAXIMS    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo saveColorConfig(ims.admin.vo.AppointmentTrackingstatusColourConfigVo colorConfig) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.UniqueKeyViolationException
{
    if(colorConfig == null)
        throw new CodingRuntimeException("record is null in method save");

    if(!colorConfig.isValidated())
        throw new CodingRuntimeException("record has not been validated in method save");

    DomainFactory factory = getDomainFactory();
    AppointmentTrackingstatusColourConfig doColorConfig = AppointmentTrackingstatusColourConfigVoAssembler.extractAppointmentTrackingstatusColourConfig(factory, colorConfig);

    factory.save(doColorConfig);

    return AppointmentTrackingstatusColourConfigVoAssembler.create(doColorConfig);
}
项目:openMAXIMS    文件:ClinicListwithICPActionsImpl.java   
public AppointmentTrackingstatusColourConfigVo getTrackingColorConfig(LookupInstVo trackingStatus) 
{
    if(trackingStatus == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {trackingStatus.getID()}));
}
项目:openmaxims-linux    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo getColorConfig(ims.vo.LookupInstVo lookupInstance)
{
    if(lookupInstance == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {lookupInstance.getID()}));
}
项目:openmaxims-linux    文件:AppointmentTrakingStatusColorConfigImpl.java   
public ims.admin.vo.AppointmentTrackingstatusColourConfigVo saveColorConfig(ims.admin.vo.AppointmentTrackingstatusColourConfigVo colorConfig) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException, ims.domain.exceptions.UniqueKeyViolationException
{
    if(colorConfig == null)
        throw new CodingRuntimeException("record is null in method save");

    if(!colorConfig.isValidated())
        throw new CodingRuntimeException("record has not been validated in method save");

    DomainFactory factory = getDomainFactory();
    AppointmentTrackingstatusColourConfig doColorConfig = AppointmentTrackingstatusColourConfigVoAssembler.extractAppointmentTrackingstatusColourConfig(factory, colorConfig);

    factory.save(doColorConfig);

    return AppointmentTrackingstatusColourConfigVoAssembler.create(doColorConfig);
}
项目:openmaxims-linux    文件:ClinicListwithICPActionsImpl.java   
public AppointmentTrackingstatusColourConfigVo getTrackingColorConfig(LookupInstVo trackingStatus) 
{
    if(trackingStatus == null)
        throw new CodingRuntimeException("Can not get AppointmentTrackingColorConfigVo for null LookupInstVo.");

    DomainFactory factory = getDomainFactory();

    return AppointmentTrackingstatusColourConfigVoAssembler.create((AppointmentTrackingstatusColourConfig) factory.findFirst("from AppointmentTrackingstatusColourConfig as atsc where atsc.trackingStatus.id = :statusLookup and atsc.isRIE is null", new String[] {"statusLookup"}, new Object[] {trackingStatus.getID()}));
}
项目:openMAXIMS    文件:OutpatientClinicListImpl.java   
private AppointmentTrackingstatusColourConfigVoCollection listTrackingStatusColorConfiguration()
{
    return AppointmentTrackingstatusColourConfigVoAssembler.createAppointmentTrackingstatusColourConfigVoCollectionFromAppointmentTrackingstatusColourConfig(getDomainFactory().find(" from AppointmentTrackingstatusColourConfig"));
}