class RetrievalManager

Retrieve the resource from given resource properties map or directly from given URL

Public Methods

[more]static RetrievalManager* getInstance(string resServerUrl, string cacheDir, string userName, string password)
Get an instance of ResourceRetrival class.
[more]bool retrieveResource(string dynamicLibName, string url)
Retrieve the resource
[more]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.
[more]list<map<string, list<string>*>*> * getResource(map<string, list<string>*>* propMap)
Get the resources
[more]list<list<map<string, list<string>*>*>*> * getResources( list<map<string, list<string>*>*>* resPropList)
Get the resources
[more]string retrieveResource(string url)
Get resources directly from url
[more]string getServerDNS(string url)
Get the DNS for given IP address based URL
[more]list<string> * clearCache()
Clear all resources cache
[more]list<string> * clearUipmClientCache()
Clear all uipm client cache
[more]list<string> * clearByResourceTypeFromCache(string resourceType)
Clear all cache by resource Type
[more]void deleteResource(string localPath)
Delete the resource on hard disk
[more]list<string> * clearResourceSheetCache()
Clear all resource sheet cache


Documentation

Retrieve the resource from given resource properties map or directly from given URL
ostatic 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.

obool 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

obool 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

olist<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;

olist<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;

ostring 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

ostring 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

olist<string> * clearCache()
Clear all resources cache
Returns:
list of clear resources

olist<string> * clearUipmClientCache()
Clear all uipm client cache
Returns:
list<string> of deleted uipm clients

olist<string> * clearByResourceTypeFromCache(string resourceType)
Clear all cache by resource Type
Returns:
list<string> of resources

ovoid deleteResource(string localPath)
Delete the resource on hard disk
Parameters:
localPath - a String value of local path

olist<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++.