//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
virtual ~Database(void);
/**
- * @if OSPDEPREC
- * @{
+ * @cond OSPDEPREC
* Initializes this instance of %Database with the specified parameters. @n
* This method creates a new database file or opens an existing database file in the read-write mode.
*
* @remarks To open the database file in the read-only mode,
* use the Database::Construct(const Tizen::Base::String& dbPath, const char* pOpenMode) method
* with "r" as the value for the open mode flag.
- * @}
- * @endif
+ * @endcond
*/
result Construct(const Tizen::Base::String& dbPath, bool createIfNotExist);
/**
- * @if OSPDEPREC
- * @{
+ * @cond OSPDEPREC
* Initializes this instance of %Database with the specified parameters. @n
* This method creates a new database file or opens an existing database file in the read-only or the read-write mode.
*
* - The method has failed to open or create a file. @n
* - An unexpected device failure has occurred as the media ejected suddenly. @n
* - %File corruption is detected.
- * @}
- * @endif
+ * @endcond
*/
result Construct(const Tizen::Base::String& dbPath, long openMode, long option);
* - %File corruption is detected. @n
* @exception E_UNSUPPORTED_OPERATION The Emulator or target device does not support the required feature. For more information, see
* <a href="../org.tizen.gettingstarted/html/tizen_overview/application_filtering.htm">Application Filtering</a>.
- * @remarks Before calling this method, check whether the feature is supported by %Tizen::System::SystemInfo::GetValue() methods.
+ * @remarks Before calling this method, check whether the feature is supported by Tizen::System::SystemInfo::GetValue(const Tizen::Base::String&, bool&).
*/
result Construct(const Tizen::Base::String& dbPath, const char* pOpenMode, const Tizen::Base::ByteBuffer& secretKey);
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @exception E_UNSUPPORTED_OPERATION The Emulator or target device does not support the required feature. For more information, see
* <a href="../org.tizen.gettingstarted/html/tizen_overview/application_filtering.htm">Application Filtering</a>.
- * @remarks Before calling this method, check whether the feature is supported by %Tizen::System::SystemInfo::GetValue() methods.
+ * @remarks Before calling this method, check whether the feature is supported by Tizen::System::SystemInfo::GetValue(const Tizen::Base::String&, bool&).
*/
static result ConvertToSecureDatabase(const Tizen::Base::String& normalDbPath, const Tizen::Base::String& secureDbPath,
const Tizen::Base::ByteBuffer& secretKey);