Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IDocumentManager.SetBrokenLinkDeletionTime Method 

Sets the time interval after which a broken link document will be deleted.

void SetBrokenLinkDeletionTime(
   int documentID,
   TimeInterval deletionTime
);

Parameters

documentID
ID of the document to set broken link deletion time; cannot be negative.
deletionTime
Time interval after which a missing document will be deleted. The numeric component must be between 1 to 999, otherwise an ArgumentException will be thrown. Setting the deletionTime to TimeInterval.Infinite will cause the document to be never deleted.

Remarks

Setting the deletionTime to TimeInterval.Infinite will cause a broken link document to be never deleted.
The numeric component of the deletionTime must be between 1 to 999, otherwise an ArgumentException will be thrown.
The default broken link deletion time for a document is set by the document crawler.

Exceptions

Exception Type Condition
SoapException There is a communication problem during the execution of the remote method call.
PortalException The document ID is invalid, or if the operation resulted in an error on the portal.
ArgumentException The documentID is negative, or the numeric component of the refreshInterval is not between 1 to 999.
NullReferenceException DeletionTime or the unit component of the deletionTime is null.

See Also

IDocumentManager Interface | Plumtree.Remote.PRC Namespace