Package org.bremersee.common.model
Class AccessControlListModifications
- java.lang.Object
-
- org.bremersee.common.model.AccessControlListModifications
-
- All Implemented Interfaces:
Serializable
@Validated public class AccessControlListModifications extends Object implements Serializable
Specifies modifications of an access control list.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccessControlListModifications(String newOwner, List<AccessControlEntryModifications> entries)
Instantiates new access control list modifications.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessControlEntryModifications>
getEntries()
Get modification entries.String
getNewOwner()
The owner is always granted and can only be changed by the owner.void
setEntries(List<AccessControlEntryModifications> entries)
Sets modification entries.void
setNewOwner(String newOwner)
Sets new owner.
-
-
-
Constructor Detail
-
AccessControlListModifications
public AccessControlListModifications(String newOwner, List<AccessControlEntryModifications> entries)
Instantiates new access control list modifications.- Parameters:
newOwner
- the new ownerentries
- the modification entries
-
-
Method Detail
-
getNewOwner
public String getNewOwner()
The owner is always granted and can only be changed by the owner.- Returns:
- newOwner new owner
-
setNewOwner
public void setNewOwner(String newOwner)
Sets new owner.- Parameters:
newOwner
- the new owner
-
getEntries
public List<AccessControlEntryModifications> getEntries()
Get modification entries.- Returns:
- the modification entries
-
setEntries
public void setEntries(List<AccessControlEntryModifications> entries)
Sets modification entries.- Parameters:
entries
- the modification entries
-
-