Java 类ims.core.vo.lookups.CustomListType 实例源码

项目:AvoinApotti    文件:Logic.java   
private void saveNewCustomList() 
{
    CustomListVo voCL = new CustomListVo();

    voCL.setListType(CustomListType.CUSTOM_PATIENT_LIST);
    voCL.setListName(form.getGlobalContext().Core.getCustomListName());
    voCL.setDate(new Date());
    voCL.setIsActive(true);
    voCL.setListOwner((MemberOfStaffLiteVo) domain.getMosUser());

    String[] errors = voCL.validate();
    if (errors != null)
    {
        engine.showErrors(errors);
        return;
    }

    try 
    {
        domain.saveCustomList(voCL);
    } 
    catch (StaleObjectException e) 
    {
        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        return;
    } 
    listCustomLists();
}
项目:openMAXIMS    文件:Logic.java   
private void saveNewCustomList() 
{
    CustomListVo voCL = new CustomListVo();

    voCL.setListType(CustomListType.CUSTOM_PATIENT_LIST);
    voCL.setListName(form.getGlobalContext().Core.getCustomListName());
    voCL.setDate(new Date());
    voCL.setIsActive(true);
    voCL.setListOwner((MemberOfStaffLiteVo) domain.getMosUser());

    String[] errors = voCL.validate();
    if (errors != null)
    {
        engine.showErrors(errors);
        return;
    }

    try 
    {
        domain.saveCustomList(voCL);
    } 
    catch (StaleObjectException e) 
    {
        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        return;
    } 
    listCustomLists();
}
项目:openMAXIMS    文件:Logic.java   
private void saveNewCustomList() 
{
    CustomListVo voCL = new CustomListVo();

    voCL.setListType(CustomListType.CUSTOM_PATIENT_LIST);
    voCL.setListName(form.getGlobalContext().Core.getCustomListName());
    voCL.setDate(new Date());
    voCL.setIsActive(true);
    voCL.setListOwner((MemberOfStaffLiteVo) domain.getMosUser());

    String[] errors = voCL.validate();
    if (errors != null)
    {
        engine.showErrors(errors);
        return;
    }

    try 
    {
        domain.saveCustomList(voCL);
    } 
    catch (StaleObjectException e) 
    {
        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        return;
    } 
    listCustomLists();
}
项目:openmaxims-linux    文件:Logic.java   
private void saveNewCustomList() 
{
    CustomListVo voCL = new CustomListVo();

    voCL.setListType(CustomListType.CUSTOM_PATIENT_LIST);
    voCL.setListName(form.getGlobalContext().Core.getCustomListName());
    voCL.setDate(new Date());
    voCL.setIsActive(true);
    voCL.setListOwner((MemberOfStaffLiteVo) domain.getMosUser());

    String[] errors = voCL.validate();
    if (errors != null)
    {
        engine.showErrors(errors);
        return;
    }

    try 
    {
        domain.saveCustomList(voCL);
    } 
    catch (StaleObjectException e) 
    {
        engine.showMessage(ConfigFlag.UI.STALE_OBJECT_MESSAGE.getValue());
        return;
    } 
    listCustomLists();
}
项目:AvoinApotti    文件:MDTCustomListImpl.java   
public CustomListVoCollection listCustomListTypes(CustomListVo filter) {
    CustomListMaintenance customListMaintenanceImpl = (CustomListMaintenance)getDomainImpl(CustomListMaintenanceImpl.class);
    filter.setIsActive(true);
    filter.setListType(CustomListType.MDT);
       return customListMaintenanceImpl.listCustomListTypes(filter);
}
项目:openMAXIMS    文件:MDTCustomListImpl.java   
public CustomListVoCollection listCustomListTypes(CustomListVo filter) {
    CustomListMaintenance customListMaintenanceImpl = (CustomListMaintenance)getDomainImpl(CustomListMaintenanceImpl.class);
    filter.setIsActive(true);
    filter.setListType(CustomListType.MDT);
       return customListMaintenanceImpl.listCustomListTypes(filter);
}
项目:openMAXIMS    文件:MDTCustomListImpl.java   
public CustomListVoCollection listCustomListTypes(CustomListVo filter) {
    CustomListMaintenance customListMaintenanceImpl = (CustomListMaintenance)getDomainImpl(CustomListMaintenanceImpl.class);
    filter.setIsActive(true);
    filter.setListType(CustomListType.MDT);
       return customListMaintenanceImpl.listCustomListTypes(filter);
}
项目:openmaxims-linux    文件:MDTCustomListImpl.java   
public CustomListVoCollection listCustomListTypes(CustomListVo filter) {
    CustomListMaintenance customListMaintenanceImpl = (CustomListMaintenance)getDomainImpl(CustomListMaintenanceImpl.class);
    filter.setIsActive(true);
    filter.setListType(CustomListType.MDT);
       return customListMaintenanceImpl.listCustomListTypes(filter);
}