atg.svc.repository.service
Class SolutionRelevanceCountUpdate

java.lang.Object
  extended by atg.svc.repository.service.SolutionRelevanceCountUpdate

public class SolutionRelevanceCountUpdate
extends java.lang.Object

Object which represents an increment or decrement of the view count, use count or hot use count of a SolutionRelevance repository item. This object is passed into and out of the AyncSolutionScoringService.updateCountQueue to insulate the code of get from the repository specifics.

Created: March 28 2007


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 int getHotUseCount()
           
 int getHotUseCountDelta()
           
 java.lang.String getSolutionClassId()
           
 java.lang.String getSolutionId()
           
 java.lang.String getUpdateTypeDescription()
          Returns the type(s) of updates this object is performing described as incrementUseCount, decrementUseCount, etc.
 int getUseCountDelta()
           
 int getViewCountDelta()
           
 boolean isEndThread()
          Should we shut down the thread that processes the queued updates?
 void setHotUseCount(int pHotUseCount)
           
 void setHotUseCountDelta(int pHotUseCountDelta)
           
 void setSolutionClassId(java.lang.String pSolutionClassId)
           
 void setSolutionId(java.lang.String pSolutionId)
           
 void setUseCountDelta(int pUseCountDelta)
           
 void setViewCountDelta(int pViewCountDelta)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Method Detail

isEndThread

public boolean isEndThread()
Should we shut down the thread that processes the queued updates?


getSolutionId

public java.lang.String getSolutionId()

setSolutionId

public void setSolutionId(java.lang.String pSolutionId)

getSolutionClassId

public java.lang.String getSolutionClassId()

setSolutionClassId

public void setSolutionClassId(java.lang.String pSolutionClassId)

getUseCountDelta

public int getUseCountDelta()

setUseCountDelta

public void setUseCountDelta(int pUseCountDelta)

getHotUseCountDelta

public int getHotUseCountDelta()

setHotUseCountDelta

public void setHotUseCountDelta(int pHotUseCountDelta)

getHotUseCount

public int getHotUseCount()

setHotUseCount

public void setHotUseCount(int pHotUseCount)

getViewCountDelta

public int getViewCountDelta()

setViewCountDelta

public void setViewCountDelta(int pViewCountDelta)

getUpdateTypeDescription

public java.lang.String getUpdateTypeDescription()
Returns the type(s) of updates this object is performing described as incrementUseCount, decrementUseCount, etc.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object