Package org.nuxeo.ecm.directory.api
Interface DirectoryDeleteConstraint
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractDirectoryDeleteConstraint
,HierarchicalDirectoryDeleteConstraint
Interface for delete constraint on a directory, dependent to another directory.
- Author:
- Anahide Tchertchian
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canDelete
(DirectoryService dirService, String entryId) Returns true if given entry can be deleted from the directory where constraint is declared.void
setProperties
(Map<String, String> properties) Sets properties that may depend on the directory configuration.
-
Method Details
-
setProperties
Sets properties that may depend on the directory configuration. -
canDelete
Returns true if given entry can be deleted from the directory where constraint is declared.- Parameters:
dirService
- the directory serviceentryId
- the entry to delete id
-