Interface GenericResourcePublishPredicateSupplier

All Superinterfaces:
Supplier<Predicate<Entity>>
All Known Implementing Classes:
IsEntityDocumentPredicateSupplier, IsMailBoxResourcePredicateSupplier, IsNotOutputJobRelatedPredicateSupplier, IsPublicFileRepositoryResourcePredicateSupplier

public interface GenericResourcePublishPredicateSupplier extends Supplier<Predicate<Entity>>
Implement this interface and contribute to GenericResourcePublishEntityListener to have Resource entities satisfying the provided Predicate automatically published upon changes or creation. Per default created and updated entities are automatically published. However with executeOnCreatedEntities and executeOnUpdatedEntities it is possible to disable the publishing for a certain use case.
  • Method Details

    • get

      Specified by:
      get in interface Supplier<Predicate<Entity>>
    • executeOnCreatedEntities

      default boolean executeOnCreatedEntities()
    • executeOnUpdatedEntities

      default boolean executeOnUpdatedEntities()