Top | ![]() |
![]() |
![]() |
![]() |
BeagleIndexable *
beagle_indexable_new (const char *uri
);
Creates a new BeagleIndexable for the given uri
.
void
beagle_indexable_free (BeagleIndexable *indexable
);
Frees the memory allocated by the BeagleIndexable.
void beagle_indexable_add_property (BeagleIndexable *indexable
,BeagleProperty *prop
);
Adds the BeagleProperty to the given BeagleIndexable.
BeagleIndexableType
beagle_indexable_get_type (BeagleIndexable *indexable
);
Fetches the BeagleIndexableType of the given BeagleIndexable.
void beagle_indexable_set_type (BeagleIndexable *indexable
,BeagleIndexableType type
);
Sets the BeagleIndexableType of the given BeagleIndexable.
const char *
beagle_indexable_get_uri (BeagleIndexable *indexable
);
Fetches the URI for the given BeagleIndexable.
void beagle_indexable_set_uri (BeagleIndexable *indexable
,const char *uri
);
Sets the URI of the BeagleIndexable to uri
.
const char *
beagle_indexable_get_parent_uri (BeagleIndexable *indexable
);
Fetches the URI for the given BeagleIndexable.
void beagle_indexable_set_parent_uri (BeagleIndexable *indexable
,const char *parent_uri
);
Sets the parent URI of the BeagleIndexable to parent_uri
.
const char *
beagle_indexable_get_content_uri (BeagleIndexable *indexable
);
Fetches the content URI for the given BeagleIndexable.
void beagle_indexable_set_content_uri (BeagleIndexable *indexable
,const char *content_uri
);
Sets the content URI of the given BeagleIndexable to content_uri
.
const char *
beagle_indexable_get_hot_content_uri (BeagleIndexable *indexable
);
Fetches the hot content URI of the given BeagleIndexable.
void beagle_indexable_set_hot_content_uri (BeagleIndexable *indexable
,const char *hot_content_uri
);
Sets the hot content URI of the given BeagleIndexable to hot_content_uri
.
BeagleTimestamp *
beagle_indexable_get_timestamp (BeagleIndexable *indexable
);
Gets the BeagleTimestamp for the given BeagleIndexable.
void beagle_indexable_set_timestamp (BeagleIndexable *indexable
,BeagleTimestamp *timestamp
);
Sets the BeagleTimestamp for the given BeagleIndexable.
gboolean
beagle_indexable_get_delete_content (BeagleIndexable *indexable
);
Fetches whether content of the given BeagleIndexable should be deleted after it has been indexed.
void beagle_indexable_set_delete_content (BeagleIndexable *indexable
,gboolean delete_content
);
Sets whether content of the given BeagleIndexable should be deleted after it has been indexed.
gboolean
beagle_indexable_get_crawled (BeagleIndexable *indexable
);
Fetches whether the given BeagleIndexable is in crawl mode.
void beagle_indexable_set_crawled (BeagleIndexable *indexable
,gboolean crawled
);
Sets whether the given BeagleIndexable is in crawl mode.
gboolean
beagle_indexable_get_no_content (BeagleIndexable *indexable
);
Fetches whether the given BeagleIndexable has no content.
void beagle_indexable_set_no_content (BeagleIndexable *indexable
,gboolean no_content
);
Sets whether the given BeagleIndexable has no content.
gboolean
beagle_indexable_get_cache_content (BeagleIndexable *indexable
);
Fetches whether the given BeagleIndexable consists of cached contents.
void beagle_indexable_set_cache_content (BeagleIndexable *indexable
,gboolean cache_content
);
Sets whether the given BeagleIndexable consists of cached contents.
BeagleIndexableFiltering
beagle_indexable_get_filtering (BeagleIndexable *indexable
);
Fetches the BeagleIndexableFiltering of the given BeagleIndexable.
void beagle_indexable_set_filtering (BeagleIndexable *indexable
,BeagleIndexableFiltering filtering
);
Sets the BeagleIndexableFiltering of the given BeagleIndexable.
const char *
beagle_indexable_get_hit_type (BeagleIndexable *indexable
);
Fetches the hit type of the given BeagleIndexable.
void beagle_indexable_set_hit_type (BeagleIndexable *indexable
,const char *hit_type
);
Sets the hit type of the given BeagleIndexable to hit_type
.
const char *
beagle_indexable_get_mime_type (BeagleIndexable *indexable
);
Fetches the mime type of the given BeagleIndexable.
void beagle_indexable_set_mime_type (BeagleIndexable *indexable
,const char *mime_type
);
Sets the mime type of the given BeagleIndexable to mime_type
.
const char *
beagle_indexable_get_source (BeagleIndexable *indexable
);
Fetches the source of the given BeagleIndexable.