public class DadgetServiceImpl extends java.lang.Object implements DadgetService
Constructor and Description |
---|
DadgetServiceImpl(<any> authenticatorServiceProvider,
<any> entityManagerProvider) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Dadget> |
getDadgetsWithParameterDefinition(ParameterDefinition pd) |
java.util.List<DashboardReference> |
getDashboardContainerssWith(DashboardNode node) |
java.util.List<FavoriteList> |
getFavoriteListsWithFavorite(AbstractTsDiskNode node) |
java.util.List<LibraryDadget> |
getLibraryDadgetsWith(DadgetNode node) |
java.util.Collection<ReportDadget> |
getReportDadgetsWith(Report report) |
java.util.Collection<ReportDadget> |
getReportDadgetsWith(TsDiskReportReference reference) |
FavoriteList |
loadFavoriteList() |
FavoriteList |
loadFavoriteList(User currentUser) |
FavoriteList |
merge(FavoriteList list) |
void |
persist(FavoriteListEntry entry) |
void |
remove(FavoriteList list) |
void |
remove(FavoriteList list,
FavoriteListEntry entry) |
void |
removeFromFavorites(AbstractTsDiskNode node) |
void |
removeFromReportDadgets(Report report) |
void |
removeFromReportDadgets(TsDiskReportReference reference) |
public DadgetServiceImpl(<any> authenticatorServiceProvider, <any> entityManagerProvider)
public FavoriteList loadFavoriteList()
loadFavoriteList
in interface DadgetService
@QueryByAttribute(where=<error>) public FavoriteList loadFavoriteList(User currentUser)
loadFavoriteList
in interface DadgetService
public void persist(FavoriteListEntry entry)
persist
in interface DadgetService
public FavoriteList merge(FavoriteList list)
merge
in interface DadgetService
public void remove(FavoriteList list)
remove
in interface DadgetService
public void remove(FavoriteList list, FavoriteListEntry entry)
remove
in interface DadgetService
public void removeFromFavorites(AbstractTsDiskNode node)
removeFromFavorites
in interface DadgetService
public void removeFromReportDadgets(Report report)
removeFromReportDadgets
in interface DadgetService
public void removeFromReportDadgets(TsDiskReportReference reference)
removeFromReportDadgets
in interface DadgetService
@SimpleQuery(from=Dadget.class, join=@Join(joinAttribute=<error>,where=@Predicate(attribute=<error>,value="pd"))) public java.util.Collection<Dadget> getDadgetsWithParameterDefinition(ParameterDefinition pd)
@QueryByAttribute(where=<error>) public java.util.Collection<ReportDadget> getReportDadgetsWith(Report report)
getReportDadgetsWith
in interface DadgetService
@QueryByAttribute(where=<error>) public java.util.Collection<ReportDadget> getReportDadgetsWith(TsDiskReportReference reference)
getReportDadgetsWith
in interface DadgetService
@SimpleQuery(join=@Join(joinAttribute=<error>,where=@Predicate(attribute=<error>,value="fav"))) public java.util.List<FavoriteList> getFavoriteListsWithFavorite(AbstractTsDiskNode node)
@QueryByAttribute(where=<error>) public java.util.List<LibraryDadget> getLibraryDadgetsWith(DadgetNode node)
getLibraryDadgetsWith
in interface DadgetService
@QueryByAttribute(where=<error>) public java.util.List<DashboardReference> getDashboardContainerssWith(DashboardNode node)
getDashboardContainerssWith
in interface DadgetService