Interface DeleteRequest

    • Method Detail

      • getDN

        java.lang.String getDN()
        Retrieves the DN of the entry to be deleted.
        Returns:
        The DN of the entry to be deleted.
      • isSoftDelete

        boolean isSoftDelete()
        Indicates whether this request will result in the target entry being soft-deleted. This will be true either if the SoftDeleteRequestControl is included or if the request matches the auto-soft-delete connection criteria or request criteria specified in the Soft Delete Policy for the server.
        Returns:
        true if this request will result in the target entry being soft-deleted, false otherwise.
      • getSoftDeleteRequestControl

        SoftDeleteRequestControl getSoftDeleteRequestControl()
        Retrieves the soft-delete request control included in the delete request if it is present. Note that soft delete operations can occur without the SoftDeleteRequestControl if the request matches the auto-soft-delete connection criteria; in that case this method will return null.
        Returns:
        the soft-delete request control if it is present in the request, otherwise null.
      • isHardDelete

        boolean isHardDelete()
        Indicates whether this request will result in the target entry being hard-deleted. This will be true either if the HardDeleteRequestControl is included or if the request didn't match any condition necessary to make it a soft-delete.
        Returns:
        true if this request will result in the target entry being hard-deleted, false otherwise.