Class WarlockPermServiceDummy

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Map<Long, String> loadPermAll() Load all Perm id and code (scopes + `.
      void create(@NotNull() String scopes, @NotNull() Collection<WarlockPermService.Act> acts) Create multiple perm at scopes from actions
      void modify(long permId, @NotNull() String remark) Modify the remark/comment of Perm
      • Methods inherited from class pro.fessional.wings.warlock.service.perm.WarlockPermService

        create, create
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WarlockPermServiceDummy

        WarlockPermServiceDummy()
    • Method Detail

      • loadPermAll

         Map<Long, String> loadPermAll()

        Load all Perm id and code (scopes + `.` + action) on time

        Returns:

        map of id and code

      • modify

         void modify(long permId, @NotNull() String remark)

        Modify the remark/comment of Perm

        Parameters:
        permId - id
        remark - comment