|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eindex.ejb.query.EOSearchResultAssembler
The EOSearchResultAssembler class creates the results data (that is, EOSearchResultRecord objects) used by the Enterprise Data Manager to display the results of a search. The search is executed from a call to MasterController.SearchEnterpriseObject.
Constructor Summary | |
EOSearchResultAssembler()
Creates a new instance of the EOSearchResultAssembler class. |
Method Summary | |
java.lang.Object |
createObjectAttributes(java.lang.Object rootObject,
java.lang.Object parent,
java.lang.String objectName,
AttributesData attrsData)
Creates an object containing the attributes for each object (other than the root object) that is returned from the Query Manager iterator (QMIterator class) and that has a new identity. |
java.lang.Object |
createRoot(java.lang.String objectName,
AttributesData attrsData)
Creates the root object for each object returned from the Query Manager iterator (QMIterator class). |
ValueMetaNode |
getValueMetaNode(java.lang.String fullObjPath)
Retrieves the value meta node, which describes an object structure, for the given object path. |
void |
init()
Initializes the resources to be used by EOSearchResultAssembler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EOSearchResultAssembler() throws VOAException
VOAException
- Thrown if an error occurs while creating
the object.Method Detail |
public java.lang.Object createObjectAttributes(java.lang.Object rootObject, java.lang.Object parent, java.lang.String objectName, AttributesData attrsData) throws VOAException
createObjectAttributes
in interface ResultObjectAssembler
rootObject
- The name of the root object.parent
- The name of the parent object (this may be the same as the root
object).objectName
- The name of the object, as defined in the Object Definition
configuration file in the eView Project.attrsData
- - The attribute data associated with the object.
Object
- An object containing the attributes.
VOAException
- Thrown if an error occurs while creating the object
attributes.public java.lang.Object createRoot(java.lang.String objectName, AttributesData attrsData) throws VOAException
createRoot
in interface ResultObjectAssembler
objectName
- The name of the root object.attrsData
- The attribute data associated with the root object.
Object
- The root object of the fields in the SQL statement.
VOAException
- Thrown if an error occurs while creating the root
object.public ValueMetaNode getValueMetaNode(java.lang.String fullObjPath) throws QMException, VOAException
fullObjPath
- The fully qualified path to the object. Fully qualified path
names have "Enterprise" as the root; for example,
"Enterprise.SystemSBR.Person.Address.City".
ValueMetaNode
- An object describing the structure of the
assembled object.
VOAException
- Thrown if an error occurs while creating the value meta
node.
QMException
- Thrown if an error occurs in the Query Manager.public void init()
void
- None.
init
in interface ResultObjectAssembler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 by Sun Microsystems, Inc. All Rights Reserved.