atg.svc.repository.beans
Interface SolutionRelevanceHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface SolutionRelevanceHome
extends javax.ejb.EJBLocalHome

Finder Summaries

Finder Name Finder Description Returns
findByPrimaryKey one
findAllFinds all SolutionRelevancemany
findBatchRetrieves a batch of SolutionRelevance ordered by SolutionRelevance id starting with items greater than the last SolutionRelevance id from the previous batchmany
findByHotScoreFind n Solutions by hot scoremany
findByHotScoreASCFind n Solutions ascending order by hot scoremany
findByHotScoreSolutionClassIdFind n Solutions by hot score for a particular solution classmany
findByHotScoreSolutionClassIdASCFind n Solutions (ascending order) by hot score for a particular solution classmany
findByHotUseCountFind top n Solutions by hot use countmany
findByHotUseCountASCFind top n Solutions (ascending order) by hot use countmany
findByHotUseCountSolutionClassIdFind top n Solutions by hot use countmany
findByHotUseCountSolutionClassIdASCFind top n Solutions (ascending order) by hot use countmany
findByNullHotScoreFind n Solutions that dont have a hot score yetmany
findByNullQoaaScoreFind n Solutions that dont have a QOAA score yetmany
findByNullScoreFind n Solutions that dont have either of the scores - hot, top or qoaamany
findByNullTopScoreFind n Solutions that dont have a top score yetmany
findByQoaaScoreFind n Solutions by QOAA scoremany
findByQoaaScoreASCFind n Solutions (ascending order) by QOAA scoremany
findByQoaaScoreSolutionClassIdFind n Solutions by QOAA score for a particular solution classmany
findByQoaaScoreSolutionClassIdASCFind n Solutions (ascending order) by QOAA score for a particular solution classmany
findBySolutionClassIdFind items by SolutionClassmany
findBySolutionIdFind item by Solutionone
findByTopScoreFind n Solutions by top scoremany
findByTopScoreASCFind n Solutions (ascending order) by top scoremany
findByTopScoreSolutionClassIdFind n Solutions by top score for a particular solution classmany
findByTopScoreSolutionClassIdASCFind n Solutions (ascending order) by top score for a particular solution classmany
findByUseCountFind top n Solutions by use countmany
countByUseCountcounts solutions with useCount value same or greater than lowerUseCount and lower than upperUseCountcount
findByUseCountASCFind top n Solutions (ascending order) by use countmany
findByUseCountAndLastUseFind top n Solutions by use count that were last used since lastUseDatemany
findByUseCountAndLastUseASCFind top n Solutions (ascending order) by use count that were last used since lastUseDatemany
findByUseCountSolutionClassIdFind top n Solutions by use count and solution classmany
findByUseCountSolutionClassIdASCFind top n Solutions (ascending order) by use count and solution classmany
findByViewCountFind top n Solutions by view countmany
findByViewCountASCFind top n Solutions (ascending order) by view countmany
findByViewCountSolutionClassIdFind top n Solutions by view countmany
findByViewCountSolutionClassIdASCFind top n Solutions (ascending order) by view countmany
findFirstBatchRetrieves the first batch of SolutionRelevance ordered by SolutionRelevance idmany
findTopByUseCountAndLastUseDatesASCFind top n Solutions (ascending order) by use count that were last used after or on lastUsedBeforeDate and before or on lastUsedAfterDatemany
findTopByUseCountAndLastUseDatesDescFind top n Solutions by use count that were last used after or on lastUsedBeforeDate and before or on lastUsedAfterDatemany


