use of org.liferay.jukebox.service.persistence.AlbumExportActionableDynamicQuery in project liferay-ide by liferay.
the class JukeboxPortletDataHandler method doExportData.
@Override
protected String doExportData(PortletDataContext portletDataContext, String portletId, PortletPreferences portletPreferences) throws Exception {
Element rootElement = addExportDataRootElement(portletDataContext);
if (portletDataContext.getBooleanParameter(NAMESPACE, "albums")) {
ActionableDynamicQuery albumActionableDynamicQuery = new AlbumExportActionableDynamicQuery(portletDataContext);
albumActionableDynamicQuery.performActions();
}
if (portletDataContext.getBooleanParameter(NAMESPACE, "artists")) {
ActionableDynamicQuery artistActionableDynamicQuery = new ArtistExportActionableDynamicQuery(portletDataContext);
artistActionableDynamicQuery.performActions();
}
return getExportDataRootElementString(rootElement);
}
use of org.liferay.jukebox.service.persistence.AlbumExportActionableDynamicQuery in project liferay-ide by liferay.
the class JukeboxPortletDataHandler method doPrepareManifestSummary.
@Override
protected void doPrepareManifestSummary(PortletDataContext portletDataContext, PortletPreferences portletPreferences) throws Exception {
ActionableDynamicQuery albumActionableDynamicQuery = new AlbumExportActionableDynamicQuery(portletDataContext);
albumActionableDynamicQuery.performCount();
ActionableDynamicQuery artistActionableDynamicQuery = new ArtistExportActionableDynamicQuery(portletDataContext);
artistActionableDynamicQuery.performCount();
}
Aggregations