atg.svc.repository.beans.methods
Class SolutionRelevanceMethods

java.lang.Object
  extended by atg.svc.repository.beans.methods.BaseMethods
      extended by atg.svc.repository.beans.methods.SolutionRelevanceMethods

public class SolutionRelevanceMethods
extends BaseMethods


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
SolutionRelevanceMethods()
           
 
Method Summary
 int decrementHotUseCount(SolutionRelevance pSolutionRelevance)
          Decrements the hot use count for the solution and recomputes the score.
 int decrementUseCount(SolutionRelevance pSolutionRelevance)
          Decrements the use count for the solution and recomputes the score.
 int getHotScore(SolutionRelevance pSolutionRelevance)
          Gets the hot score if not already computed it's computes.
 int getQOAAScore(SolutionRelevance pSolutionRelevance)
          Gets the qoaa score if not already computed it's computes.
 int getTopScore(SolutionRelevance pSolutionRelevance)
          Gets the top score if not already computed it's computes.
 int incrementHotUseCount(SolutionRelevance pSolutionRelevance)
          Increments the hot use count for the solution and recomputes the score.
 int incrementUseCount(SolutionRelevance pSolutionRelevance)
          Increments the use count for the solution and recomputes the score.
 int incrementViewCount(SolutionRelevance pSolutionRelevance)
          Increments the view count for the solution and recomputes the score.
 
Methods inherited from class atg.svc.repository.beans.methods.BaseMethods
getServiceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

SolutionRelevanceMethods

public SolutionRelevanceMethods()
Method Detail

incrementUseCount

public int incrementUseCount(SolutionRelevance pSolutionRelevance)
Increments the use count for the solution and recomputes the score.

Returns:

decrementUseCount

public int decrementUseCount(SolutionRelevance pSolutionRelevance)
Decrements the use count for the solution and recomputes the score.

Returns:
the old use count

incrementViewCount

public int incrementViewCount(SolutionRelevance pSolutionRelevance)
Increments the view count for the solution and recomputes the score.

Returns:
the old view count

incrementHotUseCount

public int incrementHotUseCount(SolutionRelevance pSolutionRelevance)
Increments the hot use count for the solution and recomputes the score.

Returns:
the old hot use count

decrementHotUseCount

public int decrementHotUseCount(SolutionRelevance pSolutionRelevance)
Decrements the hot use count for the solution and recomputes the score.

Returns:
the old hot use count

getHotScore

public int getHotScore(SolutionRelevance pSolutionRelevance)
Gets the hot score if not already computed it's computes.

Returns:
the hot score

getTopScore

public int getTopScore(SolutionRelevance pSolutionRelevance)
Gets the top score if not already computed it's computes.

Returns:
the top score

getQOAAScore

public int getQOAAScore(SolutionRelevance pSolutionRelevance)
Gets the qoaa score if not already computed it's computes.

Returns:
the qoaa score