atg.svc.repository.beans
Interface ViewedAnswer

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface ViewedAnswer
extends javax.ejb.EJBLocalObject

Class ViewedAnswer

Property Summaries

Property Name Property Type Property Description Flags
contextId String   R, W, Cch, Qry
docId String   R, Cch, Drv, Qry
docType ViewedAnswerDocType   R, W, Cch, Qry
excerpt String   R, W, Cch, Qry
id String   R, W, Cch, Id, Qry, Req
solutionId String   R, W, Cch, Qry
solutionVersion String   R, W, Cch, Qry
title String   R, W, Cch, Qry, Req
url String   R, W, Cch, Qry
viewDate Timestamp   R, W, Cch, Qry, Req

Flags Key:R=readable, W=writable, CsD=cascadeDelete, CsI=cascadeInsert, CsU=cascadeUpdate, Cch=cacheable, CoM=collectionOrMap, Drv=derived, Id=idProperty, Mv=multivalued, Qry=queryable, Req=required, Exp=expert, Hdn=hidden, Prf=preferred

Property Details

Property contextId: String

Property docId: String

Property docType: ViewedAnswerDocType

Property excerpt: String

Property id: String

Property solutionId: String

Property solutionVersion: String

Property title: String

Property url: String

Property viewDate: Timestamp


Method Summary
 boolean _isMutable()
          Returns true if the item is mutable.
 void copyTo(ViewedAnswer destination)
          Copies the property values of this instance to another instance of the same data type.
 java.lang.String getContextId()
          Getter for property contextId
 java.lang.String getDocId()
          Getter for property docId
 ViewedAnswerDocType getDocType()
          Getter for property docType
 java.lang.String getExcerpt()
          Getter for property excerpt
 java.lang.String getId()
          Getter for property id
 java.lang.String getSolutionId()
          Getter for property solutionId
 java.lang.String getSolutionVersion()
          Getter for property solutionVersion
 java.lang.String getTitle()
          Getter for property title
 java.lang.String getUrl()
          Getter for property url
 java.sql.Timestamp getViewDate()
          Getter for property viewDate
 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 setContextId(java.lang.String value)
          Setter for property contextId .
 void setDocType(ViewedAnswerDocType value)
          Setter for property docType .
 void setExcerpt(java.lang.String value)
          Setter for property excerpt .
 void setId(java.lang.String value)
          Setter for property id .
 void setSolutionId(java.lang.String value)
          Setter for property solutionId .
 void setSolutionVersion(java.lang.String value)
          Setter for property solutionVersion .
 void setTitle(java.lang.String value)
          Setter for property title .
 void setUrl(java.lang.String value)
          Setter for property url .
 void setViewDate(java.sql.Timestamp value)
          Setter for property viewDate .
 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

getContextId

java.lang.String getContextId()
                              throws javax.ejb.EJBException
Getter for property contextId

Returns:
String
Throws:
javax.ejb.EJBException

setContextId

void setContextId(java.lang.String value)
                  throws javax.ejb.EJBException
Setter for property contextId . The 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getDocId

java.lang.String getDocId()
                          throws javax.ejb.EJBException
Getter for property docId

Returns:
String
Throws:
javax.ejb.EJBException

getDocType

ViewedAnswerDocType getDocType()
                               throws javax.ejb.EJBException
Getter for property docType

Returns:
ViewedAnswerDocType
Throws:
javax.ejb.EJBException

setDocType

void setDocType(ViewedAnswerDocType value)
                throws javax.ejb.EJBException
Setter for property docType . The 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.

Parameters:
value - ViewedAnswerDocType
Throws:
javax.ejb.EJBException

getExcerpt

java.lang.String getExcerpt()
                            throws javax.ejb.EJBException
Getter for property excerpt

Returns:
String
Throws:
javax.ejb.EJBException

setExcerpt

void setExcerpt(java.lang.String value)
                throws javax.ejb.EJBException
Setter for property excerpt . The 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getId

java.lang.String getId()
                       throws javax.ejb.EJBException
Getter for property id

Returns:
String
Throws:
javax.ejb.EJBException

setId

void setId(java.lang.String value)
           throws javax.ejb.EJBException
Setter for property id . The 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getSolutionId

java.lang.String getSolutionId()
                               throws javax.ejb.EJBException
Getter for property solutionId

Returns:
String
Throws:
javax.ejb.EJBException

setSolutionId

void setSolutionId(java.lang.String value)
                   throws javax.ejb.EJBException
Setter for property solutionId . The 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getSolutionVersion

java.lang.String getSolutionVersion()
                                    throws javax.ejb.EJBException
Getter for property solutionVersion

Returns:
String
Throws:
javax.ejb.EJBException

setSolutionVersion

void setSolutionVersion(java.lang.String value)
                        throws javax.ejb.EJBException
Setter for property solutionVersion . The 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getTitle

java.lang.String getTitle()
                          throws javax.ejb.EJBException
Getter for property title

Returns:
String
Throws:
javax.ejb.EJBException

setTitle

void setTitle(java.lang.String value)
              throws javax.ejb.EJBException
Setter for property title . The 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getUrl

java.lang.String getUrl()
                        throws javax.ejb.EJBException
Getter for property url

Returns:
String
Throws:
javax.ejb.EJBException

setUrl

void setUrl(java.lang.String value)
            throws javax.ejb.EJBException
Setter for property url . The 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.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getViewDate

java.sql.Timestamp getViewDate()
                               throws javax.ejb.EJBException
Getter for property viewDate

Returns:
Timestamp
Throws:
javax.ejb.EJBException

setViewDate

void setViewDate(java.sql.Timestamp value)
                 throws javax.ejb.EJBException
Setter for property viewDate . The 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.

Parameters:
value - Timestamp
Throws:
javax.ejb.EJBException

isRemoved

boolean isRemoved()
                  throws javax.ejb.EJBException
Returns true if the underlying object has been removed. False otherwise.

Throws:
javax.ejb.EJBException

copyTo

void copyTo(ViewedAnswer destination)
            throws javax.ejb.EJBException
Copies the property values of this instance to another instance of the same data type. Only properties that are both readable and writable are copied. Each property is copied by calling the getter method on the source instance and setting the result in the destination instance using the setter method.

Throws:
javax.ejb.EJBException

writeInstance

void writeInstance()
                   throws javax.ejb.EJBException
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. Changes might be made visible before calling this method, but this is not guaranteed until this method is called.

Throws:
javax.ejb.EJBException

prepareInstanceForWrite

void prepareInstanceForWrite()
                             throws javax.ejb.EJBException
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. This must be called before that first read.

Throws:
javax.ejb.EJBException

_isMutable

boolean _isMutable()
Returns true if the item is mutable. Items are only mutable after a setter method or prepareInstanceForWrite is called.