com.trendmicro.grid.acl.ds
Interface CategoryViewRepository

All Superinterfaces:
Repository

public interface CategoryViewRepository
extends Repository

Defines a readonly repositories for views.

Version:
1.0
Author:
juergen_kellerer, 2010-05-06

Method Summary
 com.trendmicro.grid.acl.l0.datatypes.CategoryView getCategoryView(Locale locale, String viewName)
          Returns the category view for the specified view-name.
 List<String> getCategoryViewNames(Locale locale, String targetIdentifier)
          Returns the names of available category views,
 

Method Detail

getCategoryViewNames

List<String> getCategoryViewNames(Locale locale,
                                  String targetIdentifier)
Returns the names of available category views,

Parameters:
locale - The locale (language & country) of the requester (views are regional!).
targetIdentifier - Optional identifier specifying the requesting target application type. Is set to "default" if left empty or if it is not existing.
Returns:
A list of available viewnames.

getCategoryView

com.trendmicro.grid.acl.l0.datatypes.CategoryView getCategoryView(Locale locale,
                                                                  String viewName)
Returns the category view for the specified view-name.

Parameters:
locale - The locale (language & country) of the requester.
viewName - The name of the view to return.
Returns:
The cateogry view for the given name or 'null' if not existing.