Provide the implementation of IProfile.
Inheritance:
Public Methods
-
Profile()
- Default Constructor
-
string getValue(string key, string password)
- Get the value for specified key and password.
-
bool removeValue(string key, string password)
- Remove the specified value.
-
bool setValue(string key, string value, string password)
- Store the value of Key, Value and Password.
-
list<string> * getCoreKeys()
- Get an Array or core keys.
-
bool isKeyExists( string key )
- Check whether the specified key is exists or not.
-
string findPassword( string key )
- Find password for the specified key.
Documentation
Provide the implementation of IProfile.
Profile()
-
Default Constructor
string 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
bool 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.
bool 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.
list<string> * getCoreKeys()
-
Get an Array or core keys.
- Returns:
- an Object of List<String>
bool isKeyExists( string key )
-
Check whether the specified key is exists or not.
- Parameters:
- key - a String value of key.
- Returns:
- a boolean value
string 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++.