GetAsset and getCategory operations in servlet API

GetAsset and getCategory operations in servlet API

Hi,
 
I'm using servlets API to open new Requests. I have 2 questions:
 
1. I'd like to visualize in the html form all the active Categories (and related Subcategories) that a Requester can set. There is an operation (an hypothetical "getAllCategories") to do this? Actually, I'm doing a direct sql query on DB to get categories, but i don't like this workaround..
 
2. It's similar to 1. question, but about Assets. I'd like to visualize in the html form all the Assets related to Requester. There is an operation (an hypothetical "getUserAssets") to do this?
 
Thanks in advance,
sutot

                  New to ADSelfService Plus?