Class SaWsAuthorizedUsers


  • public class SaWsAuthorizedUsers
    extends java.lang.Object
    Wrapping class for authorized users.
    • Constructor Summary

      Constructors 
      Constructor Description
      SaWsAuthorizedUsers()
      Standard constructor.
      SaWsAuthorizedUsers​(java.util.List<com.saperion.intf.UsersRights> userRights)
      Parameterized constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<SaWsAuthorizedUser> getMembers()
      Returns the authorized user members.
      boolean isAllUsers()
      Indicates if all users are allowed to perform the action in question.
      void setAllUsers​(boolean allUsersBool)
      Sets the flag allUsers - all users are allowed to perform the action in question.
      void setMembers​(java.util.List<SaWsAuthorizedUser> users)
      Sets the members (List of SaWsAuthorizedUser) of authorized users.
      • Methods inherited from class java.lang.Object

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

      • SaWsAuthorizedUsers

        public SaWsAuthorizedUsers()
        Standard constructor.
      • SaWsAuthorizedUsers

        public SaWsAuthorizedUsers​(java.util.List<com.saperion.intf.UsersRights> userRights)
        Parameterized constructor.
        Parameters:
        userRights - The List of UsersRights.
    • Method Detail

      • setAllUsers

        public void setAllUsers​(boolean allUsersBool)
        Sets the flag allUsers - all users are allowed to perform the action in question.
        Parameters:
        allUsersBool - indicates if all users are allowed to perform the action in question.
      • isAllUsers

        public boolean isAllUsers()
        Indicates if all users are allowed to perform the action in question.
        Returns:
        true or false.
      • setMembers

        public void setMembers​(java.util.List<SaWsAuthorizedUser> users)
        Sets the members (List of SaWsAuthorizedUser) of authorized users.
        Parameters:
        users - the list of authorized users.
      • getMembers

        public java.util.List<SaWsAuthorizedUser> getMembers()
        Returns the authorized user members.
        Returns:
        the list of authorized users.