Package com.logicaldoc.core.security
Class SecurablePersistentObject
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.security.SecurablePersistentObject
- All Implemented Interfaces:
Securable,Serializable
- Direct Known Subclasses:
Menu
A persistent object that also defines security policies
- Since:
- 8.9.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new entry, replacing a previous one with the same groupId.booleangetAccessControlEntry(long groupId) inthashCode()voidMethods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
SecurablePersistentObject
public SecurablePersistentObject()
-
-
Method Details
-
getAccessControlList
- Specified by:
getAccessControlListin interfaceSecurable
-
setAccessControlList
- Specified by:
setAccessControlListin interfaceSecurable
-
getAccessControlEntry
- Specified by:
getAccessControlEntryin interfaceSecurable
-
addAccessControlEntry
Description copied from interface:SecurableAdds a new entry, replacing a previous one with the same groupId.- Specified by:
addAccessControlEntryin interfaceSecurable- Parameters:
ace- the access control entry to add
-
equals
- Overrides:
equalsin classPersistentObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classPersistentObject
-