| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.document.search.DocumentSearchResult
public final class DocumentSearchResult
An immutable data transfer object implementation of the DocumentSearchResultContract.  Instances of this
 class should be constructed using the nested DocumentSearchResult.Builder class.
| Nested Class Summary | |
|---|---|
static class | 
DocumentSearchResult.Builder
A builder which can be used to construct DocumentSearchResult instances. | 
| Method Summary | |
|---|---|
 Document | 
getDocument()
Returns the document represented by this result.  | 
 List<DocumentAttribute> | 
getDocumentAttributeByName(String attributeName)
Returns an unmodifiable list of all document attributes on this result which have the given name.  | 
 List<DocumentAttribute> | 
getDocumentAttributes()
Returns an unmodifiable list of objects implementing the DocumentAttributeContract interface. | 
 DocumentAttribute | 
getSingleDocumentAttributeByName(String attributeName)
Returns a single document attribute from this result which has the given name.  | 
| Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject | 
|---|
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public Document getDocument()
DocumentSearchResultContractDocumentContract with the exception of document variables.  Even if a document has variables
 defined they will not be included on the document returned from this method.
getDocument in interface DocumentSearchResultContractpublic List<DocumentAttribute> getDocumentAttributes()
DocumentSearchResultContractDocumentAttributeContract interface.  These
 define the various document attributes that have been indexed for the document represented by this result.
getDocumentAttributes in interface DocumentSearchResultContractpublic List<DocumentAttribute> getDocumentAttributeByName(String attributeName)
attributeName - the attribute name of document attributes to retrieve
public DocumentAttribute getSingleDocumentAttributeByName(String attributeName)
attributeName - the attribute name of the document attribute to retrieve
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||