|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CrawlerCallback
A callback interface to access metadata and attachments of crawled data.
| Method Summary | |
|---|---|
void |
dispose(Id id)
Disposes the record with the given Id. |
byte[] |
getAttachment(Id id,
java.lang.String name)
Returns the attachment for the given Id and name pair. |
java.lang.String[] |
getAttachmentNames(Id id)
Returns an array of String[] containing the names of the available attachments for the given id. |
MObject |
getMObject(Id id)
Returns the MObject for the given id. |
| Method Detail |
|---|
MObject getMObject(Id id)
throws CrawlerException,
CrawlerCriticalException
id - the record id
CrawlerException - if any non critical error occurs
CrawlerCriticalException - if any critical error occurs
java.lang.String[] getAttachmentNames(Id id)
throws CrawlerException,
CrawlerCriticalException
id - the record id
CrawlerException - if any non critical error occurs
CrawlerCriticalException - if any critical error occurs
byte[] getAttachment(Id id,
java.lang.String name)
throws CrawlerException,
CrawlerCriticalException
id - the record idname - the name of the attachment
CrawlerException - if any non critical error occurs
CrawlerCriticalException - if any critical error occursvoid dispose(Id id)
id - the record id
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||