Package org.bremersee.common.model
Class AccessControlList
- java.lang.Object
- 
- org.bremersee.common.model.AccessControlList
 
- 
- All Implemented Interfaces:
- Serializable
 
 @Validated public class AccessControlList extends Object implements Serializable Specifies permissions and who is granted.- Author:
- Christian Bremer
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AccessControlList(String owner, List<AccessControlEntry> entries)Instantiates a new access control list.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessControlEntry>getEntries()Get entries.StringgetOwner()The owner is always granted and can only be changed by the owner.voidsetEntries(List<AccessControlEntry> entries)Sets entries.voidsetOwner(String owner)Sets owner.
 
- 
- 
- 
Constructor Detail- 
AccessControlListpublic AccessControlList(String owner, List<AccessControlEntry> entries) Instantiates a new access control list.- Parameters:
- owner- the owner
- entries- the entries
 
 
- 
 - 
Method Detail- 
getOwnerpublic String getOwner() The owner is always granted and can only be changed by the owner.- Returns:
- owner owner
 
 - 
setOwnerpublic void setOwner(String owner) Sets owner.- Parameters:
- owner- the owner
 
 - 
getEntriespublic List<AccessControlEntry> getEntries() Get entries.- Returns:
- entries entries
 
 - 
setEntriespublic void setEntries(List<AccessControlEntry> entries) Sets entries.- Parameters:
- entries- the entries
 
 
- 
 
-