SQL_CONNECTION_EXCEPTION_HANDLER_END("Failed to get Pkgname list")
}
+TizenPkgIdList WidgetDAOReadOnly::getTizenPkgidList()
+{
+ LogDebug("Getting Pkgid List ");
+ SQL_CONNECTION_EXCEPTION_HANDLER_BEGIN
+ {
+ WRT_DB_SELECT(select, WidgetInfo, &WrtDatabase::interface())
+ return select->GetValueList<WidgetInfo::tizen_pkgid>();
+ }
+ SQL_CONNECTION_EXCEPTION_HANDLER_END("Failed to get Pkgid list")
+}
+
DbWidgetDAOReadOnlyList WidgetDAOReadOnly::getWidgetList()
{
LogDebug("Getting DbWidget List");
*/
typedef std::list<DbWidgetHandle> DbWidgetHandleList;
typedef std::list<TizenAppId> TizenAppIdList;
+typedef std::list<TizenPkgId> TizenPkgIdList;
class WidgetDAOReadOnly; //forward declaration
typedef std::shared_ptr<WidgetDAOReadOnly> WidgetDAOReadOnlyPtr;
static TizenAppIdList getTizenAppidList();
/**
+ * This method returns list of tizen package list of installed packages
+ * @return list of TizenPkgIdList of installed packages
+ */
+ static TizenPkgIdList getTizenPkgidList();
+
+ /**
* This method returns a list of all the installed widgets.
*
* @return list of installed widgets.