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