public interface DirectoryUIDeleteConstraint extends Serializable
Modifier and Type | Method and 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.
|
void setProperties(Map<String,String> properties) throws DirectoryException
DirectoryException
boolean canDelete(DirectoryService dirService, String entryId) throws DirectoryException
dirService
- the directory serviceentryId
- the entry to delete idDirectoryException
Copyright © 2015 Nuxeo SA. All rights reserved.