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

    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
    Sets properties that may depend on the directory configuration.
  • Method Details

    • 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 service
      entryId - the entry to delete id