Hi Sameera,

You can get a collection of the child paths as below, and iterate through
them.

Ex:
Collection resourceTypes = (Collection)
registry.get("/_system/governance/processes");
String[] resourceTypesRxtPaths = resourceTypes.getChildren();


Thanks

On Fri, Apr 29, 2016 at 9:54 AM, Sameera Gunarathne <[email protected]>
wrote:

> Hi all,
>
> I am working on adding audit log functionality for process center. There
> it is needed to get the resource paths for the added process assets at the
> registry. Process assets are added to "/_system/governance/processes" path
> and I need to get the paths for all the process assets with their versions.
> I tried registry.get("/_system/governance/processes") and it is returning a
> Resource object. What I need is to get the child asset paths under above
> resource path. Any help would be appreciated.
>
> Thanks and Regards,
> --
> Sameera Gunarathne
> Software Engineer, WSO2 Inc. http://wso2.com
> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com&h=gAQEswASa>
> Email: [email protected]
> Mobile: +94714155561
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: [email protected]
Blog: https://denuwanthi.wordpress.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to