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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new entry, replacing a previous one with the same groupId.boolean
getAccessControlEntry
(long groupId) int
hashCode()
void
Methods 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:
getAccessControlList
in interfaceSecurable
-
setAccessControlList
- Specified by:
setAccessControlList
in interfaceSecurable
-
getAccessControlEntry
- Specified by:
getAccessControlEntry
in interfaceSecurable
-
addAccessControlEntry
Description copied from interface:Securable
Adds a new entry, replacing a previous one with the same groupId.- Specified by:
addAccessControlEntry
in interfaceSecurable
- Parameters:
ace
- the access control entry to add
-
equals
- Overrides:
equals
in classPersistentObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-