|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.XDataSource
inetsoft.uql.util.HierDataSource
inetsoft.uql.object.ObjectDataSource
public class ObjectDataSource
Application object data source class. It contains meta data information and class to load objects.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.util.HierDataSource |
|---|
GET, POST |
| Fields inherited from class inetsoft.uql.XDataSource |
|---|
CORBA, DOMAIN_DB2, DOMAIN_NONE, DOMAIN_ORACLE, DOMAIN_SQL, DOMAIN_SQLSERVER, EJB, JDBC, OBJECT, SAP, SOAP, TEXT, XML, XMLA |
| Constructor Summary | |
|---|---|
ObjectDataSource()
Create a Object data source. |
|
| Method Summary | |
|---|---|
Object |
clone()
Create a clone of this object. |
Object |
createDataHelper()
Creates and initializes an instance of the data helper. |
Object |
createInterface()
Creates and initializes an instance of the server object interface. |
static String[] |
findDataHelpers()
Finds all data helper classes registered using the standard Java service loading mechanism. |
static String[] |
findDataLoaders()
Finds all data loader classes registered using the standard Java service loading mechanism. |
String |
getDataHelper()
Get the name of data helper class. |
String |
getInterface()
Get the Object server object interface class full name. |
String |
getRequest(int idx)
Get the data source item name. |
int |
getRequestCount()
Get the number of Object requests. |
XTypeNode |
getRequestInputType(String method)
Get the input type of the specified request. |
String |
getRequestOutputClass(String method)
Get the output class type of the specified request. |
XTypeNode |
getRequestOutputType(String method)
Get the output type of the specified request. |
XNode |
getRequestParameters(String method)
Get the parameters of the specified request. |
void |
importInterface(String serverclass)
Import the Object server object interface class. |
void |
parseXML(Element root)
Parse the XML element that contains information on this data source. |
void |
removeRequest(int idx)
|
void |
setDataHelper(String helper)
Set the fully qualified name of the data helper class. |
void |
setInterface(String serverclass)
Get the Object server object interface class full name. |
void |
setRequestOutputClass(String method,
String type)
Set the output class type of the specified request. |
void |
setRequestOutputType(String method,
XTypeNode type)
Set the output type of the specified request. |
void |
setRequestParameters(String method,
XNode params)
Set the parameters of the specified request. |
void |
updateInterfaceProperties(Object iface)
Update the initial properties for the server object interface using those of the specified object. |
void |
writeXML(PrintWriter writer)
Generate the XML segment to represent this data source. |
| Methods inherited from class inetsoft.uql.util.HierDataSource |
|---|
getParameters, getTypeResolver, setTypeResolver |
| Methods inherited from class inetsoft.uql.XDataSource |
|---|
addFolder, equals, getDescription, getDomainType, getFolders, getFullName, getName, getRuntimeValue, getType, hashCode, isMVEnabled, removeFolder, removeFolders, setDescription, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectDataSource()
| Method Detail |
|---|
public void setDataHelper(String helper)
public String getDataHelper()
public Object createDataHelper()
throws Exception
Exception - if the instance could not be created.public String getRequest(int idx)
getRequest in class HierDataSourcepublic int getRequestCount()
getRequestCount in class HierDataSourcepublic void removeRequest(int idx)
public XTypeNode getRequestOutputType(String method)
getRequestOutputType in class HierDataSourcemethod - request name.
public void setRequestOutputType(String method,
XTypeNode type)
method - request name.type - request output type.public String getRequestOutputClass(String method)
method - request name.
public void setRequestOutputClass(String method,
String type)
method - request name.type - request output type.public XTypeNode getRequestInputType(String method)
getRequestInputType in class HierDataSourcemethod - request name.
public XNode getRequestParameters(String method)
getRequestParameters in class HierDataSourcemethod - request name.
public void setRequestParameters(String method,
XNode params)
setRequestParameters in class HierDataSourcemethod - request name.params - parameters represented as a tree. It is converted
to a Object object during runtime to be passed to the Object call.public String getInterface()
public void setInterface(String serverclass)
public void updateInterfaceProperties(Object iface)
throws Exception
iface - the server object interface instance.
Exception - if the properties could not be updated.
public Object createInterface()
throws Exception
Exception - if the instance could not be created.
public void importInterface(String serverclass)
throws Exception
Exception
public void parseXML(Element root)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableparseXML in class XDataSourceExceptionpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriteXML in class XDataSourcepublic Object clone()
clone in class XDataSourcepublic static String[] findDataHelpers()
ServiceLoaderpublic static String[] findDataLoaders()
ServiceLoader
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||