Retrieve the resource from given resource properties map or directly from given URL
Public Methods
-
static RetrievalManager* getInstance(string resServerUrl, string cacheDir, string userName, string password)
- Get an instance of ResourceRetrival class.
-
bool retrieveResource(string dynamicLibName, string url)
- Retrieve the resource
-
bool sendQueriesRequest(list<map<string, list<string>*>*>* resPropList, list<bool>* resourceDownloadMap, string fileName)
- Send Query request on Resource Server and return response as a string.
-
list<map<string, list<string>*>*> * getResource(map<string, list<string>*>* propMap)
- Get the resources
-
list<list<map<string, list<string>*>*>*> * getResources( list<map<string, list<string>*>*>* resPropList)
- Get the resources
-
string retrieveResource(string url)
- Get resources directly from url
-
string getServerDNS(string url)
- Get the DNS for given IP address based URL
-
list<string> * clearCache()
- Clear all resources cache
-
list<string> * clearUipmClientCache()
- Clear all uipm client cache
-
list<string> * clearByResourceTypeFromCache(string resourceType)
- Clear all cache by resource Type
-
void deleteResource(string localPath)
- Delete the resource on hard disk
-
list<string> * clearResourceSheetCache()
- Clear all resource sheet cache
Documentation
Retrieve the resource from given resource properties map or directly from given URL
static RetrievalManager* getInstance(string resServerUrl, string cacheDir, string userName, string password)
-
Get an instance of ResourceRetrival class.
- Parameters:
- resServerUrl - a string value of Resource Server URL
userName - a string value of userName
password - a string value of password
serverName - a string value of serverName
serverIP - a string value of serverIP
- Returns:
- an instance of ResourceRetrival class.
bool retrieveResource(string dynamicLibName, string url)
-
Retrieve the resource
- Parameters:
- dynamicLibName - a string Value of URL
url - a string Value name of resource
- Returns:
- true if retrieval Manager is successfull in retreiving the resource
bool sendQueriesRequest(list<map<string, list<string>*>*>* resPropList, list<bool>* resourceDownloadMap, string fileName)
-
Send Query request on Resource Server and return response as a string.
- Parameters:
- propMap - a Map<string, string> of Properties required to query resource
- Returns:
- true if retrieval Manager is successfull in sending the query to resource server
list<map<string, list<string>*>*> * getResource(map<string, list<string>*>* propMap)
-
Get the resources
- Parameters:
- propMap - a Map<string, string> of Properties required to get resources
- Returns:
- list of map containing the matched resources for given resources propMap;
list<list<map<string, list<string>*>*>*> * getResources( list<map<string, list<string>*>*>* resPropList)
-
Get the resources
- Parameters:
- resPropList - list of propMap a Map<string, string> of Properties required to get resources
- Returns:
- list<map<string, Object>> list of map containing the matched resources for given resources propMap;
string retrieveResource(string url)
-
Get resources directly from url
- Parameters:
- url - a string Value of URL
string - Value of uri of resource i.e. local path to resource
string getServerDNS(string url)
-
Get the DNS for given IP address based URL
- Parameters:
- url - a string Value of URL
- Returns:
- string Value of DNS for given URL
list<string> * clearCache()
-
Clear all resources cache
- Returns:
- list of clear resources
list<string> * clearUipmClientCache()
-
Clear all uipm client cache
- Returns:
- list<string> of deleted uipm clients
list<string> * clearByResourceTypeFromCache(string resourceType)
-
Clear all cache by resource Type
- Returns:
- list<string> of resources
void deleteResource(string localPath)
-
Delete the resource on hard disk
- Parameters:
- localPath - a String value of local path
list<string> * clearResourceSheetCache()
-
Clear all resource sheet cache
- Returns:
- list<string> of deleted resource sheet
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.