Java 类ims.ocrr.vo.domain.OrderEntryTemplateLiteVoAssembler 实例源码

项目:AvoinApotti    文件:SelectOrderEntryTemplateImpl.java   
/**
* listActiveOrderEntryTemplatesByName
*/
public OrderEntryTemplateLiteVoCollection listActiveOrderEntryTemplatesByName(String name)
{
    if (name == null || name.equals(""))
        throw new CodingRuntimeException("name is null or empty in method listActiveOrderEntryTemplatesByName");

    name.replaceAll("%", "");
    List templates = getDomainFactory().find("from OrderEntryTemplate oet where oet.activeStatus = :status and upper(oet.formName) like :name", new String[]{"status", "name"}, new Object[]{getDomLookup(PreActiveActiveInactiveStatus.ACTIVE),name.toUpperCase() + "%"});
    return OrderEntryTemplateLiteVoAssembler.createOrderEntryTemplateLiteVoCollectionFromOrderEntryTemplate(templates);
}
项目:openMAXIMS    文件:SelectOrderEntryTemplateImpl.java   
/**
* listActiveOrderEntryTemplatesByName
*/
public OrderEntryTemplateLiteVoCollection listActiveOrderEntryTemplatesByName(String name)
{
    if (name == null || name.equals(""))
        throw new CodingRuntimeException("name is null or empty in method listActiveOrderEntryTemplatesByName");

    name.replaceAll("%", "");
    List templates = getDomainFactory().find("from OrderEntryTemplate oet where oet.activeStatus = :status and upper(oet.formName) like :name", new String[]{"status", "name"}, new Object[]{getDomLookup(PreActiveActiveInactiveStatus.ACTIVE),name.toUpperCase() + "%"});
    return OrderEntryTemplateLiteVoAssembler.createOrderEntryTemplateLiteVoCollectionFromOrderEntryTemplate(templates);
}
项目:openMAXIMS    文件:SelectOrderEntryTemplateImpl.java   
/**
* listActiveOrderEntryTemplatesByName
*/
public OrderEntryTemplateLiteVoCollection listActiveOrderEntryTemplatesByName(String name)
{
    if (name == null || name.equals(""))
        throw new CodingRuntimeException("name is null or empty in method listActiveOrderEntryTemplatesByName");

    name.replaceAll("%", "");
    List templates = getDomainFactory().find("from OrderEntryTemplate oet where oet.activeStatus = :status and upper(oet.formName) like :name", new String[]{"status", "name"}, new Object[]{getDomLookup(PreActiveActiveInactiveStatus.ACTIVE),name.toUpperCase() + "%"});
    return OrderEntryTemplateLiteVoAssembler.createOrderEntryTemplateLiteVoCollectionFromOrderEntryTemplate(templates);
}
项目:openmaxims-linux    文件:SelectOrderEntryTemplateImpl.java   
/**
* listActiveOrderEntryTemplatesByName
*/
public OrderEntryTemplateLiteVoCollection listActiveOrderEntryTemplatesByName(String name)
{
    if (name == null || name.equals(""))
        throw new CodingRuntimeException("name is null or empty in method listActiveOrderEntryTemplatesByName");

    name.replaceAll("%", "");
    List templates = getDomainFactory().find("from OrderEntryTemplate oet where oet.activeStatus = :status and upper(oet.formName) like :name", new String[]{"status", "name"}, new Object[]{getDomLookup(PreActiveActiveInactiveStatus.ACTIVE),name.toUpperCase() + "%"});
    return OrderEntryTemplateLiteVoAssembler.createOrderEntryTemplateLiteVoCollectionFromOrderEntryTemplate(templates);
}