Package org.nuxeo.ecm.directory.api
Interface DirectoryDeleteConstraint
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractDirectoryDeleteConstraint
,HierarchicalDirectoryDeleteConstraint
public interface DirectoryDeleteConstraint extends Serializable
Interface for delete constraint on a directory, dependent to another directory.- Author:
- Anahide Tchertchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
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 Detail
-
setProperties
void setProperties(Map<String,String> properties)
Sets properties that may depend on the directory configuration.
-
canDelete
boolean canDelete(DirectoryService dirService, String entryId)
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
-
-