class GetResourcesAction

Delegates this call to IUIPMListener, by calling it's getResources method.

Public Methods

[more] GetResourcesAction(IUIPMListener*uipmListener)
Constructor.
[more]string execute()
Parse the requestBody and get the response by calling IUIPMListener's getResources() and prepare a response String that will return to URC-HTTP UIPM.


Documentation

Delegates this call to IUIPMListener, by calling it's getResources method. Parse the request and get the response by calling getResources method of IUIPMListener.

o GetResourcesAction(IUIPMListener*uipmListener)
Constructor. Assign the reference of IUIPMListener to local variable.

Parameters:
- uipmListener an Object of IUIPMListener

ostring execute()
Parse the requestBody and get the response by calling IUIPMListener's getResources() and prepare a response String that will return to URC-HTTP UIPM.

The requestBody should be like :

<getResources> <resource eltRef="eltRef" valRef="value" opRef="opUri" role="roleUri" type="type" format="mimetype" forLang="langcode" forTargetInstance="targetId" creator="creator" publisher="publisher" date="date" audience="audience" /> ... </getResources>

The responseBody will be like :

<resources> <resource> resource </resource> ... </resources>

Returns:
a String Value of response


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

Alphabetic index HTML hierarchy of classes or Java



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