Support for retrieving all Entity types registered.
---------------------------------------------------

                 Key: QI-48
                 URL: http://issues.ops4j.org/jira/browse/QI-48
             Project: Qi4j
          Issue Type: New Feature
          Components: ReST
            Reporter: Niclas Hedhman
            Assignee: Rickard Öberg


The ReST Entity API should support retrieval of all registered entity types. I 
am suggesting that this is mounted on the following URL;

/entity   -> return all registered entities

Also, I think this should take the query parameters "layer" and "module" to 
allow a particular layer or a particular module to be selected.

Example;

http://localhost:8182/entity?layer=domain
http://localhost:8182/entity?layer=domain&module=accounting
http://localhost:8182/entity?module=accounting

The last case should find all modules in the system named accounting 
irregardless of which layer.

I sugges the following format of the returned document;

<types>
  <layer name="{layername}">
    <module name="{modulename}" >
    <type href="{typereference}">{type-classname}</type>
    <type href="{typereference}">{type-classname}</type>    
    </module>
  </layer>
</types>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to