public void deleteWarrant(long id)
throws PortalException, SystemException,
com.warrantchange.NoSuchWarrantException {
Warrant warrant = warrantPersistence.remove(id);
Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
if (indexer != null) {
try {
indexer.delete(warrant);
}
catch (SearchException se) {
if (_log.isWarnEnabled()) {
_log.warn(se, se);
}