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

项目:AvoinApotti    文件:StretchingImpl.java   
/**
 *  Domain Interface function used to list stretching for a specific CareContext
 */
public StretchingShortVoCollection listStretchingByCareContext(CareContextRefVo careContextRef)
{
    // Check for parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Can not search after null careContext");

    String query = "from Stretching AS st where st.clinicalContact.careContext.id = :CCID order by st.authoringDateTime asc";

    ArrayList<String> paramNames = new ArrayList<String>();
    ArrayList<Object> paramValues = new ArrayList<Object>();

    paramNames.add("CCID");
    paramValues.add(careContextRef.getID_CareContext());

    return StretchingShortVoAssembler.createStretchingShortVoCollectionFromStretching(getDomainFactory().find(query.toString(), paramNames, paramValues));
}
项目:openMAXIMS    文件:StretchingImpl.java   
/**
 *  Domain Interface function used to list stretching for a specific CareContext
 */
public StretchingShortVoCollection listStretchingByCareContext(CareContextRefVo careContextRef)
{
    // Check for parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Can not search after null careContext");

    String query = "from Stretching AS st where st.clinicalContact.careContext.id = :CCID order by st.authoringDateTime asc";

    ArrayList<String> paramNames = new ArrayList<String>();
    ArrayList<Object> paramValues = new ArrayList<Object>();

    paramNames.add("CCID");
    paramValues.add(careContextRef.getID_CareContext());

    return StretchingShortVoAssembler.createStretchingShortVoCollectionFromStretching(getDomainFactory().find(query.toString(), paramNames, paramValues));
}
项目:openMAXIMS    文件:StretchingImpl.java   
/**
 *  Domain Interface function used to list stretching for a specific CareContext
 */
public StretchingShortVoCollection listStretchingByCareContext(CareContextRefVo careContextRef)
{
    // Check for parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Can not search after null careContext");

    String query = "from Stretching AS st where st.clinicalContact.careContext.id = :CCID order by st.authoringDateTime asc";

    ArrayList<String> paramNames = new ArrayList<String>();
    ArrayList<Object> paramValues = new ArrayList<Object>();

    paramNames.add("CCID");
    paramValues.add(careContextRef.getID_CareContext());

    return StretchingShortVoAssembler.createStretchingShortVoCollectionFromStretching(getDomainFactory().find(query.toString(), paramNames, paramValues));
}
项目:openmaxims-linux    文件:StretchingImpl.java   
/**
 *  Domain Interface function used to list stretching for a specific CareContext
 */
public StretchingShortVoCollection listStretchingByCareContext(CareContextRefVo careContextRef)
{
    // Check for parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Can not search after null careContext");

    String query = "from Stretching AS st where st.clinicalContact.careContext.id = :CCID order by st.authoringDateTime asc";

    ArrayList<String> paramNames = new ArrayList<String>();
    ArrayList<Object> paramValues = new ArrayList<Object>();

    paramNames.add("CCID");
    paramValues.add(careContextRef.getID_CareContext());

    return StretchingShortVoAssembler.createStretchingShortVoCollectionFromStretching(getDomainFactory().find(query.toString(), paramNames, paramValues));
}
项目:AvoinApotti    文件:Logic.java   
private void populateParentNodes(StretchingShortVoCollection voStretchingColl)
{
    if (voStretchingColl == null)
        return;

    for(StretchingShortVo stretchingShortVo : voStretchingColl)
    {
        populateParentNode(stretchingShortVo);          
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateParentNodes(StretchingShortVoCollection voStretchingColl)
{
    if (voStretchingColl == null)
        return;

    for(StretchingShortVo stretchingShortVo : voStretchingColl)
    {
        populateParentNode(stretchingShortVo);          
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateParentNodes(StretchingShortVoCollection voStretchingColl)
{
    if (voStretchingColl == null)
        return;

    for(StretchingShortVo stretchingShortVo : voStretchingColl)
    {
        populateParentNode(stretchingShortVo);          
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateParentNodes(StretchingShortVoCollection voStretchingColl)
{
    if (voStretchingColl == null)
        return;

    for(StretchingShortVo stretchingShortVo : voStretchingColl)
    {
        populateParentNode(stretchingShortVo);          
    }
}