ibspan.tss.um
Class UMHelper

java.lang.Object
  extended by ibspan.tss.um.UMHelper

public class UMHelper
extends Object

This class provides a few useful methods as work-around to access some OWL data, not accessible via Jastor-generated Java beans.

Author:
Maciej Gawinecki

Constructor Summary
UMHelper()
           
 
Method Summary
static Opinion getUserOpinionAbout(Model profiles, Integer userID, String concept)
          Returns opinion about the given opinion stated by the given user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMHelper

public UMHelper()
Method Detail

getUserOpinionAbout

public static Opinion getUserOpinionAbout(Model profiles,
                                          Integer userID,
                                          String concept)
                                   throws com.ibm.adtech.jastor.JastorException
Returns opinion about the given opinion stated by the given user.

Parameters:
userID - user stating the opinion
concept - concept objected by the opinion
Returns:
returns opinion if exists; otherwise -- returns null
Throws:
com.ibm.adtech.jastor.JastorException