atg.svc.repository.beans
Class _SolutionRelevanceHome_ReposImpl

java.lang.Object
  extended by atg.svc.repository.beans._SolutionRelevanceHome_ReposImpl
All Implemented Interfaces:
atg.svc.repository.beans.pv.SolutionRelevanceHome_PV, SolutionRelevanceHome, java.io.Serializable, javax.ejb.EJBLocalHome

public class _SolutionRelevanceHome_ReposImpl
extends java.lang.Object

See Also:
Serialized Form

Field Summary
static atg.repository.tojava.runtime.RepositoryItemObjectFactory sFactory
           
static atg.repository.RepositoryItemDescriptor sItemDescriptor
           
static atg.repository.Repository sRepository
           
 
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
 void remove(java.lang.Object primaryKey)
           
 SolutionRelevance wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
           
 java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sRepository

public static atg.repository.Repository sRepository

sItemDescriptor

public static atg.repository.RepositoryItemDescriptor sItemDescriptor

sFactory

public static atg.repository.tojava.runtime.RepositoryItemObjectFactory sFactory
Method Detail

create

public SolutionRelevance create()
                         throws javax.ejb.CreateException,
                                javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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 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

public SolutionRelevance create(java.lang.String pId)
                         throws javax.ejb.CreateException,
                                javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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 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

public SolutionRelevance findByPrimaryKey(java.lang.String primaryKey)
                                   throws javax.ejb.FinderException,
                                          javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
Returns the instance with the given primary key, throws ObjectNotFoundException if the instance is not found.

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

findAll

public java.util.Collection findAll()
                             throws javax.ejb.FinderException,
                                    javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findBatch(java.lang.String solutionRelevanceId,
                                      int numItems)
                               throws javax.ejb.FinderException,
                                      javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotScore(int startingIndex,
                                           int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotScoreASC(int startingIndex,
                                              int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotScoreSolutionClassId(java.lang.String solutionClassId,
                                                          int startingIndex,
                                                          int numItems)
                                                   throws javax.ejb.FinderException,
                                                          javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotScoreSolutionClassIdASC(java.lang.String solutionClassId,
                                                             int startingIndex,
                                                             int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotUseCount(int startingIndex,
                                              int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotUseCountASC(int startingIndex,
                                                 int numItems)
                                          throws javax.ejb.FinderException,
                                                 javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotUseCountSolutionClassId(java.lang.String solutionClassId,
                                                             int startingIndex,
                                                             int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByHotUseCountSolutionClassIdASC(java.lang.String solutionClassId,
                                                                int startingIndex,
                                                                int numItems)
                                                         throws javax.ejb.FinderException,
                                                                javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByNullHotScore(int startingIndex,
                                               int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByNullQoaaScore(int startingIndex,
                                                int numItems)
                                         throws javax.ejb.FinderException,
                                                javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByNullScore(int startingIndex,
                                            int numItems)
                                     throws javax.ejb.FinderException,
                                            javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByNullTopScore(int startingIndex,
                                               int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByQoaaScore(int startingIndex,
                                            int numItems)
                                     throws javax.ejb.FinderException,
                                            javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByQoaaScoreASC(int startingIndex,
                                               int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByQoaaScoreSolutionClassId(java.lang.String solutionClassId,
                                                           int startingIndex,
                                                           int numItems)
                                                    throws javax.ejb.FinderException,
                                                           javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByQoaaScoreSolutionClassIdASC(java.lang.String solutionClassId,
                                                              int startingIndex,
                                                              int numItems)
                                                       throws javax.ejb.FinderException,
                                                              javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findBySolutionClassId(java.lang.String solutionClassId)
                                           throws javax.ejb.FinderException,
                                                  javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public SolutionRelevance findBySolutionId(java.lang.String solutionId)
                                   throws javax.ejb.FinderException,
                                          javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByTopScore(int startingIndex,
                                           int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByTopScoreASC(int startingIndex,
                                              int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByTopScoreSolutionClassId(java.lang.String solutionClassId,
                                                          int startingIndex,
                                                          int numItems)
                                                   throws javax.ejb.FinderException,
                                                          javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByTopScoreSolutionClassIdASC(java.lang.String solutionClassId,
                                                             int startingIndex,
                                                             int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByUseCount(int startingIndex,
                                           int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public int countByUseCount(int lowerUseCount,
                           int upperUseCount)
                    throws javax.ejb.FinderException,
                           javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByUseCountASC(int startingIndex,
                                              int numItems)
                                       throws javax.ejb.FinderException,
                                              javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByUseCountAndLastUse(java.util.Date lastUseDate,
                                                     int startingIndex,
                                                     int numItems)
                                              throws javax.ejb.FinderException,
                                                     javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByUseCountAndLastUseASC(java.util.Date lastUseDate,
                                                        int startingIndex,
                                                        int numItems)
                                                 throws javax.ejb.FinderException,
                                                        javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByUseCountSolutionClassId(java.lang.String solutionClassId,
                                                          int startingIndex,
                                                          int numItems)
                                                   throws javax.ejb.FinderException,
                                                          javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByUseCountSolutionClassIdASC(java.lang.String solutionClassId,
                                                             int startingIndex,
                                                             int numItems)
                                                      throws javax.ejb.FinderException,
                                                             javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByViewCount(int startingIndex,
                                            int numItems)
                                     throws javax.ejb.FinderException,
                                            javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByViewCountASC(int startingIndex,
                                               int numItems)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByViewCountSolutionClassId(java.lang.String solutionClassId,
                                                           int startingIndex,
                                                           int numItems)
                                                    throws javax.ejb.FinderException,
                                                           javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findByViewCountSolutionClassIdASC(java.lang.String solutionClassId,
                                                              int startingIndex,
                                                              int numItems)
                                                       throws javax.ejb.FinderException,
                                                              javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findFirstBatch(int numItems)
                                    throws javax.ejb.FinderException,
                                           javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findTopByUseCountAndLastUseDatesASC(java.util.Date lastUsedBeforeDate,
                                                                java.util.Date lastUsedAfterDate,
                                                                int startingIndex,
                                                                int numItems)
                                                         throws javax.ejb.FinderException,
                                                                javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection findTopByUseCountAndLastUseDatesDesc(java.util.Date lastUsedBeforeDate,
                                                                 java.util.Date lastUsedAfterDate,
                                                                 int startingIndex,
                                                                 int numItems)
                                                          throws javax.ejb.FinderException,
                                                                 javax.ejb.EJBException
Description copied from interface: atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
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

public java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)
Specified by:
wrapRepositoryItems in interface atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
Specified by:
wrapRepositoryItems in interface SolutionRelevanceHome

wrapRepositoryItem

public SolutionRelevance wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
Specified by:
wrapRepositoryItem in interface atg.svc.repository.beans.pv.SolutionRelevanceHome_PV
Specified by:
wrapRepositoryItem in interface SolutionRelevanceHome

remove

public void remove(java.lang.Object primaryKey)
            throws javax.ejb.RemoveException,
                   javax.ejb.EJBException
Throws:
javax.ejb.RemoveException
javax.ejb.EJBException