Java 类ims.core.vo.CareContextListVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void checkIfEditViewCorrectShouldBeHidden(CareContextListVo voCareContext) 
{
    if (form.getGlobalContext().Core.getCurrentCareContext() == null
        || (voCareContext != null 
            && form.getGlobalContext().Core.getCurrentCareContext() != null
            && ! form.getGlobalContext().Core.getCurrentCareContext().equals(voCareContext)))
    {
        form.getContextMenus().Clinical.getExtendedClinicalNotesCORRECTItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesEDITItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesCONFIRMEDItem().setVisible(false);
    }
}
项目:AvoinApotti    文件:DocumentGenerationImpl.java   
public CareContextListVo getCareContextList(Integer id)
{
    if(id == null)
        throw new CodingRuntimeException("null id passed to getCareContextList !");

    DomainFactory factory = getDomainFactory();
    CareContext  boCareContext = (CareContext)factory.getDomainObject(CareContext.class, id);

    return CareContextListVoAssembler.create(boCareContext);
}
项目:openMAXIMS    文件:Logic.java   
private void checkIfEditViewCorrectShouldBeHidden(CareContextListVo voCareContext) 
{
    if (form.getGlobalContext().Core.getCurrentCareContext() == null
        || (voCareContext != null 
            && form.getGlobalContext().Core.getCurrentCareContext() != null
            && ! form.getGlobalContext().Core.getCurrentCareContext().equals(voCareContext)))
    {
        form.getContextMenus().Clinical.getExtendedClinicalNotesCORRECTItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesEDITItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesCONFIRMEDItem().setVisible(false);
    }
}
项目:openMAXIMS    文件:DocumentGenerationImpl.java   
public CareContextListVo getCareContextList(Integer id)
{
    if(id == null)
        throw new CodingRuntimeException("null id passed to getCareContextList !");

    DomainFactory factory = getDomainFactory();
    CareContext  boCareContext = (CareContext)factory.getDomainObject(CareContext.class, id);

    return CareContextListVoAssembler.create(boCareContext);
}
项目:openMAXIMS    文件:Logic.java   
private void checkIfEditViewCorrectShouldBeHidden(CareContextListVo voCareContext) 
{
    if (form.getGlobalContext().Core.getCurrentCareContext() == null
        || (voCareContext != null 
            && form.getGlobalContext().Core.getCurrentCareContext() != null
            && ! form.getGlobalContext().Core.getCurrentCareContext().equals(voCareContext)))
    {
        form.getContextMenus().Clinical.getExtendedClinicalNotesCORRECTItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesEDITItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesCONFIRMEDItem().setVisible(false);
    }
}
项目:openMAXIMS    文件:DocumentGenerationImpl.java   
public CareContextListVo getCareContextList(Integer id)
{
    if(id == null)
        throw new CodingRuntimeException("null id passed to getCareContextList !");

    DomainFactory factory = getDomainFactory();
    CareContext  boCareContext = (CareContext)factory.getDomainObject(CareContext.class, id);

    return CareContextListVoAssembler.create(boCareContext);
}
项目:openmaxims-linux    文件:Logic.java   
private void checkIfEditViewCorrectShouldBeHidden(CareContextListVo voCareContext) 
{
    if (form.getGlobalContext().Core.getCurrentCareContext() == null
        || (voCareContext != null 
            && form.getGlobalContext().Core.getCurrentCareContext() != null
            && ! form.getGlobalContext().Core.getCurrentCareContext().equals(voCareContext)))
    {
        form.getContextMenus().Clinical.getExtendedClinicalNotesCORRECTItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesEDITItem().setVisible(false);
        form.getContextMenus().Clinical.getExtendedClinicalNotesCONFIRMEDItem().setVisible(false);
    }
}
项目:openmaxims-linux    文件:DocumentGenerationImpl.java   
public CareContextListVo getCareContextList(Integer id)
{
    if(id == null)
        throw new CodingRuntimeException("null id passed to getCareContextList !");

    DomainFactory factory = getDomainFactory();
    CareContext  boCareContext = (CareContext)factory.getDomainObject(CareContext.class, id);

    return CareContextListVoAssembler.create(boCareContext);
}