class Profile

Provide the implementation of IProfile.

Inheritance:


Public Methods

[more] Profile()
Default Constructor
[more]string getValue(string key, string password)
Get the value for specified key and password.
[more]bool removeValue(string key, string password)
Remove the specified value.
[more]bool setValue(string key, string value, string password)
Store the value of Key, Value and Password.
[more]list<string> * getCoreKeys()
Get an Array or core keys.
[more]bool isKeyExists( string key )
Check whether the specified key is exists or not.
[more]string findPassword( string key )
Find password for the specified key.


Documentation

Provide the implementation of IProfile.

o Profile()
Default Constructor

ostring getValue(string key, string password)
Get the value for specified key and password. Key must not be null. password may be null.

Parameters:
key - a String value of key
password - a String value of password
Returns:
a String value

obool removeValue(string key, string password)
Remove the specified value. Key must not be null. Password may be null.

Parameters:
key - a String value of key
password - a String value of password
Returns:
a boolean value indicates that the value removed successfully or not.

obool setValue(string key, string value, string password)
Store the value of Key, Value and Password. If the value store successfully then returns true else returns false. Key and Value must not be null. Password may be null. If the key has not existed yet, the password is stored for future access to the key-value pair. If the key has already existed, the password must match the password for the stored key-value pair.

Parameters:
key - a String value of key
value - a String value of value
password - a String value of password
Returns:
a boolean value indicates that the value stored successfully or not.

olist<string> * getCoreKeys()
Get an Array or core keys.

Returns:
an Object of List<String>

obool isKeyExists( string key )
Check whether the specified key is exists or not.

Parameters:
key - a String value of key.
Returns:
a boolean value

ostring findPassword( string key )
Find password for the specified key.

Parameters:
key - a String value of key
Returns:
a String value of password


This class has no child classes.
Author:
Parikshit Thakur & Team, Trace R&D Center
Version:
Revision: 1.1

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.