Java 类ims.emergency.vo.domain.UserAssessmentForWhiteboardConfigVoAssembler 实例源码

项目:AvoinApotti    文件:AddEditAssessmentsToWhiteboardImpl.java   
public ims.emergency.vo.UserAssessmentForWhiteboardConfigVoCollection listAssessments(String searchName)
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer(" ");
    String query = "from UserAssessment u where upper(u.name) like :name and u.activeStatus =:status";

    query += hql.toString();

    List <?> list = factory.find(query, new String[]{"name","status"} , new Object[] {searchName+"%",getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)});

    return UserAssessmentForWhiteboardConfigVoAssembler.createUserAssessmentForWhiteboardConfigVoCollectionFromUserAssessment(list).sort();
}
项目:openMAXIMS    文件:AddEditAssessmentsToWhiteboardImpl.java   
public ims.emergency.vo.UserAssessmentForWhiteboardConfigVoCollection listAssessments(String searchName)
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer(" ");
    String query = "from UserAssessment u where upper(u.name) like :name and u.activeStatus =:status";

    query += hql.toString();

    List <?> list = factory.find(query, new String[]{"name","status"} , new Object[] {searchName+"%",getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)});

    return UserAssessmentForWhiteboardConfigVoAssembler.createUserAssessmentForWhiteboardConfigVoCollectionFromUserAssessment(list).sort();
}
项目:openMAXIMS    文件:AddEditAssessmentsToWhiteboardImpl.java   
public ims.emergency.vo.UserAssessmentForWhiteboardConfigVoCollection listAssessments(String searchName)
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer(" ");
    String query = "from UserAssessment u where upper(u.name) like :name and u.activeStatus =:status";

    query += hql.toString();

    List <?> list = factory.find(query, new String[]{"name","status"} , new Object[] {searchName+"%",getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)});

    return UserAssessmentForWhiteboardConfigVoAssembler.createUserAssessmentForWhiteboardConfigVoCollectionFromUserAssessment(list).sort();
}
项目:openmaxims-linux    文件:AddEditAssessmentsToWhiteboardImpl.java   
public ims.emergency.vo.UserAssessmentForWhiteboardConfigVoCollection listAssessments(String searchName)
{
    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer(" ");
    String query = "from UserAssessment u where upper(u.name) like :name and u.activeStatus =:status";

    query += hql.toString();

    List <?> list = factory.find(query, new String[]{"name","status"} , new Object[] {searchName+"%",getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)});

    return UserAssessmentForWhiteboardConfigVoAssembler.createUserAssessmentForWhiteboardConfigVoCollectionFromUserAssessment(list).sort();
}