Method Summary
 int countByUseCount(int lowerUseCount, int upperUseCount)
          counts solutions with useCount value same or greater than lowerUseCount and lower than upperUseCount
 SolutionRelevance create()
          Returns a new instance.
 SolutionRelevance create(java.lang.String pId)
          Returns a new instance with the repository id set to the given id.
 java.util.Collection findAll()
          Finds all SolutionRelevance
 java.util.Collection findBatch(java.lang.String solutionRelevanceId, int numItems)
          Retrieves a batch of SolutionRelevance ordered by SolutionRelevance id starting with items greater than the last SolutionRelevance id from the previous batch
 java.util.Collection findByHotScore(int startingIndex, int numItems)
          Find n Solutions by hot score
 java.util.Collection findByHotScoreASC(int startingIndex, int numItems)
          Find n Solutions ascending order by hot score
 java.util.Collection findByHotScoreSolutionClassId(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find n Solutions by hot score for a particular solution class
 java.util.Collection findByHotScoreSolutionClassIdASC(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find n Solutions (ascending order) by hot score for a particular solution class
 java.util.Collection findByHotUseCount(int startingIndex, int numItems)
          Find top n Solutions by hot use count
 java.util.Collection findByHotUseCountASC(int startingIndex, int numItems)
          Find top n Solutions (ascending order) by hot use count
 java.util.Collection findByHotUseCountSolutionClassId(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find top n Solutions by hot use count
 java.util.Collection findByHotUseCountSolutionClassIdASC(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find top n Solutions (ascending order) by hot use count
 java.util.Collection findByNullHotScore(int startingIndex, int numItems)
          Find n Solutions that dont have a hot score yet
 java.util.Collection findByNullQoaaScore(int startingIndex, int numItems)
          Find n Solutions that dont have a QOAA score yet
 java.util.Collection findByNullScore(int startingIndex, int numItems)
          Find n Solutions that dont have either of the scores - hot, top or qoaa
 java.util.Collection findByNullTopScore(int startingIndex, int numItems)
          Find n Solutions that dont have a top score yet
 SolutionRelevance findByPrimaryKey(java.lang.String primaryKey)
          Returns the instance with the given primary key, throws ObjectNotFoundException if the instance is not found.
 java.util.Collection findByQoaaScore(int startingIndex, int numItems)
          Find n Solutions by QOAA score
 java.util.Collection findByQoaaScoreASC(int startingIndex, int numItems)
          Find n Solutions (ascending order) by QOAA score
 java.util.Collection findByQoaaScoreSolutionClassId(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find n Solutions by QOAA score for a particular solution class
 java.util.Collection findByQoaaScoreSolutionClassIdASC(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find n Solutions (ascending order) by QOAA score for a particular solution class
 java.util.Collection findBySolutionClassId(java.lang.String solutionClassId)
          Find items by SolutionClass
 SolutionRelevance findBySolutionId(java.lang.String solutionId)
          Find item by Solution
 java.util.Collection findByTopScore(int startingIndex, int numItems)
          Find n Solutions by top score
 java.util.Collection findByTopScoreASC(int startingIndex, int numItems)
          Find n Solutions (ascending order) by top score
 java.util.Collection findByTopScoreSolutionClassId(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find n Solutions by top score for a particular solution class
 java.util.Collection findByTopScoreSolutionClassIdASC(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find n Solutions (ascending order) by top score for a particular solution class
 java.util.Collection findByUseCount(int startingIndex, int numItems)
          Find top n Solutions by use count
 java.util.Collection findByUseCountAndLastUse(java.util.Date lastUseDate, int startingIndex, int numItems)
          Find top n Solutions by use count that were last used since lastUseDate
 java.util.Collection findByUseCountAndLastUseASC(java.util.Date lastUseDate, int startingIndex, int numItems)
          Find top n Solutions (ascending order) by use count that were last used since lastUseDate
 java.util.Collection findByUseCountASC(int startingIndex, int numItems)
          Find top n Solutions (ascending order) by use count
 java.util.Collection findByUseCountSolutionClassId(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find top n Solutions by use count and solution class
 java.util.Collection findByUseCountSolutionClassIdASC(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find top n Solutions (ascending order) by use count and solution class
 java.util.Collection findByViewCount(int startingIndex, int numItems)
          Find top n Solutions by view count
 java.util.Collection findByViewCountASC(int startingIndex, int numItems)
          Find top n Solutions (ascending order) by view count
 java.util.Collection findByViewCountSolutionClassId(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find top n Solutions by view count
 java.util.Collection findByViewCountSolutionClassIdASC(java.lang.String solutionClassId, int startingIndex, int numItems)
          Find top n Solutions (ascending order) by view count
 java.util.Collection findFirstBatch(int numItems)
          Retrieves the first batch of SolutionRelevance ordered by SolutionRelevance id
 java.util.Collection findTopByUseCountAndLastUseDatesASC(java.util.Date lastUsedBeforeDate, java.util.Date lastUsedAfterDate, int startingIndex, int numItems)
          Find top n Solutions (ascending order) by use count that were last used after or on lastUsedBeforeDate and before or on lastUsedAfterDate
 java.util.Collection findTopByUseCountAndLastUseDatesDesc(java.util.Date lastUsedBeforeDate, java.util.Date lastUsedAfterDate, int startingIndex, int numItems)
          Find top n Solutions by use count that were last used after or on lastUsedBeforeDate and before or on lastUsedAfterDate
 SolutionRelevance wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
           
 java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

SolutionRelevance create()
                         throws javax.ejb.CreateException,
                                javax.ejb.EJBException
Returns a new instance. The properties are set to default values, and may be changed by using the appropriate setter methods. The instance may be a repository or bean implementation depending on how this home's ServiceSharedHomes factory was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until SolutionRelevance.writeInstance() is called on the instance (and the transaction is committed, if the implementation is transaction-aware).

Throws:
javax.ejb.CreateException
javax.ejb.EJBException

create

SolutionRelevance create(java.lang.String pId)
                         throws javax.ejb.CreateException,
                                javax.ejb.EJBException
Returns a new instance with the repository id set to the given id. The properties are set to default values, and may be changed by using the appropriate setter methods. The instance may be a repository or bean implementation depending on how this home's ServiceSharedHomes factory was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until SolutionRelevance.writeInstance() is called on the instance (and the transaction is committed, if the implementation is transaction-aware).

Throws:
javax.ejb.CreateException
javax.ejb.EJBException

findByPrimaryKey

SolutionRelevance findByPrimaryKey(java.lang.String primaryKey)
                                   throws javax.ejb.FinderException,
                                          javax.ejb.EJBException
Returns the instance with the given primary key, throws ObjectNotFoundException if the instance is not found.

Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAll

java.util.Collection findAll()
                             throws javax.ejb.FinderException,
                                    javax.ejb.EJBException
Finds all SolutionRelevance

Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findBatch

java.util.Collection findBatch(java.lang.String solutionRelevanceId,
                               int numItems)
                               throws javax.ejb.FinderException,
                                      javax.ejb.EJBException
Retrieves a batch of SolutionRelevance ordered by SolutionRelevance id starting with items greater than the last SolutionRelevance id from the previous batch

Parameters:
solutionRelevanceId - The id of the SolutionRelevance item
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotScore

java.util.Collection findByHotScore(int startingIndex,
                                    int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Find n Solutions by hot score

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotScoreASC

java.util.Collection findByHotScoreASC(int startingIndex,
                                       int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Find n Solutions ascending order by hot score

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotScoreSolutionClassId

java.util.Collection findByHotScoreSolutionClassId(java.lang.String solutionClassId,
                                                   int startingIndex,
                                                   int numItems)
                                                   throws javax.ejb.FinderException,
                                                          javax.ejb.EJBException
Find n Solutions by hot score for a particular solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotScoreSolutionClassIdASC

java.util.Collection findByHotScoreSolutionClassIdASC(java.lang.String solutionClassId,
                                                      int startingIndex,
                                                      int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Find n Solutions (ascending order) by hot score for a particular solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotUseCount

java.util.Collection findByHotUseCount(int startingIndex,
                                       int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Find top n Solutions by hot use count

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotUseCountASC

java.util.Collection findByHotUseCountASC(int startingIndex,
                                          int numItems)
                                          throws javax.ejb.FinderException,
                                                 javax.ejb.EJBException
Find top n Solutions (ascending order) by hot use count

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotUseCountSolutionClassId

java.util.Collection findByHotUseCountSolutionClassId(java.lang.String solutionClassId,
                                                      int startingIndex,
                                                      int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Find top n Solutions by hot use count

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByHotUseCountSolutionClassIdASC

java.util.Collection findByHotUseCountSolutionClassIdASC(java.lang.String solutionClassId,
                                                         int startingIndex,
                                                         int numItems)
                                                         throws javax.ejb.FinderException,
                                                                javax.ejb.EJBException
Find top n Solutions (ascending order) by hot use count

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByNullHotScore

java.util.Collection findByNullHotScore(int startingIndex,
                                        int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Find n Solutions that dont have a hot score yet

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByNullQoaaScore

java.util.Collection findByNullQoaaScore(int startingIndex,
                                         int numItems)
                                         throws javax.ejb.FinderException,
                                                javax.ejb.EJBException
Find n Solutions that dont have a QOAA score yet

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByNullScore

java.util.Collection findByNullScore(int startingIndex,
                                     int numItems)
                                     throws javax.ejb.FinderException,
                                            javax.ejb.EJBException
Find n Solutions that dont have either of the scores - hot, top or qoaa

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByNullTopScore

java.util.Collection findByNullTopScore(int startingIndex,
                                        int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Find n Solutions that dont have a top score yet

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByQoaaScore

java.util.Collection findByQoaaScore(int startingIndex,
                                     int numItems)
                                     throws javax.ejb.FinderException,
                                            javax.ejb.EJBException
Find n Solutions by QOAA score

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByQoaaScoreASC

java.util.Collection findByQoaaScoreASC(int startingIndex,
                                        int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Find n Solutions (ascending order) by QOAA score

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByQoaaScoreSolutionClassId

java.util.Collection findByQoaaScoreSolutionClassId(java.lang.String solutionClassId,
                                                    int startingIndex,
                                                    int numItems)
                                                    throws javax.ejb.FinderException,
                                                           javax.ejb.EJBException
Find n Solutions by QOAA score for a particular solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByQoaaScoreSolutionClassIdASC

java.util.Collection findByQoaaScoreSolutionClassIdASC(java.lang.String solutionClassId,
                                                       int startingIndex,
                                                       int numItems)
                                                       throws javax.ejb.FinderException,
                                                              javax.ejb.EJBException
Find n Solutions (ascending order) by QOAA score for a particular solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findBySolutionClassId

java.util.Collection findBySolutionClassId(java.lang.String solutionClassId)
                                           throws javax.ejb.FinderException,
                                                  javax.ejb.EJBException
Find items by SolutionClass

Parameters:
solutionClassId - The SolutionClass id
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findBySolutionId

SolutionRelevance findBySolutionId(java.lang.String solutionId)
                                   throws javax.ejb.FinderException,
                                          javax.ejb.EJBException
Find item by Solution

Parameters:
solutionId - The Solution id
Returns:
an instance matching the query criteria, or throws ObjectNotFoundException if no such instance is found.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByTopScore

java.util.Collection findByTopScore(int startingIndex,
                                    int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Find n Solutions by top score

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByTopScoreASC

java.util.Collection findByTopScoreASC(int startingIndex,
                                       int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Find n Solutions (ascending order) by top score

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByTopScoreSolutionClassId

java.util.Collection findByTopScoreSolutionClassId(java.lang.String solutionClassId,
                                                   int startingIndex,
                                                   int numItems)
                                                   throws javax.ejb.FinderException,
                                                          javax.ejb.EJBException
Find n Solutions by top score for a particular solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByTopScoreSolutionClassIdASC

java.util.Collection findByTopScoreSolutionClassIdASC(java.lang.String solutionClassId,
                                                      int startingIndex,
                                                      int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Find n Solutions (ascending order) by top score for a particular solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByUseCount

java.util.Collection findByUseCount(int startingIndex,
                                    int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Find top n Solutions by use count

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

countByUseCount

int countByUseCount(int lowerUseCount,
                    int upperUseCount)
                    throws javax.ejb.FinderException,
                           javax.ejb.EJBException
counts solutions with useCount value same or greater than lowerUseCount and lower than upperUseCount

Parameters:
lowerUseCount - Lower useCount value for counted solutions
upperUseCount - Upper useCount value for counted solutions
Returns:
the number of instances matching the query criteria.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByUseCountASC

java.util.Collection findByUseCountASC(int startingIndex,
                                       int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Find top n Solutions (ascending order) by use count

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByUseCountAndLastUse

java.util.Collection findByUseCountAndLastUse(java.util.Date lastUseDate,
                                              int startingIndex,
                                              int numItems)
                                              throws javax.ejb.FinderException,
                                                     javax.ejb.EJBException
Find top n Solutions by use count that were last used since lastUseDate

Parameters:
lastUseDate - Date the solution was last used (i.e. last time use count was incremented)
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByUseCountAndLastUseASC

java.util.Collection findByUseCountAndLastUseASC(java.util.Date lastUseDate,
                                                 int startingIndex,
                                                 int numItems)
                                                 throws javax.ejb.FinderException,
                                                        javax.ejb.EJBException
Find top n Solutions (ascending order) by use count that were last used since lastUseDate

Parameters:
lastUseDate - Date the solution was last used (i.e. last time use count was incremented)
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByUseCountSolutionClassId

java.util.Collection findByUseCountSolutionClassId(java.lang.String solutionClassId,
                                                   int startingIndex,
                                                   int numItems)
                                                   throws javax.ejb.FinderException,
                                                          javax.ejb.EJBException
Find top n Solutions by use count and solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByUseCountSolutionClassIdASC

java.util.Collection findByUseCountSolutionClassIdASC(java.lang.String solutionClassId,
                                                      int startingIndex,
                                                      int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Find top n Solutions (ascending order) by use count and solution class

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByViewCount

java.util.Collection findByViewCount(int startingIndex,
                                     int numItems)
                                     throws javax.ejb.FinderException,
                                            javax.ejb.EJBException
Find top n Solutions by view count

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByViewCountASC

java.util.Collection findByViewCountASC(int startingIndex,
                                        int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Find top n Solutions (ascending order) by view count

Parameters:
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByViewCountSolutionClassId

java.util.Collection findByViewCountSolutionClassId(java.lang.String solutionClassId,
                                                    int startingIndex,
                                                    int numItems)
                                                    throws javax.ejb.FinderException,
                                                           javax.ejb.EJBException
Find top n Solutions by view count

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findByViewCountSolutionClassIdASC

java.util.Collection findByViewCountSolutionClassIdASC(java.lang.String solutionClassId,
                                                       int startingIndex,
                                                       int numItems)
                                                       throws javax.ejb.FinderException,
                                                              javax.ejb.EJBException
Find top n Solutions (ascending order) by view count

Parameters:
solutionClassId - The SolutionClass id
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findFirstBatch

java.util.Collection findFirstBatch(int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Retrieves the first batch of SolutionRelevance ordered by SolutionRelevance id

Parameters:
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findTopByUseCountAndLastUseDatesASC

java.util.Collection findTopByUseCountAndLastUseDatesASC(java.util.Date lastUsedBeforeDate,
                                                         java.util.Date lastUsedAfterDate,
                                                         int startingIndex,
                                                         int numItems)
                                                         throws javax.ejb.FinderException,
                                                                javax.ejb.EJBException
Find top n Solutions (ascending order) by use count that were last used after or on lastUsedBeforeDate and before or on lastUsedAfterDate

Parameters:
lastUsedBeforeDate - Date the solution was last used (i.e. last time use count was incremented) before or on
lastUsedAfterDate - Date the solution was last used (i.e. last time use count was incremented) after or on
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findTopByUseCountAndLastUseDatesDesc

java.util.Collection findTopByUseCountAndLastUseDatesDesc(java.util.Date lastUsedBeforeDate,
                                                          java.util.Date lastUsedAfterDate,
                                                          int startingIndex,
                                                          int numItems)
                                                          throws javax.ejb.FinderException,
                                                                 javax.ejb.EJBException
Find top n Solutions by use count that were last used after or on lastUsedBeforeDate and before or on lastUsedAfterDate

Parameters:
lastUsedBeforeDate - Date the solution was last used (i.e. last time use count was incremented) before or on
lastUsedAfterDate - Date the solution was last used (i.e. last time use count was incremented) after or on
startingIndex - Starting Index of items to be retreived.
numItems - Number of items to retrieve.
Returns:
a Collection of SolutionRelevance instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

wrapRepositoryItems

java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)

wrapRepositoryItem

SolutionRelevance wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)