Class GroupValidator


  • @Component
    public class GroupValidator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupValidator​(pl.allegro.tech.hermes.domain.group.GroupRepository repository, GroupProperties groupProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkCreation​(pl.allegro.tech.hermes.api.Group toCheck, CreatorRights<pl.allegro.tech.hermes.api.Group> creatorRights)  
      • Methods inherited from class java.lang.Object

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

      • GroupValidator

        public GroupValidator​(pl.allegro.tech.hermes.domain.group.GroupRepository repository,
                              GroupProperties groupProperties)
    • Method Detail

      • checkCreation

        public void checkCreation​(pl.allegro.tech.hermes.api.Group toCheck,
                                  CreatorRights<pl.allegro.tech.hermes.api.Group> creatorRights)