Package com.logicaldoc.core.security
Class SecurableExtensibleObject
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.metadata.ExtensibleObject
com.logicaldoc.core.security.SecurableExtensibleObject
- All Implemented Interfaces:
Securable
,Serializable
- Direct Known Subclasses:
AbstractAttributeSet
,AbstractDocument
,Folder
A extensible 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.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getTemplate, getTemplateId, getTemplateName, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setTemplate, setTemplateId, setTemplateName, setValue, setValues
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
SecurableExtensibleObject
public SecurableExtensibleObject()
-
-
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
-