The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Webservice::InterMine::Query::Roles::WriteOutAble - Composable behaviour for serialisable queries

DESCRIPTION

This module provides composable behaviour for serialising queries

REQUIRES

This module demands its consumer provide the following methods:

  • coded_constraints =item * constraints =item * joins =item * logic =item * model_name =item * name =item * pathdescriptions =item * sort_order =item * view

METHODS

stringify

Returns a string representation of this query. This takes the form of xml. For invalid queries, the string "<query>Invalid</query>" is returned.

to_xml

Returns an xml representation of the query. If the query is invalid, an error with be thrown.

to_query_xml

Returns the xml suitable for passing to query service calls with (stripped of any headers in the case of templates and saved queries)

SEE ALSO

AUTHOR

Alex Kalderimis <dev@intermine.org>

BUGS

Please report any bugs or feature requests to dev@intermine.org.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Webservice::InterMine::Query::Roles::WriteOutAble

You can also look for information at:

COPYRIGHT AND LICENSE

Copyright 2006 - 2011 FlyMine, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.