Class GroupsAccess

  • All Implemented Interfaces:
    EntryPointAccess, java.lang.Iterable<java.lang.String>

    public class GroupsAccess
    extends java.lang.Object
    implements EntryPointAccess, java.lang.Iterable<java.lang.String>
    Only users from the listed groups may call this method. Note: if the list is empty then this method is not callable from outside the contract.
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupsAccess()  
      GroupsAccess​(java.util.List<java.lang.String> groups)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getGroups()  
      java.util.Iterator<java.lang.String> iterator()  
      void setGroups​(java.util.List<java.lang.String> groups)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • GroupsAccess

        public GroupsAccess​(java.util.List<java.lang.String> groups)
      • GroupsAccess

        public GroupsAccess()
    • Method Detail

      • iterator

        @NotNull
        public java.util.Iterator<java.lang.String> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.String>
      • getGroups

        public java.util.List<java.lang.String> getGroups()
      • setGroups

        public void setGroups​(java.util.List<java.lang.String> groups)