Java 类ims.therapies.vo.RehabilitationShortVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
/**
 * Populates the Hierarchy tree with the contents of the ElectrotherapyUltrasoundShortVoCollection
 * Selects the item that matches the current SOAP clinical contact 
 * Sets that items background colour to LightYellow and expands that node.
 * @param voCollUltrasoundParents
 */
private void populateParentNodes(RehabilitationShortVoCollection voCollRehabParents)
{
    if (voCollRehabParents == null || voCollRehabParents.size() <= 0 ) return;

    for(int i=0; i<voCollRehabParents.size(); i++)
    {
        populateParentNode(voCollRehabParents.get(i));          
    }       
}
项目:AvoinApotti    文件:RehabImpl.java   
public RehabilitationShortVoCollection listByCareContext(Integer idCareContext) 
{
    if (idCareContext != null)
    {
        DomainFactory factory = getDomainFactory();
        List RespTrList  = factory.find(" from Rehabilitation rt where rt.clinicalContact.careContext.id = :ccId order by rt.authoringDateTime",
                new String[]{"ccId"},
                new Object[]{idCareContext});

        return RehabilitationShortVoAssembler.createRehabilitationShortVoCollectionFromRehabilitation(RespTrList); 
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Populates the Hierarchy tree with the contents of the ElectrotherapyUltrasoundShortVoCollection
 * Selects the item that matches the current SOAP clinical contact 
 * Sets that items background colour to LightYellow and expands that node.
 * @param voCollUltrasoundParents
 */
private void populateParentNodes(RehabilitationShortVoCollection voCollRehabParents)
{
    if (voCollRehabParents == null || voCollRehabParents.size() <= 0 ) return;

    for(int i=0; i<voCollRehabParents.size(); i++)
    {
        populateParentNode(voCollRehabParents.get(i));          
    }       
}
项目:openMAXIMS    文件:RehabImpl.java   
public RehabilitationShortVoCollection listByCareContext(Integer idCareContext) 
{
    if (idCareContext != null)
    {
        DomainFactory factory = getDomainFactory();
        List RespTrList  = factory.find(" from Rehabilitation rt where rt.clinicalContact.careContext.id = :ccId order by rt.authoringDateTime",
                new String[]{"ccId"},
                new Object[]{idCareContext});

        return RehabilitationShortVoAssembler.createRehabilitationShortVoCollectionFromRehabilitation(RespTrList); 
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Populates the Hierarchy tree with the contents of the ElectrotherapyUltrasoundShortVoCollection
 * Selects the item that matches the current SOAP clinical contact 
 * Sets that items background colour to LightYellow and expands that node.
 * @param voCollUltrasoundParents
 */
private void populateParentNodes(RehabilitationShortVoCollection voCollRehabParents)
{
    if (voCollRehabParents == null || voCollRehabParents.size() <= 0 ) return;

    for(int i=0; i<voCollRehabParents.size(); i++)
    {
        populateParentNode(voCollRehabParents.get(i));          
    }       
}
项目:openMAXIMS    文件:RehabImpl.java   
public RehabilitationShortVoCollection listByCareContext(Integer idCareContext) 
{
    if (idCareContext != null)
    {
        DomainFactory factory = getDomainFactory();
        List RespTrList  = factory.find(" from Rehabilitation rt where rt.clinicalContact.careContext.id = :ccId order by rt.authoringDateTime",
                new String[]{"ccId"},
                new Object[]{idCareContext});

        return RehabilitationShortVoAssembler.createRehabilitationShortVoCollectionFromRehabilitation(RespTrList); 
    }

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * Populates the Hierarchy tree with the contents of the ElectrotherapyUltrasoundShortVoCollection
 * Selects the item that matches the current SOAP clinical contact 
 * Sets that items background colour to LightYellow and expands that node.
 * @param voCollUltrasoundParents
 */
private void populateParentNodes(RehabilitationShortVoCollection voCollRehabParents)
{
    if (voCollRehabParents == null || voCollRehabParents.size() <= 0 ) return;

    for(int i=0; i<voCollRehabParents.size(); i++)
    {
        populateParentNode(voCollRehabParents.get(i));          
    }       
}
项目:openmaxims-linux    文件:RehabImpl.java   
public RehabilitationShortVoCollection listByCareContext(Integer idCareContext) 
{
    if (idCareContext != null)
    {
        DomainFactory factory = getDomainFactory();
        List RespTrList  = factory.find(" from Rehabilitation rt where rt.clinicalContact.careContext.id = :ccId order by rt.authoringDateTime",
                new String[]{"ccId"},
                new Object[]{idCareContext});

        return RehabilitationShortVoAssembler.createRehabilitationShortVoCollectionFromRehabilitation(RespTrList); 
    }

    return null;
}