com.norconex.committer.core3

DeleteRequest

A committer deletion request. Metadata associated with a deletion request is typically minimal in comparison with an addition or update. It is even possible for it to be empty.

Class Signature:
public class DeleteRequest extends Object implements ICommitterRequest
Type Hierarchy:
Impl. Interfaces:
ICommitterRequest
Since:
3.0.0
Author:
Pascal Essiembre

Constructor Summary

Constructor and Description
DeleteRequest(String reference, Properties metadata) 

Method Summary

Modifier and Type Method and Description
boolean equals(Object other) 
Properties getMetadata()
Gets the metadata.
String getReference()
Gets the document reference.
int hashCode() 
String toString() 

Methods inherited from class java.lang.Object

Constructor Detail

DeleteRequest

public DeleteRequest(String reference, Properties metadata)

Method Detail

getReference

public String getReference()
Description copied from interface: ICommitterRequest
Gets the document reference.
Specified by:
getReference in interface ICommitterRequest
Returns:
document reference

getMetadata

public Properties getMetadata()
Description copied from interface: ICommitterRequest
Gets the metadata.
Specified by:
getMetadata in interface ICommitterRequest
Returns:
metadata

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Copyright © 2009–2022 Norconex Inc.. All rights reserved.

  Copied!
Successfully copied.