@@ -0,0 +1,1080 @@
+package com.khartec.waltz.service.tags;%0A%0Aimport com.khartec.waltz.data.application.AppTagDao;%0Aimport com.khartec.waltz.model.application.Application;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Service;%0A%0Aimport java.util.Collection;%0Aimport java.util.List;%0A%0Aimport static com.khartec.waltz.common.Checks.checkNotNull;%0A%0A/**%0A * Tags for applications%0A */%0A@Service%0Apublic class AppTagService %7B%0A%0A    private final AppTagDao appTagDao;%0A%0A%0A    @Autowired%0A    public AppTagService(AppTagDao appTagDao) %7B%0A        this.appTagDao = appTagDao;%0A    %7D%0A%0A%0A    public List%3CString%3E findAllTags() %7B%0A        return appTagDao.findAllTags();%0A    %7D%0A%0A%0A    public List%3CString%3E findTagsForApplication(long appId) %7B%0A        return appTagDao.findTagsForApplication(appId);%0A    %7D%0A%0A%0A    public List%3CApplication%3E findByTag(String tag) %7B%0A        return appTagDao.findByTag(tag);%0A    %7D%0A%0A%0A    public int%5B%5D updateTags(long id, Collection%3CString%3E tags) %7B%0A        checkNotNull(tags, %22tags cannot be null%22);%0A        return appTagDao.updateTags(id, tags);%0A    %7D%0A%7D%0A

Optimise app-view page loading