Search in sources :

Example 1 with AppListVo

use of com.baidu.disconf.web.service.app.vo.AppListVo in project disconf by knightliao.

the class AppMgrImpl method getAuthAppVoList.

/**
     *
     */
@Override
public List<AppListVo> getAuthAppVoList() {
    List<App> apps = appDao.getByIds(userInnerMgr.getVisitorAppIds());
    List<AppListVo> appListVos = new ArrayList<AppListVo>();
    for (App app : apps) {
        AppListVo appListVo = new AppListVo();
        appListVo.setId(app.getId());
        appListVo.setName(app.getName());
        appListVos.add(appListVo);
    }
    return appListVos;
}
Also used : App(com.baidu.disconf.web.service.app.bo.App) AppListVo(com.baidu.disconf.web.service.app.vo.AppListVo) ArrayList(java.util.ArrayList)

Aggregations

App (com.baidu.disconf.web.service.app.bo.App)1 AppListVo (com.baidu.disconf.web.service.app.vo.AppListVo)1 ArrayList (java.util.ArrayList)1