Class SearchEntity
java.lang.Object
org.opencastproject.search.impl.persistence.SearchEntity
Entity object for storing search in persistence storage. Media package id is stored as primary key.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringSerialized access controlprotected JpaOrganizationOrganization idprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns serialized access controlReturns media package id.Returns serialized media package.voidsetAccessControl(String accessControl) Sets serialized access control.voidsetDeletionDate(Date deletionDate) Sets the deletion datevoidsetMediaPackageId(String mediaPackageId) Sets media package id.voidsetMediaPackageXML(String mediaPackageXML) Sets serialized media packagevoidsetModificationDate(Date modificationDate) Sets the modification datevoidsetOrganization(Organization organization) voidsetSeriesId(String seriesId) Sets the series ID
-
Field Details
-
seriesId
-
organization
Organization id -
accessControl
Serialized access control
-
-
Constructor Details
-
SearchEntity
public SearchEntity()Default constructor without any import.
-
-
Method Details
-
getMediaPackageId
Returns media package id.- Returns:
- media package id
-
setMediaPackageId
Sets media package id. Id length limit is 128 charachters.- Parameters:
mediaPackageId-
-
getMediaPackageXML
Returns serialized media package.- Returns:
- serialized media package
-
setMediaPackageXML
Sets serialized media package- Parameters:
mediaPackageXML-
-
getAccessControl
Returns serialized access control- Returns:
- serialized access control
-
setAccessControl
Sets serialized access control.- Parameters:
accessControl- serialized access control
-
getOrganization
- Returns:
- the organization
-
setOrganization
- Parameters:
organization- the organization to set
-
getDeletionDate
- Returns:
- the deletion date
-
setDeletionDate
Sets the deletion date- Parameters:
deletionDate- the deletion date
-
getModificationDate
- Returns:
- the modification date
-
setModificationDate
Sets the modification date- Parameters:
modificationDate- the modification date
-
getSeriesId
- Returns:
- the series Id for this search entry
-
setSeriesId
Sets the series ID- Parameters:
seriesId- the series ID
-