|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.svc.repository.beans._RecommendedAnswerHome_ReposImpl
public class _RecommendedAnswerHome_ReposImpl
Field Summary | |
---|---|
static atg.repository.tojava.runtime.RepositoryItemObjectFactory |
sFactory
|
static atg.repository.RepositoryItemDescriptor |
sItemDescriptor
|
static atg.repository.Repository |
sRepository
|
Method Summary | |
---|---|
int |
countBySolution(java.lang.String solutionId)
counts number of recommended answers associated with the given solution |
int |
countBySolutionWithLinkState(java.lang.String solutionId,
java.lang.String state)
counts number of recommended answers associated with the given solution-id and link state |
RecommendedAnswer |
create()
Returns a new instance. |
RecommendedAnswer |
create(java.lang.String pId)
Returns a new instance with the repository id set to the given id. |
java.util.Collection |
findByDocument(java.lang.String docId)
Find recommended answers by document Url |
java.util.Collection |
findByDocumentSince(java.lang.String docId,
java.util.Date since,
java.lang.String state)
Find documents used as recommended answers modified since the specified date |
RecommendedAnswer |
findByPrimaryKey(java.lang.String primaryKey)
Returns the instance with the given primary key, throws ObjectNotFoundException if the instance is not found. |
java.util.Collection |
findBySolution(java.lang.String solutionId)
Find recommended answers by solution repository id ordered by modified date |
java.util.Collection |
findBySolutionSince(java.lang.String solutionId,
java.util.Date since,
java.lang.String state)
Find solutions used as recommended answers modified since the specified date |
java.util.Collection |
findBySolutionWithPaging(java.lang.String solutionId,
int startingIndex,
int numItems)
Find recommended answers by solution repository id with paging, order by modify date |
java.util.Collection |
findByTicket(java.lang.String ticketId)
Find recommended answers associated with a ticket |
RecommendedAnswer |
findByTicketAndDocument(java.lang.String ticketId,
java.lang.String docId)
Find links by ticket, docId |
RecommendedAnswer |
findByTicketAndSolution(java.lang.String ticketId,
java.lang.String solutionId)
Find links by ticket and solution Id |
void |
remove(java.lang.Object primaryKey)
|
RecommendedAnswer |
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 |
---|
public static atg.repository.Repository sRepository
public static atg.repository.RepositoryItemDescriptor sItemDescriptor
public static atg.repository.tojava.runtime.RepositoryItemObjectFactory sFactory
Method Detail |
---|
public RecommendedAnswer create() throws javax.ejb.CreateException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
factory
was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until RecommendedAnswer.writeInstance()
is called on the instance (and the transaction is committed, if the implementation is transaction-aware).
javax.ejb.CreateException
javax.ejb.EJBException
public RecommendedAnswer create(java.lang.String pId) throws javax.ejb.CreateException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
factory
was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until RecommendedAnswer.writeInstance()
is called on the instance (and the transaction is committed, if the implementation is transaction-aware).
javax.ejb.CreateException
javax.ejb.EJBException
public RecommendedAnswer findByPrimaryKey(java.lang.String primaryKey) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
ObjectNotFoundException
if the instance is not found.
javax.ejb.FinderException
javax.ejb.EJBException
public java.util.Collection findByDocument(java.lang.String docId) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
docId
- The document url
Collection
of RecommendedAnswer
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.
javax.ejb.FinderException
javax.ejb.EJBException
public java.util.Collection findByDocumentSince(java.lang.String docId, java.util.Date since, java.lang.String state) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
docId
- Document urlsince
- Sincestate
- Not in this link state
Collection
of RecommendedAnswer
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.
javax.ejb.FinderException
javax.ejb.EJBException
public java.util.Collection findBySolution(java.lang.String solutionId) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
solutionId
- solution repository id
Collection
of RecommendedAnswer
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.
javax.ejb.FinderException
javax.ejb.EJBException
public int countBySolution(java.lang.String solutionId) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
solutionId
- solution repository id
javax.ejb.FinderException
javax.ejb.EJBException
public java.util.Collection findBySolutionSince(java.lang.String solutionId, java.util.Date since, java.lang.String state) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
solutionId
- Solution repository Idsince
- Sincestate
- Not in this link state
Collection
of RecommendedAnswer
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.
javax.ejb.FinderException
javax.ejb.EJBException
public int countBySolutionWithLinkState(java.lang.String solutionId, java.lang.String state) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
solutionId
- solution repository idstate
- recommended answer state
javax.ejb.FinderException
javax.ejb.EJBException
public java.util.Collection findBySolutionWithPaging(java.lang.String solutionId, int startingIndex, int numItems) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
solutionId
- solution repository idstartingIndex
- Starting Index of items to be retreived.numItems
- # items to be retreived.
Collection
of RecommendedAnswer
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.
javax.ejb.FinderException
javax.ejb.EJBException
public java.util.Collection findByTicket(java.lang.String ticketId) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
ticketId
- Ticket Id
Collection
of RecommendedAnswer
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.
javax.ejb.FinderException
javax.ejb.EJBException
public RecommendedAnswer findByTicketAndDocument(java.lang.String ticketId, java.lang.String docId) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
ticketId
- Ticket IddocId
- Document url
ObjectNotFoundException
if no such instance is found.
javax.ejb.FinderException
javax.ejb.EJBException
public RecommendedAnswer findByTicketAndSolution(java.lang.String ticketId, java.lang.String solutionId) throws javax.ejb.FinderException, javax.ejb.EJBException
atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
ticketId
- Ticket IdsolutionId
- Repository id of the solution
ObjectNotFoundException
if no such instance is found.
javax.ejb.FinderException
javax.ejb.EJBException
public java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)
wrapRepositoryItems
in interface atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
wrapRepositoryItems
in interface RecommendedAnswerHome
public RecommendedAnswer wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
wrapRepositoryItem
in interface atg.svc.repository.beans.pv.RecommendedAnswerHome_PV
wrapRepositoryItem
in interface RecommendedAnswerHome
public void remove(java.lang.Object primaryKey) throws javax.ejb.RemoveException, javax.ejb.EJBException
javax.ejb.RemoveException
javax.ejb.EJBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |