module com { module sun { module star { module sdb {
/** should be provided by a tool which simplifies the handling with SQL select statements.
<p> TheinterfacecanbeusedforcomposingSELECTstatementswithoutknowingthe structureoftheusedquery. </p>
*/
published interface XSQLQueryComposer: com::sun::star::uno::XInterface
{
/** returns the query used for composing. @returns thequery
*/
string getQuery();
/** sets a new query for the composer, which may be expanded by filters andsortcriteria. @paramcommand thecommandtoset @throwscom::sun::star::sdbc::SQLException ifadatabaseaccesserroroccurs.
*/ void setQuery([in] string command )
raises (com::sun::star::sdbc::SQLException);
/** returns the query composed with filters and sort criteria. @returns thecomposedquery
*/
string getComposedQuery();
/** appends a new filter condition by a com::sun::star::sdb::DataColumn providingthenameandthevalueforthefilter. @paramcolumn thecolumnwhichisusedtocreateafilter @throwscom::sun::star::sdbc::SQLException ifadatabaseaccesserroroccurs.
*/ void appendFilterByColumn([in] com::sun::star::beans::XPropertySet column)
raises (com::sun::star::sdbc::SQLException);
/** appends an additional part to the sort order criteria of the select statement. @paramcolumn thecolumnwhichisusedtocreateanorderpart @paramascending `TRUE`whentheordershouldbeascending,otherwise`FALSE` @throwscom::sun::star::sdbc::SQLException ifadatabaseaccesserroroccurs.
*/ void appendOrderByColumn([in] com::sun::star::beans::XPropertySet column,
[in] boolean ascending)
raises (com::sun::star::sdbc::SQLException);
/** makes it possible to set a filter condition for the query. @paramfilter thefiltertoset @throwscom::sun::star::sdbc::SQLException ifadatabaseaccesserroroccurs.
*/ void setFilter([in] string filter)
raises (com::sun::star::sdbc::SQLException);
/** makes it possible to set a sort condition for the query. @paramorder theorderparttoset @throwscom::sun::star::sdbc::SQLException ifadatabaseaccesserroroccurs.
*/ void setOrder([in] string order)
raises (com::sun::star::sdbc::SQLException);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.