Interface PrivilegeCategoryLoader


  • public interface PrivilegeCategoryLoader
    This interface is used to get the relationship of privilege and its category. This logic is saved in WebSDK side, and used in WebApp and Admin REST now
    • Method Detail

      • getCategoryTypes

        int[] getCategoryTypes()
        Get privilege category type as a array.
        Returns:
      • getCategoryPrivileges

        int[][] getCategoryPrivileges()
        Get privileges split by category.
        Returns:
      • getCategoryNameKeys

        java.lang.String[] getCategoryNameKeys()
        Get category bundle key
        Returns:
      • getResourceName

        java.lang.String getResourceName()
        Get category bundle resource file name
        Returns:
      • isPrivilegeConfigFileLoaded

        boolean isPrivilegeConfigFileLoaded()
        get load status
        Returns: