|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KnowledgeSession
KnowledgeSessionHome
Attribute Name | Attribute Value |
---|---|
atg.repository.query.SupportedQueries | and, comparison, constant, inFolders, includesAny, includes, includesItem, isNull, matchId, not, or, patternMatch, property, propertyOf, unconstrained, patternMatch, textSearch |
Property Name | Property Type | Property Description | Flags |
---|---|---|---|
id | String |
R, W, Cch, Id, Qry, Req | |
linkedDocuments | Set of RecommendedAnswer |
R, W, Cch, CoM, Mv, Qry | |
queries | List of KnowledgeQuery |
R, W, CsD, Cch, CoM, Mv, Qry | |
rejectedDocuments | Set of RecommendedAnswer |
R, W, Cch, CoM, Mv, Qry | |
sessionEndDate | Timestamp |
R, W, Cch, Qry | |
sessionStartDate | Timestamp |
R, W, Cch, Qry, Req | |
ticketId | String |
R, W, Cch, Qry | |
userId | String |
R, W, Cch, Qry, Req | |
viewedAnswers | List of ViewedAnswer |
R, W, CsD, Cch, CoM, Mv, Qry |
Property id: String
getId()
setId(java.lang.String)
Property linkedDocuments: Set
of RecommendedAnswer
getLinkedDocuments()
setLinkedDocuments(java.util.Set)
Property queries: List
of KnowledgeQuery
getQueries()
setQueries(java.util.List)
Property rejectedDocuments: Set
of RecommendedAnswer
getRejectedDocuments()
setRejectedDocuments(java.util.Set)
Property sessionEndDate: Timestamp
getSessionEndDate()
setSessionEndDate(java.sql.Timestamp)
Property sessionStartDate: Timestamp
getSessionStartDate()
setSessionStartDate(java.sql.Timestamp)
Attribute Name | Attribute Value |
---|---|
useNowForDefault | true |
Property ticketId: String
getTicketId()
setTicketId(java.lang.String)
Property userId: String
getUserId()
setUserId(java.lang.String)
Property viewedAnswers: List
of ViewedAnswer
getViewedAnswers()
setViewedAnswers(java.util.List)
Method Summary | |
---|---|
boolean |
_isMutable()
Returns true if the item is mutable. |
void |
copyTo(KnowledgeSession destination)
Copies the property values of this instance to another instance of the same data type. |
java.lang.String |
getId()
Getter for property id |
java.util.Set |
getLinkedDocuments()
Getter for property linkedDocuments |
java.util.List |
getQueries()
Getter for property queries |
java.util.Set |
getRejectedDocuments()
Getter for property rejectedDocuments |
java.sql.Timestamp |
getSessionEndDate()
Getter for property sessionEndDate |
java.sql.Timestamp |
getSessionStartDate()
Getter for property sessionStartDate |
java.lang.String |
getTicketId()
Getter for property ticketId |
java.lang.String |
getUserId()
Getter for property userId |
java.util.List |
getViewedAnswers()
Getter for property viewedAnswers |
boolean |
isRemoved()
Returns true if the underlying object has been removed. |
void |
prepareInstanceForWrite()
This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write. |
void |
setId(java.lang.String value)
Setter for property id . |
void |
setLinkedDocuments(java.util.Set value)
Setter for property linkedDocuments . |
void |
setQueries(java.util.List value)
Setter for property queries . |
void |
setRejectedDocuments(java.util.Set value)
Setter for property rejectedDocuments . |
void |
setSessionEndDate(java.sql.Timestamp value)
Setter for property sessionEndDate . |
void |
setSessionStartDate(java.sql.Timestamp value)
Setter for property sessionStartDate . |
void |
setTicketId(java.lang.String value)
Setter for property ticketId . |
void |
setUserId(java.lang.String value)
Setter for property userId . |
void |
setViewedAnswers(java.util.List value)
Setter for property viewedAnswers . |
void |
writeInstance()
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. |
Methods inherited from interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
java.lang.String getId() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setId(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
java.util.Set getLinkedDocuments() throws javax.ejb.EJBException
Set
of RecommendedAnswer
javax.ejb.EJBException
void setLinkedDocuments(java.util.Set value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- Set
of RecommendedAnswer
javax.ejb.EJBException
java.util.List getQueries() throws javax.ejb.EJBException
List
of KnowledgeQuery
javax.ejb.EJBException
void setQueries(java.util.List value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- List
of KnowledgeQuery
javax.ejb.EJBException
java.util.Set getRejectedDocuments() throws javax.ejb.EJBException
Set
of RecommendedAnswer
javax.ejb.EJBException
void setRejectedDocuments(java.util.Set value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- Set
of RecommendedAnswer
javax.ejb.EJBException
java.sql.Timestamp getSessionEndDate() throws javax.ejb.EJBException
Timestamp
javax.ejb.EJBException
void setSessionEndDate(java.sql.Timestamp value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- Timestamp
javax.ejb.EJBException
java.sql.Timestamp getSessionStartDate() throws javax.ejb.EJBException
Timestamp
javax.ejb.EJBException
void setSessionStartDate(java.sql.Timestamp value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- Timestamp
javax.ejb.EJBException
java.lang.String getTicketId() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setTicketId(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
java.lang.String getUserId() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setUserId(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
java.util.List getViewedAnswers() throws javax.ejb.EJBException
List
of ViewedAnswer
javax.ejb.EJBException
void setViewedAnswers(java.util.List value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- List
of ViewedAnswer
javax.ejb.EJBException
boolean isRemoved() throws javax.ejb.EJBException
javax.ejb.EJBException
void copyTo(KnowledgeSession destination) throws javax.ejb.EJBException
javax.ejb.EJBException
void writeInstance() throws javax.ejb.EJBException
javax.ejb.EJBException
void prepareInstanceForWrite() throws javax.ejb.EJBException
javax.ejb.EJBException
boolean _isMutable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |