run.halo.app.search.event.HaloDocumentDeleteRequestEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
API of halo project, connecting by other projects.
The newest version!
package run.halo.app.search.event;
import org.springframework.context.ApplicationEvent;
import org.springframework.lang.Nullable;
import run.halo.app.plugin.SharedEvent;
@SharedEvent
public class HaloDocumentDeleteRequestEvent extends ApplicationEvent {
private final Iterable docIds;
/**
* Construct a new {@code HaloDocumentDeleteRequestEvent} instance.
*
* @param source The source of the event.
* @param docIds If the document IDs are not provided, all documents will be deleted.
*/
public HaloDocumentDeleteRequestEvent(Object source, @Nullable Iterable docIds) {
super(source);
this.docIds = docIds;
}
public Iterable getDocIds() {
return docIds;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy