Java 类ims.core.vo.domain.LocationServiceMidVoAssembler 实例源码

项目:AvoinApotti    文件:LocationServiceImpl.java   
public LocationServiceMidVoCollection listLocationServiceLite(LocationRefVo voLocation)
{
    DomainFactory factory = getDomainFactory();

    if (voLocation == null)
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(factory.listDomainObjects(LocationService.class)).sort();

    if (voLocation.getID_LocationIsNotNull())
    {
        java.util.List servactList = factory.find("from  LocationService locService where locService.location.id = :locationId", new String[]{"locationId"}, new Object[]{voLocation.getID_Location()});
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(servactList).sort();
    }

    return null;
}
项目:openMAXIMS    文件:LocationServiceImpl.java   
public LocationServiceMidVoCollection listLocationServiceLite(LocationRefVo voLocation)
{
    DomainFactory factory = getDomainFactory();

    if (voLocation == null)
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(factory.listDomainObjects(LocationService.class)).sort();

    if (voLocation.getID_LocationIsNotNull())
    {
        java.util.List servactList = factory.find("from  LocationService locService where locService.location.id = :locationId", new String[]{"locationId"}, new Object[]{voLocation.getID_Location()});
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(servactList).sort();
    }

    return null;
}
项目:openMAXIMS    文件:LocationServiceImpl.java   
public LocationServiceMidVoCollection listLocationServiceLite(LocationRefVo voLocation)
{
    DomainFactory factory = getDomainFactory();

    if (voLocation == null)
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(factory.listDomainObjects(LocationService.class)).sort();

    if (voLocation.getID_LocationIsNotNull())
    {
        java.util.List servactList = factory.find("from  LocationService locService where locService.location.id = :locationId", new String[]{"locationId"}, new Object[]{voLocation.getID_Location()});
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(servactList).sort();
    }

    return null;
}
项目:openmaxims-linux    文件:LocationServiceImpl.java   
public LocationServiceMidVoCollection listLocationServiceLite(LocationRefVo voLocation)
{
    DomainFactory factory = getDomainFactory();

    if (voLocation == null)
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(factory.listDomainObjects(LocationService.class)).sort();

    if (voLocation.getID_LocationIsNotNull())
    {
        java.util.List servactList = factory.find("from  LocationService locService where locService.location.id = :locationId", new String[]{"locationId"}, new Object[]{voLocation.getID_Location()});
        return LocationServiceMidVoAssembler.createLocationServiceMidVoCollectionFromLocationService(servactList).sort();
    }

    return null;
}