const WidgetRegisterInfo &pWidgetRegisterInfo,
const IWidgetSecurity &widgetSecurity);
- /**
- * This method re-registers the widget information to the DB when it is
- * installed.
- *
- * It performs unregistration and new registration of widget in db in one
- * transaction.
- *
- * @see WidgetRegisterInfo
- * @param[in] tzAppId Widget tizen app id that will be registered.
- * @param[in] pWidgetRegisterInfo Specified the widget's information
- * needed to be registered.
- * @param[in] widgetSecurity Widget's security certificates.
- */
- static void registerOrUpdateWidget(
- const TizenAppId & tzAppId,
- const WidgetRegisterInfo &widgetRegInfo,
- const IWidgetSecurity &widgetSecurity);
-
- /* This method backup widget information and update new widget information
- * for restore widget information
- */
- static void backupAndUpdateWidget(
- const TizenAppId & oldAppId,
- const TizenAppId & newAppId,
- const WidgetRegisterInfo &widgetRegInfo,
- const IWidgetSecurity &widgetSecurity);
-
- static void restoreUpdateWidget(
- const TizenAppId & oldAppId,
- const TizenAppId & newAppId);
-
+ static void updateTizenAppId(const TizenAppId & fromAppId,
+ const TizenAppId & toAppId);
/**
* This method removes a widget's information from EmDB.
*
*/
static void unregisterWidget(const TizenAppId & tzAppId);
- static void unregisterWidget(WrtDB::DbWidgetHandle handle) __attribute__((
- deprecated));
-
/* This method removes widget property
*/
void removeProperty(const PropertyDAOReadOnly::WidgetPropertyKey &key);
const IWidgetSecurity &widgetSecurity,
const DPL::Optional<DbWidgetHandle> handle =
DPL::Optional<DbWidgetHandle>());
- static void unregisterWidgetInternal(
- const TizenAppId & tzAppId);
-
- static void updateWidgetAppIdInternal(
- const TizenAppId & fromAppId,
- const TizenAppId & toAppId);
-
+ static void unregisterWidgetInternal(const TizenAppId & tzAppId);
static void insertAppControlInfo(DbWidgetHandle handle,
- DPL::String src,
- DPL::String operation,
- DPL::String uri,
- DPL::String mime,
- unsigned index,
- unsigned disposition);
+ DPL::String src,
+ DPL::String operation,
+ DPL::String uri,
+ DPL::String mime,
+ unsigned index,
+ unsigned disposition);
};
} // namespace WrtDB