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

项目:AvoinApotti    文件:FunctionalTransfersImpl.java   
/**
 *  Domain Interface function used to retrieve Functional Transfers for specific CareContext
 */
public FunctionalTransfersShortVoCollection listFunctionalTransfersByCareContext(CareContextRefVo careContextRef)
{
    // Check parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Invalid parameter CareContext");

    String query = "from FunctionalTransfers as ft where ft.clinicalContact.careContext.id = :CCID";

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

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

    return FunctionalTransfersShortVoAssembler.createFunctionalTransfersShortVoCollectionFromFunctionalTransfers(getDomainFactory().find(query, paramNames, paramValues));
}
项目:openMAXIMS    文件:FunctionalTransfersImpl.java   
/**
 *  Domain Interface function used to retrieve Functional Transfers for specific CareContext
 */
public FunctionalTransfersShortVoCollection listFunctionalTransfersByCareContext(CareContextRefVo careContextRef)
{
    // Check parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Invalid parameter CareContext");

    String query = "from FunctionalTransfers as ft where ft.clinicalContact.careContext.id = :CCID";

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

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

    return FunctionalTransfersShortVoAssembler.createFunctionalTransfersShortVoCollectionFromFunctionalTransfers(getDomainFactory().find(query, paramNames, paramValues));
}
项目:openMAXIMS    文件:FunctionalTransfersImpl.java   
/**
 *  Domain Interface function used to retrieve Functional Transfers for specific CareContext
 */
public FunctionalTransfersShortVoCollection listFunctionalTransfersByCareContext(CareContextRefVo careContextRef)
{
    // Check parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Invalid parameter CareContext");

    String query = "from FunctionalTransfers as ft where ft.clinicalContact.careContext.id = :CCID";

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

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

    return FunctionalTransfersShortVoAssembler.createFunctionalTransfersShortVoCollectionFromFunctionalTransfers(getDomainFactory().find(query, paramNames, paramValues));
}
项目:openmaxims-linux    文件:FunctionalTransfersImpl.java   
/**
 *  Domain Interface function used to retrieve Functional Transfers for specific CareContext
 */
public FunctionalTransfersShortVoCollection listFunctionalTransfersByCareContext(CareContextRefVo careContextRef)
{
    // Check parameter
    if (careContextRef == null || !careContextRef.getID_CareContextIsNotNull())
        throw new DomainRuntimeException("Invalid parameter CareContext");

    String query = "from FunctionalTransfers as ft where ft.clinicalContact.careContext.id = :CCID";

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

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

    return FunctionalTransfersShortVoAssembler.createFunctionalTransfersShortVoCollectionFromFunctionalTransfers(getDomainFactory().find(query, paramNames, paramValues));
}
项目:AvoinApotti    文件:Logic.java   
private void populateParentNodes(FunctionalTransfersShortVoCollection voCollFunctTransParents)
{
    if (voCollFunctTransParents == null || voCollFunctTransParents.size() <= 0)
        return;

    for (int i = 0; i < voCollFunctTransParents.size(); i++)
    {
        populateParentNode(voCollFunctTransParents.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateParentNodes(FunctionalTransfersShortVoCollection voCollFunctTransParents)
{
    if (voCollFunctTransParents == null || voCollFunctTransParents.size() <= 0)
        return;

    for (int i = 0; i < voCollFunctTransParents.size(); i++)
    {
        populateParentNode(voCollFunctTransParents.get(i));
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateParentNodes(FunctionalTransfersShortVoCollection voCollFunctTransParents)
{
    if (voCollFunctTransParents == null || voCollFunctTransParents.size() <= 0)
        return;

    for (int i = 0; i < voCollFunctTransParents.size(); i++)
    {
        populateParentNode(voCollFunctTransParents.get(i));
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateParentNodes(FunctionalTransfersShortVoCollection voCollFunctTransParents)
{
    if (voCollFunctTransParents == null || voCollFunctTransParents.size() <= 0)
        return;

    for (int i = 0; i < voCollFunctTransParents.size(); i++)
    {
        populateParentNode(voCollFunctTransParents.get(i));
    }
}