atg.svc.repository.beans
Interface SolutionRelevance

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface SolutionRelevance
extends javax.ejb.EJBLocalObject

Class SolutionRelevance

Property Summaries

Property Name Property Type Property Description Flags
dbHotScore int   R, W, Cch, Qry
dbQOAAScore int   R, W, Cch, Qry
dbTopScore int   R, W, Cch, Qry
hotUseCount int   R, W, Cch, Qry, Req
id String   R, W, Cch, Id, Qry, Req
isQOAA boolean   R, W, Cch, Qry, Req
lastUseDate Timestamp   R, W, Cch, Qry, Req
lastViewDate Timestamp   R, W, Cch, Qry, Req
solutionClassId String   R, W, Cch, Qry, Req
solutionId String   R, W, Cch, Qry, Req
useCount int   R, W, Cch, Qry, Req
viewCount int   R, W, Cch, Qry, Req

Flags Key:R=readable, W=writable, CsD=cascadeDelete, CsI=cascadeInsert, CsU=cascadeUpdate, Cch=cacheable, CoM=collectionOrMap, Drv=derived, Id=idProperty, Mv=multivalued, Qry=queryable, Req=required, Exp=expert, Hdn=hidden, Prf=preferred

Property Details

Property dbHotScore: int

Property dbQOAAScore: int

Property dbTopScore: int

Property hotUseCount: int

Property id: String

Property isQOAA: boolean

Property lastUseDate: Timestamp

Property lastViewDate: Timestamp

Property solutionClassId: String

Property solutionId: String

Property useCount: int

Property viewCount: int


Method Summary
 boolean _isMutable()
          Returns true if the item is mutable.
 void copyTo(SolutionRelevance destination)
          Copies the property values of this instance to another instance of the same data type.
 int decrementHotUseCount()
          Decrements the hot use count for the solution and recomputes the score.
 int decrementUseCount()
          Decrements the use count for the solution and recomputes the score.
 int getDbHotScore()
          Getter for property dbHotScore
 int getDbQOAAScore()
          Getter for property dbQOAAScore
 int getDbTopScore()
          Getter for property dbTopScore
 boolean getHasDbHotScore()
          Returns true if the value of property dbHotScore is null.
 boolean getHasDbQOAAScore()
          Returns true if the value of property dbQOAAScore is null.
 boolean getHasDbTopScore()
          Returns true if the value of property dbTopScore is null.
 int getHotScore()
           
 int getHotUseCount()
          Getter for property hotUseCount
 java.lang.String getId()
          Getter for property id
 java.sql.Timestamp getLastUseDate()
          Getter for property lastUseDate
 java.sql.Timestamp getLastViewDate()
          Getter for property lastViewDate
 int getQOAAScore()
           
 java.lang.String getSolutionClassId()
          Getter for property solutionClassId
 java.lang.String getSolutionId()
          Getter for property solutionId
 int getTopScore()
           
 int getUseCount()
          Getter for property useCount
 int getViewCount()
          Getter for property viewCount
 int incrementHotUseCount()
          Increments the hot use count for the solution and recomputes the score.
 int incrementUseCount()
          Increments the use count for the solution and recomputes the score.
 int incrementViewCount()
          Increments the view count for the solution and recomputes the score.
 boolean isIsQOAA()
          Getter for property isQOAA
 boolean isRemoved()
          Returns true if the underlying object has been removed.
 void prepareInstanceForWrite()
          This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write.
 void setDbHotScore(int value)
          Setter for property dbHotScore .
 void setDbQOAAScore(int value)
          Setter for property dbQOAAScore .
 void setDbTopScore(int value)
          Setter for property dbTopScore .
 void setHasDbHotScore(boolean value)
          If this is set to false, then the underlying value of property dbHotScore is set to null.
 void setHasDbQOAAScore(boolean value)
          If this is set to false, then the underlying value of property dbQOAAScore is set to null.
 void setHasDbTopScore(boolean value)
          If this is set to false, then the underlying value of property dbTopScore is set to null.
 void setHotUseCount(int value)
          Setter for property hotUseCount .
 void setId(java.lang.String value)
          Setter for property id .
 void setIsQOAA(boolean value)
          Setter for property isQOAA .
 void setLastUseDate(java.sql.Timestamp value)
          Setter for property lastUseDate .
 void setLastViewDate(java.sql.Timestamp value)
          Setter for property lastViewDate .
 void setSolutionClassId(java.lang.String value)
          Setter for property solutionClassId .
 void setSolutionId(java.lang.String value)
          Setter for property solutionId .
 void setUseCount(int value)
          Setter for property useCount .
 void setViewCount(int value)
          Setter for property viewCount .
 void writeInstance()
          This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getDbHotScore

int getDbHotScore()
                  throws javax.ejb.EJBException
Getter for property dbHotScore

Returns:
int
Throws:
javax.ejb.EJBException

getHasDbHotScore

boolean getHasDbHotScore()
                         throws javax.ejb.EJBException
Returns true if the value of property dbHotScore is null.

Throws:
javax.ejb.EJBException

setDbHotScore

void setDbHotScore(int value)
                   throws javax.ejb.EJBException
Setter for property dbHotScore . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - int
Throws:
javax.ejb.EJBException

setHasDbHotScore

void setHasDbHotScore(boolean value)
                      throws javax.ejb.EJBException
If this is set to false, then the underlying value of property dbHotScore is set to null. If set to true, then nothing is done.

Throws:
javax.ejb.EJBException

getDbQOAAScore

int getDbQOAAScore()
                   throws javax.ejb.EJBException
Getter for property dbQOAAScore

Returns:
int
Throws:
javax.ejb.EJBException

getHasDbQOAAScore

boolean getHasDbQOAAScore()
                          throws javax.ejb.EJBException
Returns true if the value of property dbQOAAScore is null.

Throws:
javax.ejb.EJBException

setDbQOAAScore

void setDbQOAAScore(int value)
                    throws javax.ejb.EJBException
Setter for property dbQOAAScore . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - int
Throws:
javax.ejb.EJBException

setHasDbQOAAScore

void setHasDbQOAAScore(boolean value)
                       throws javax.ejb.EJBException
If this is set to false, then the underlying value of property dbQOAAScore is set to null. If set to true, then nothing is done.

Throws:
javax.ejb.EJBException

getDbTopScore

int getDbTopScore()
                  throws javax.ejb.EJBException
Getter for property dbTopScore

Returns:
int
Throws:
javax.ejb.EJBException

getHasDbTopScore

boolean getHasDbTopScore()
                         throws javax.ejb.EJBException
Returns true if the value of property dbTopScore is null.

Throws:
javax.ejb.EJBException

setDbTopScore

void setDbTopScore(int value)
                   throws javax.ejb.EJBException
Setter for property dbTopScore . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - int
Throws:
javax.ejb.EJBException

setHasDbTopScore

void setHasDbTopScore(boolean value)
                      throws javax.ejb.EJBException
If this is set to false, then the underlying value of property dbTopScore is set to null. If set to true, then nothing is done.

Throws:
javax.ejb.EJBException

getHotUseCount

int getHotUseCount()
                   throws javax.ejb.EJBException
Getter for property hotUseCount

Returns:
int
Throws:
javax.ejb.EJBException

setHotUseCount

void setHotUseCount(int value)
                    throws javax.ejb.EJBException
Setter for property hotUseCount . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - int
Throws:
javax.ejb.EJBException

getId

java.lang.String getId()
                       throws javax.ejb.EJBException
Getter for property id

Returns:
String
Throws:
javax.ejb.EJBException

setId

void setId(java.lang.String value)
           throws javax.ejb.EJBException
Setter for property id . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

isIsQOAA

boolean isIsQOAA()
                 throws javax.ejb.EJBException
Getter for property isQOAA

Returns:
boolean
Throws:
javax.ejb.EJBException

setIsQOAA

void setIsQOAA(boolean value)
               throws javax.ejb.EJBException
Setter for property isQOAA . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - boolean
Throws:
javax.ejb.EJBException

getLastUseDate

java.sql.Timestamp getLastUseDate()
                                  throws javax.ejb.EJBException
Getter for property lastUseDate

Returns:
Timestamp
Throws:
javax.ejb.EJBException

setLastUseDate

void setLastUseDate(java.sql.Timestamp value)
                    throws javax.ejb.EJBException
Setter for property lastUseDate . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Timestamp
Throws:
javax.ejb.EJBException

getLastViewDate

java.sql.Timestamp getLastViewDate()
                                   throws javax.ejb.EJBException
Getter for property lastViewDate

Returns:
Timestamp
Throws:
javax.ejb.EJBException

setLastViewDate

void setLastViewDate(java.sql.Timestamp value)
                     throws javax.ejb.EJBException
Setter for property lastViewDate . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Timestamp
Throws:
javax.ejb.EJBException

getSolutionClassId

java.lang.String getSolutionClassId()
                                    throws javax.ejb.EJBException
Getter for property solutionClassId

Returns:
String
Throws:
javax.ejb.EJBException

setSolutionClassId

void setSolutionClassId(java.lang.String value)
                        throws javax.ejb.EJBException
Setter for property solutionClassId . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getSolutionId

java.lang.String getSolutionId()
                               throws javax.ejb.EJBException
Getter for property solutionId

Returns:
String
Throws:
javax.ejb.EJBException

setSolutionId

void setSolutionId(java.lang.String value)
                   throws javax.ejb.EJBException
Setter for property solutionId . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getUseCount

int getUseCount()
                throws javax.ejb.EJBException
Getter for property useCount

Returns:
int
Throws:
javax.ejb.EJBException

setUseCount

void setUseCount(int value)
                 throws javax.ejb.EJBException
Setter for property useCount . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - int
Throws:
javax.ejb.EJBException

getViewCount

int getViewCount()
                 throws javax.ejb.EJBException
Getter for property viewCount

Returns:
int
Throws:
javax.ejb.EJBException

setViewCount

void setViewCount(int value)
                  throws javax.ejb.EJBException
Setter for property viewCount . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - int
Throws:
javax.ejb.EJBException

isRemoved

boolean isRemoved()
                  throws javax.ejb.EJBException
Returns true if the underlying object has been removed. False otherwise.

Throws:
javax.ejb.EJBException

copyTo

void copyTo(SolutionRelevance destination)
            throws javax.ejb.EJBException
Copies the property values of this instance to another instance of the same data type. Only properties that are both readable and writable are copied. Each property is copied by calling the getter method on the source instance and setting the result in the destination instance using the setter method.

Throws:
javax.ejb.EJBException

writeInstance

void writeInstance()
                   throws javax.ejb.EJBException
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. Changes might be made visible before calling this method, but this is not guaranteed until this method is called.

Throws:
javax.ejb.EJBException

prepareInstanceForWrite

void prepareInstanceForWrite()
                             throws javax.ejb.EJBException
This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write. This must be called before that first read.

Throws:
javax.ejb.EJBException

_isMutable

boolean _isMutable()
Returns true if the item is mutable. Items are only mutable after a setter method or prepareInstanceForWrite is called.


incrementUseCount

int incrementUseCount()
                      throws javax.ejb.EJBException
Increments the use count for the solution and recomputes the score.

Returns:
Returns the old use count
Throws:
javax.ejb.EJBException - A system-level error occurred

decrementUseCount

int decrementUseCount()
                      throws javax.ejb.EJBException
Decrements the use count for the solution and recomputes the score.

Returns:
Returns the old use count
Throws:
javax.ejb.EJBException - A system-level error occurred

incrementViewCount

int incrementViewCount()
                       throws javax.ejb.EJBException
Increments the view count for the solution and recomputes the score.

Returns:
Returns the old view count
Throws:
javax.ejb.EJBException - A system-level error occurred

incrementHotUseCount

int incrementHotUseCount()
                         throws javax.ejb.EJBException
Increments the hot use count for the solution and recomputes the score.

Returns:
Returns the old hot use count
Throws:
javax.ejb.EJBException - A system-level error occurred

decrementHotUseCount

int decrementHotUseCount()
                         throws javax.ejb.EJBException
Decrements the hot use count for the solution and recomputes the score.

Returns:
Returns the old hot use count
Throws:
javax.ejb.EJBException - A system-level error occurred

getHotScore

int getHotScore()
                throws javax.ejb.EJBException
Returns:
Returns the hot score of the solution
Throws:
javax.ejb.EJBException - A system-level error occurred

getTopScore

int getTopScore()
                throws javax.ejb.EJBException
Returns:
Returns the top score of the solution
Throws:
javax.ejb.EJBException - A system-level error occurred

getQOAAScore

int getQOAAScore()
                 throws javax.ejb.EJBException
Returns:
Returns the QOAA score of the solution
Throws:
javax.ejb.EJBException - A system-level error occurred