|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.repository.service.BaseService
atg.svc.repository.service.KnowledgeBaseService
atg.svc.repository.service.QOAAService
public class QOAAService
Maintains the solution scoring. Also supports the retrieval of the the pre-defined solution lists
Questions Others Are Asking (QOAA)
Top Solutions
Hot Solutions
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
QOAAService()
|
Method Summary | |
---|---|
atg.svc.repository.beans.QOAA |
create(java.lang.String pSolutionId)
Creates a new QOAA bean for the specified solution. |
void |
delete(java.lang.String pSolutionId)
Deletes a QOAA object to the repository. |
atg.svc.repository.beans.QOAA |
edit(java.lang.String pSolutionId)
Gets an editable version of a QOAA given the solution's id. |
atg.svc.repository.beans.QOAA |
findBySolutionId(java.lang.String pSolutionId)
Finds a solution relevance object by the solution's repository id. |
java.util.Collection |
findQOAAByRange(int pStartingIndex,
int pBatchSize)
Used by SolutionScoringService to retrieve QOAA to return. |
atg.svc.repository.service.util.SolutionSecurityUtils |
getSolutionSecurityUtils()
|
SolutionService |
getSolutionService()
|
void |
save(atg.svc.repository.beans.QOAA pQOAA)
Saves a QOAA object to the repository. |
void |
setSolutionSecurityUtils(atg.svc.repository.service.util.SolutionSecurityUtils pSolutionSecurityUtils)
|
void |
setSolutionService(SolutionService pSolutionService)
|
Methods inherited from class atg.svc.repository.service.KnowledgeBaseService |
---|
getKnowledgeHomesFactory, getOptionBeanHomes, getOptionRepositoryHomes, getServiceSegmentBeanHomes, getServiceSegmentRepositoryHomes, getSolutionBeanHomes, getSolutionRepositoryHomes, getUserOptionBeanHomes, getUserOptionRepositoryHomes, setKnowledgeHomesFactory |
Methods inherited from class atg.svc.repository.service.BaseService |
---|
getRepositoryService, getToday, setRepositoryService |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public QOAAService()
Method Detail |
---|
public atg.svc.repository.service.util.SolutionSecurityUtils getSolutionSecurityUtils()
public void setSolutionSecurityUtils(atg.svc.repository.service.util.SolutionSecurityUtils pSolutionSecurityUtils)
pSolutionSecurityUtils
- The solutionSecurityUtils to set.public SolutionService getSolutionService()
public void setSolutionService(SolutionService pSolutionService)
pSolutionService
- The solutionService to set.public atg.svc.repository.beans.QOAA create(java.lang.String pSolutionId) throws javax.ejb.CreateException, ObjectNotFoundException
save
to persist the QOAA
object.
pSolutionId
- Id of the Solution RepImpl object
javax.ejb.CreateException
- If the create fails.
ObjectNotFoundException
- when the solution is not found.public void delete(java.lang.String pSolutionId) throws ObjectNotFoundException, PersistenceException
pSolutionId
- id of solution.
ObjectNotFoundException
- If the repository item represented by the QOAA bean is not found.
PersistenceException
- If the delete operation fails.public atg.svc.repository.beans.QOAA edit(java.lang.String pSolutionId) throws ObjectNotFoundException, javax.ejb.CreateException
pSolutionId
- A Solution RepId
ObjectNotFoundException
- when the solution is not found
javax.ejb.CreateException
- If the create for solution relevance object fails.public java.util.Collection findQOAAByRange(int pStartingIndex, int pBatchSize) throws javax.ejb.FinderException
SolutionScoringService.getQOAAList()
javax.ejb.FinderException
public atg.svc.repository.beans.QOAA findBySolutionId(java.lang.String pSolutionId)
pSolutionId
- The repository id of Solution object
public void save(atg.svc.repository.beans.QOAA pQOAA)
pQOAA
- The QOAA to save.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |