Interface SearchResultItem
- All Known Implementing Classes:
SearchResultItemImpl
public interface SearchResultItem
An item that was found as part of a search. Typically a
SearchResultItem will be included in a
SearchResult-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSetSpec(String setSpec) getId()booleanReturntrueif the mediapackage has been deleted.
-
Method Details
-
getId
String getId()- Returns:
- the media package id
-
getMediaPackage
MediaPackage getMediaPackage()- Returns:
- the media package
-
getMediaPackageXml
String getMediaPackageXml()- Returns:
- the serialized media package
-
getOrganization
String getOrganization()- Returns:
- the organization id
-
getRepository
String getRepository()- Returns:
- the repository id
-
getModificationDate
Date getModificationDate()- Returns:
- the last modification date
-
isDeleted
boolean isDeleted()Returntrueif the mediapackage has been deleted. -
getElements
List<SearchResultElementItem> getElements()- Returns:
- the list of media package search result elements belongs to this media package
-
getEpisodeDublinCore
- Returns:
- the episode dublincore catalog if it was published with this media package
- Throws:
OaiPmhDatabaseException- if the episode dublincore catalog wasn't published with this media package or if the dublincore catalog can not be parsed
-
getSeriesDublinCore
- Returns:
- the series dublincore catalog if it was published with this media package
- Throws:
OaiPmhDatabaseException- if the series dublincore catalog wasn't published with this media package or if the dublincore catalog can not be parsed
-
getSetSpecs
-
addSetSpec
-