Package com.saperion.ws.wrapper
Class SaWsAuthorizedUsers
java.lang.Object
com.saperion.ws.wrapper.SaWsAuthorizedUsers
Wrapping class for authorized users.
-
Constructor Summary
ConstructorsConstructorDescriptionStandard constructor.SaWsAuthorizedUsers
(List<com.saperion.intf.UsersRights> userRights) Parameterized constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the authorized user members.boolean
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
(List<SaWsAuthorizedUser> users) Sets the members (List of SaWsAuthorizedUser) of authorized users.
-
Constructor Details
-
SaWsAuthorizedUsers
public SaWsAuthorizedUsers()Standard constructor. -
SaWsAuthorizedUsers
Parameterized constructor.- Parameters:
userRights
- The List of UsersRights.
-
-
Method Details
-
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
Sets the members (List of SaWsAuthorizedUser) of authorized users.- Parameters:
users
- the list of authorized users.
-
getMembers
Returns the authorized user members.- Returns:
- the list of authorized users.
-