Package com.saperion.ws.wrapper
Class SaWsAuthorizedUsers
- java.lang.Object
-
- com.saperion.ws.wrapper.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.
-
-
-
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.
-
-