Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.util.device
Class DeviceStorage

java.lang.Object
  extended by oracle.adfnmc.util.device.DeviceStorage

public class DeviceStorage
extends java.lang.Object


Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Constructor Summary
DeviceStorage()
           
 
Method Summary
protected static byte[] getBytes()
           
static void persist(java.lang.String sRMSStoreName, byte[] bData)
          Persists/ Stores the data in the record store with provided name
static byte[] retrieveStoredData(java.lang.String sRMSStoreName)
          Retrieves the data stored in the record store with provided name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE
Constructor Detail

DeviceStorage

public DeviceStorage()
Method Detail

persist

public static void persist(java.lang.String sRMSStoreName,
                           byte[] bData)
                    throws java.lang.Exception
Persists/ Stores the data in the record store with provided name

Parameters:
sRMSStoreName - - store name corresponding to which data needs to be retrieved
bData - - Data in the byte array format to be stored.
Throws:
java.lang.Exception - if any exception happens

retrieveStoredData

public static byte[] retrieveStoredData(java.lang.String sRMSStoreName)
                                 throws java.lang.Exception
Retrieves the data stored in the record store with provided name

Parameters:
sRMSStoreName - - store name corresponding to which data needs to be retrieved
Returns:
byte array of decrypted data.
Throws:
java.lang.Exception - if any exception happens

getBytes

protected static final byte[] getBytes()

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.