javacommons/javastorage/inc/javastoragenames.h
changeset 21 2a9601315dfc
child 78 71ad690e91f5
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  javastoragenames
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef JAVASTORAGENAMES_H
       
    20 #define JAVASTORAGENAMES_H
       
    21 
       
    22 namespace java
       
    23 {
       
    24 namespace storage
       
    25 {
       
    26 
       
    27 /**
       
    28  * Application package related attributes.
       
    29  */
       
    30 const char APPLICATION_PACKAGE_TABLE[] = "APPLICATION_PACKAGE";
       
    31 
       
    32 /**
       
    33  * Application related attributes.
       
    34  */
       
    35 const char APPLICATION_TABLE[] = "APPLICATION";
       
    36 
       
    37 /**
       
    38  * Application package attributes. All manifest attributes are stored here.
       
    39  */
       
    40 const char APPLICATION_PACKAGE_ATTRIBUTES_TABLE[] =
       
    41     "APPLICATION_PACKAGE_ATTRIBUTES";
       
    42 
       
    43 /**
       
    44  * MIDP package related settings.
       
    45  */
       
    46 const char MIDP_PACKAGE_TABLE[] = "MIDP_PACKAGE";
       
    47 
       
    48 /**
       
    49  * Application permissions.
       
    50  */
       
    51 const char MIDP_PERMISSIONS_TABLE[] = "MIDP_PERMISSIONS";
       
    52 
       
    53 /**
       
    54  * Security settings.
       
    55  */
       
    56 const char MIDP_FUNC_GRP_SETTINGS_TABLE[] = "MIDP_FUNCTION_GRP_SETTINGS";
       
    57 
       
    58 /**
       
    59  * Push registrations.
       
    60  */
       
    61 const char PUSH_REGISTRATIONS_TABLE[] = "PUSH_REGISTRATIONS";
       
    62 
       
    63 /**
       
    64  * Alarm registrations.
       
    65  */
       
    66 const char ALARM_REGISTRATIONS_TABLE[] = "ALARM_REGISTRATIONS";
       
    67 
       
    68 /**
       
    69  * Runtime related settings.
       
    70  */
       
    71 const char RUNTIME_SETTINGS_TABLE[] = "RUNTIME_SETTINGS";
       
    72 
       
    73 /**
       
    74  * OTA status codes.
       
    75  */
       
    76 const char OTA_STATUS_TABLE[] = "OTA_STATUS";
       
    77 
       
    78 /**
       
    79  * Preinstall related data.
       
    80  */
       
    81 const char PREINSTALL_TABLE[] = "PREINSTALL";
       
    82 
       
    83 /**
       
    84  * Java platform storage name. All Java platform related attributes and
       
    85  * settings are stored to this database.
       
    86  */
       
    87 const char JAVA_DATABASE_NAME[] = "JavaStorage";
       
    88 
       
    89 /**
       
    90  * Java platform storage name for OTA status codes. OTA status codes
       
    91  * are stored to this database.
       
    92  */
       
    93 const char JAVA_OTA_DATABASE_NAME[] = "JavaOtaStorage";
       
    94 
       
    95 /**
       
    96  * ID attribute name. ID is related to application UID and it is used
       
    97  * to identify application information within table structures.
       
    98  */
       
    99 const wchar_t ID[] = L"ID";
       
   100 
       
   101 /**
       
   102  * Name.
       
   103  */
       
   104 const wchar_t NAME[] = L"NAME";
       
   105 
       
   106 /**
       
   107  * Application suite name.
       
   108  */
       
   109 const wchar_t PACKAGE_NAME[] = L"PACKAGE_NAME";
       
   110 
       
   111 /**
       
   112  * Vendor.
       
   113  */
       
   114 const wchar_t VENDOR[] = L"VENDOR";
       
   115 
       
   116 /**
       
   117  * Version.
       
   118  */
       
   119 const wchar_t VERSION[] = L"VERSION";
       
   120 
       
   121 /**
       
   122  * Application suite root path.
       
   123  */
       
   124 const wchar_t ROOT_PATH[] = L"ROOT_PATH";
       
   125 
       
   126 /**
       
   127  * Media ID where application suite is installed.
       
   128  */
       
   129 const wchar_t MEDIA_ID[] = L"MEDIA_ID";
       
   130 
       
   131 /**
       
   132  * Application suite initial size. This does not contain data
       
   133  * that is generated after installation.
       
   134  */
       
   135 const wchar_t INITIAL_SIZE[] = L"INITIAL_SIZE";
       
   136 
       
   137 /**
       
   138  * Application suite descriptor path.
       
   139  */
       
   140 const wchar_t JAD_PATH[] = L"JAD_PATH";
       
   141 
       
   142 /**
       
   143  * Application suite archive path.
       
   144  */
       
   145 const wchar_t JAR_PATH[] = L"JAR_PATH";
       
   146 
       
   147 /**
       
   148  * URL pointing to JAD file source location.
       
   149  */
       
   150 const wchar_t JAD_URL[] = L"JAD_URL";
       
   151 
       
   152 /**
       
   153  * URL pointing to JAR file source location.
       
   154  */
       
   155 const wchar_t JAR_URL[] = L"JAR_URL";
       
   156 
       
   157 /**
       
   158  * Application suite specific access point.
       
   159  */
       
   160 const wchar_t ACCESS_POINT[] = L"ACCESS_POINT";
       
   161 
       
   162 /**
       
   163  * Application suite content info.
       
   164  */
       
   165 const wchar_t CONTENT_INFO[] = L"CONTENT_INFO";
       
   166 
       
   167 /**
       
   168  * Application suite content id.
       
   169  */
       
   170 const wchar_t CONTENT_ID[] = L"CONTENT_ID";
       
   171 
       
   172 /**
       
   173  * ID indicating which application package this application belongs.
       
   174  */
       
   175 const wchar_t PACKAGE_ID[] = L"PACKAGE_ID";
       
   176 
       
   177 /**
       
   178  * Application main class.
       
   179  */
       
   180 const wchar_t MAIN_CLASS[] = L"MAIN_CLASS";
       
   181 
       
   182 /**
       
   183  * A flag indicating should application be started at boot time.
       
   184  */
       
   185 const wchar_t AUTORUN[] = L"AUTORUN";
       
   186 
       
   187 /**
       
   188  * Manifest attribute value.
       
   189  */
       
   190 const wchar_t VALUE[] = L"VALUE";
       
   191 
       
   192 /**
       
   193  * A flag indicating is this manifest attribute trusted.
       
   194  */
       
   195 const wchar_t TRUSTED[] = L"TRUSTED";
       
   196 
       
   197 /**
       
   198  * Application type.
       
   199  */
       
   200 const wchar_t TYPE[] = L"TYPE";
       
   201 
       
   202 /**
       
   203  * Name of the security domain.
       
   204  */
       
   205 const wchar_t SECURITY_DOMAIN[] = L"SECURITY_DOMAIN";
       
   206 
       
   207 /**
       
   208  * Predefined domain category application belongs to.
       
   209  */
       
   210 const wchar_t SECURITY_DOMAIN_CATEGORY[] = L"SECURITY_DOMAIN_CATEGORY";
       
   211 
       
   212 /**
       
   213  * Application hash value.
       
   214  */
       
   215 const wchar_t HASH[] = L"HASH";
       
   216 
       
   217 /**
       
   218  * Hash of the root certificate used to authenticate the application.
       
   219  */
       
   220 const wchar_t CERT_HASH[] = L"CERT_HASH";
       
   221 
       
   222 /**
       
   223  * Security warnings setting.
       
   224  */
       
   225 const wchar_t SECURITY_WARNINGS[] = L"SECURITY_WARNINGS";
       
   226 
       
   227 /**
       
   228  * URL pointing to applications RMS data file.
       
   229  */
       
   230 const wchar_t RMS[] = L"RMS";
       
   231 
       
   232 /**
       
   233  * List of successfully validated certificates. This is comma-separated
       
   234  * list of numbers of certificates validated successfully during
       
   235  * installation.
       
   236  */
       
   237 const wchar_t VALID_CERTS[] = L"VALID_CERTS";
       
   238 
       
   239 /**
       
   240  * Application on-screen keypad setting.
       
   241  */
       
   242 const wchar_t ON_SCREEN_KEYPAD[] = L"ON_SCREEN_KEYPAD";
       
   243 
       
   244 /**
       
   245  * MIDP3 permission class name.
       
   246  */
       
   247 const wchar_t CLASS[] = L"CLASS";
       
   248 
       
   249 /**
       
   250  * Requested action for this resource.
       
   251  */
       
   252 const wchar_t ACTION[] = L"ACTION";
       
   253 
       
   254 /**
       
   255  * The function group name where this action belongs.
       
   256  */
       
   257 const wchar_t FUNCTION_GROUP[] = L"FUNCTION_GROUP";
       
   258 
       
   259 /**
       
   260  * Allowed trust settings for this function group.
       
   261  */
       
   262 const wchar_t ALLOWED_SETTINGS[] = L"ALLOWED_SETTINGS";
       
   263 
       
   264 /**
       
   265  * Current security setting.
       
   266  */
       
   267 const wchar_t CURRENT_SETTING[] = L"CURRENT_SETTING";
       
   268 
       
   269 /**
       
   270  * A flag indicating whether the UI prompt for blanket mode has been shown.
       
   271  */
       
   272 const wchar_t BLANKET_PROMPT[] = L"BLANKET_PROMPT";
       
   273 
       
   274 /**
       
   275  * URL.
       
   276  */
       
   277 const wchar_t URL[] = L"URL";
       
   278 
       
   279 /**
       
   280  * Push filter.
       
   281  */
       
   282 const wchar_t FILTER[] = L"FILTER";
       
   283 
       
   284 /**
       
   285  * Type of push registration.
       
   286  */
       
   287 const wchar_t REGISTRATION_TYPE[] = L"REGISTRATION_TYPE";
       
   288 
       
   289 /**
       
   290  * Alarm date when application will be auto invocated.
       
   291  */
       
   292 const wchar_t ALARM_TIME[] = L"ALARM_TIME";
       
   293 
       
   294 /**
       
   295  * List of paths of installed extensions.
       
   296  */
       
   297 const wchar_t EXTENSIONS[] = L"EXTENSIONS";
       
   298 
       
   299 /**
       
   300  * OTA status code.
       
   301  */
       
   302 const wchar_t OTA_CODE[] = L"OTA_CODE";
       
   303 
       
   304 /**
       
   305  * Creation time.
       
   306  */
       
   307 const wchar_t CREATION_TIME[] = L"CREATION_TIME";
       
   308 
       
   309 /**
       
   310  * Last time action performed.
       
   311  */
       
   312 const wchar_t LATEST_RETRY_TIME[] = L"LATEST_RETRY_TIME";
       
   313 
       
   314 /**
       
   315  * Count of retries.
       
   316  */
       
   317 const wchar_t RETRY_COUNT[] = L"RETRY_COUNT";
       
   318 
       
   319 /**
       
   320  * Application suite intall state.
       
   321  */
       
   322 const wchar_t INSTALL_STATE[] = L"INSTALL_STATE";
       
   323 
       
   324 }    // java
       
   325 }    // storage
       
   326 
       
   327 #endif // JAVASTORAGENAMES_H