2 Replies Latest reply: Jan 3, 2012 4:10 PM by Sunil Shettigar RSS

    Retrieve Categories for a given Jive container.

    Sunil Shettigar

      I am currently working on a custom widget plugin using the core Jive API. One of the requirement is to fetch the categories for a given space or project. I have looked at the Java docs but cannot find any class / method that retrieves the categories. Anyone know how to fetch categories for a given space, etc? Like for e.g. to get the Activity stream, you have a Activity Manager:

       

      WidgetContext context = [some value];

       

      ActivityManager activityManager = JiveApplication.getContext().getActivityManager();

      Iterable<Activity> activityList = activityManager.getRecentActivity(context.getContainer());

       

      Is there something similar for categories?

       

      Thanks,

      ~Sunil