Class EventSearchQuery

java.lang.Object
org.opencastproject.opensearch.impl.AbstractSearchQuery
org.opencastproject.opensearch.index.objects.event.EventSearchQuery
All Implemented Interfaces:
SearchQuery

public class EventSearchQuery extends AbstractSearchQuery
This interface defines a fluent api for a query object used to lookup recording events in the search index.
  • Constructor Details

    • EventSearchQuery

      public EventSearchQuery(String organization, User user)
      Creates a query that will return event documents.
  • Method Details

    • sortOrderFieldName

      protected String sortOrderFieldName(String field)
      Specified by:
      sortOrderFieldName in class AbstractSearchQuery
    • withIdentifier

      public EventSearchQuery withIdentifier(String id)
      Selects recording events with the given identifier.

      Note that this method may be called multiple times to support selection of multiple recording events.

      Parameters:
      id - the recording identifier
      Returns:
      the enhanced search query
    • getIdentifier

      public String[] getIdentifier()
      Returns the list of recording identifiers or an empty array if no identifiers have been specified.
      Returns:
      the identifiers
    • getOrganization

      public String getOrganization()
      Returns the organization of the recording
      Returns:
      the organization
    • getUser

      public User getUser()
      Returns the user of this search query
      Returns:
      the user of this search query
    • withTitle

      public EventSearchQuery withTitle(String title)
      Selects recordings with the given title.
      Parameters:
      title - the title
      Returns:
      the enhanced search query
    • withTitle

      public EventSearchQuery withTitle(String title, EventQueryType type, boolean must)
      Selects recordings with the given title.
      Parameters:
      title - the title
      Returns:
      the enhanced search query
    • getTitleValue

      public String getTitleValue()
      Returns the title of the recording.
      Returns:
      the title
    • getTitle

      public EventSearchQueryField<String> getTitle()
      Returns the title of the recording.
      Returns:
      the title
    • withoutActions

      public EventSearchQuery withoutActions()
      Filter the recording events without any action checked.
      Returns:
      the enhanced search query
    • withAction

      public EventSearchQuery withAction(Permissions.Action action)
      Filter the recording events with the given action.

      Note that this method may be called multiple times to support filtering by multiple actions.

      Parameters:
      action - the action
      Returns:
      the enhanced search query
    • getActions

      public String[] getActions()
      Returns the list of actions or an empty array if no actions have been specified.
      Returns:
      the actions
    • withAccessControlEntry

      public EventSearchQuery withAccessControlEntry(String role, Permissions.Action action)
      Filter the recording events with the given access control entry.
      Parameters:
      role -
      action -
      Returns:
    • getAccessControlEntries

      public Map<String,String> getAccessControlEntries()
      Returns the list of access control entries or an empty map if no access control entries have been specified.
      Returns:
      the access control entries
    • withPresenter

      public EventSearchQuery withPresenter(String presenter)
      Selects recording events with the given presenter.

      Note that this method may be called multiple times to support selection of multiple recording events.

      Parameters:
      presenter - the presenter
      Returns:
      the enhanced search query
    • withPresenter

      public EventSearchQuery withPresenter(String presenter, EventQueryType type, boolean must)
      Selects recording events with the given presenter.

      Note that this method may be called multiple times to support selection of multiple recording events.

      Parameters:
      presenter - the presenter
      Returns:
      the enhanced search query
    • getPresenterValues

      public String[] getPresenterValues()
      Returns the list of recording presenters or an empty array if no presenter have been specified.
      Returns:
      the presenters
    • getPresenters

      public List<EventSearchQueryField<String>> getPresenters()
      Returns the list of recording presenters or an empty array if no presenter have been specified.
      Returns:
      the presenters
    • withContributor

      public EventSearchQuery withContributor(String contributor)
      Selects recording events with the given contributor.

      Note that this method may be called multiple times to support selection of multiple recording events.

      Parameters:
      contributor - the contributor
      Returns:
      the enhanced search query
    • withContributor

      public EventSearchQuery withContributor(String contributor, EventQueryType type, boolean must)
      Selects recording events with the given contributor.

      Note that this method may be called multiple times to support selection of multiple recording events.

      Parameters:
      contributor - the contributor
      Returns:
      the enhanced search query
    • getContributorValues

      public String[] getContributorValues()
      Returns the list of recording contributors or an empty array if no contributors have been specified.
      Returns:
      the contributors
    • getContributors

      public List<EventSearchQueryField<String>> getContributors()
      Returns the list of recording contributors or an empty array if no contributors have been specified.
      Returns:
      the contributors
    • withSubject

      public EventSearchQuery withSubject(String subject)
      Selects recording events with the given subject.
      Parameters:
      subject - the subject
      Returns:
      the enhanced search query
    • withSubject

      public EventSearchQuery withSubject(String subject, EventQueryType type, boolean must)
      Selects recording events with the given subject.
      Parameters:
      subject - the subject
      Returns:
      the enhanced search query
    • getSubjectValue

      public String getSubjectValue()
      Returns the subject of the recording.
      Returns:
      the subject
    • getSubject

      public EventSearchQueryField<String> getSubject()
      Returns the subject of the recording.
      Returns:
      the subject
    • withDescription

      public EventSearchQuery withDescription(String description)
      Selects recordings with the given description.
      Parameters:
      description - the description
      Returns:
      the enhanced search query
    • withDescription

      public EventSearchQuery withDescription(String description, EventQueryType type, boolean must)
      Selects recordings with the given description.
      Parameters:
      description - the description
      Returns:
      the enhanced search query
    • getDescriptionValue

      public String getDescriptionValue()
      Returns the description of the recording.
      Returns:
      the description
    • getDescription

      public EventSearchQueryField<String> getDescription()
      Returns the description of the recording.
      Returns:
      the description
    • withLocation

      public EventSearchQuery withLocation(String location)
      Selects recordings with the given location.
      Parameters:
      location - the location
      Returns:
      the enhanced search query
    • withLocation

      public EventSearchQuery withLocation(String location, EventQueryType type, boolean must)
      Selects recordings with the given location.
      Parameters:
      location - the location
      Returns:
      the enhanced search query
    • getLocationValue

      public String getLocationValue()
      Returns the location of the recording.
      Returns:
      the location
    • getLocation

      public EventSearchQueryField<String> getLocation()
      Returns the location of the recording.
      Returns:
      the location
    • withSeriesId

      public EventSearchQuery withSeriesId(String seriesId)
      Selects recordings with the given series identifier.
      Parameters:
      seriesId - the series identifier
      Returns:
      the enhanced search query
    • withSeriesId

      public EventSearchQuery withSeriesId(String seriesId, EventQueryType type, boolean must)
      Selects recordings with the given series identifier.
      Parameters:
      seriesId - the series identifier
      Returns:
      the enhanced search query
    • getSeriesIdValue

      public String[] getSeriesIdValue()
      Returns the series identifier of the recording.
      Returns:
      the series identifier
    • getSeriesId

      public List<EventSearchQueryField<String>> getSeriesId()
      Returns the series identifier of the recording.
      Returns:
      the series identifier
    • withSeriesName

      public EventSearchQuery withSeriesName(String seriesName)
      Selects recordings with the given series name.
      Parameters:
      seriesName - the series name
      Returns:
      the enhanced search query
    • withSeriesName

      public EventSearchQuery withSeriesName(String seriesName, EventQueryType type, boolean must)
      Selects recordings with the given series name.
      Parameters:
      seriesName - the series name
      Returns:
      the enhanced search query
    • getSeriesNameValue

      public String getSeriesNameValue()
      Returns the series name of the recording.
      Returns:
      the series name
    • getSeriesName

      public EventSearchQueryField<String> getSeriesName()
      Returns the series name of the recording.
      Returns:
      the series name
    • withLanguage

      public EventSearchQuery withLanguage(String language)
      Selects recordings with the given language.
      Parameters:
      language - the language
      Returns:
      the enhanced search query
    • withLanguage

      public EventSearchQuery withLanguage(String language, EventQueryType type, boolean must)
      Selects recordings with the given language.
      Parameters:
      language - the language
      Returns:
      the enhanced search query
    • getLanguageValue

      public String getLanguageValue()
      Returns the language of the recording.
      Returns:
      the language
    • getLanguage

      public EventSearchQueryField<String> getLanguage()
      Returns the language of the recording.
      Returns:
      the language
    • withSource

      public EventSearchQuery withSource(String source)
      Selects recordings with the given source type.
      Parameters:
      source - the source
      Returns:
      the enhanced search query
    • withSource

      public EventSearchQuery withSource(String source, EventQueryType type, boolean must)
      Selects recordings with the given source type.
      Parameters:
      source - the source
      Returns:
      the enhanced search query
    • getSourceValue

      public String getSourceValue()
      Returns the source of the recording.
      Returns:
      the source
    • getSource

      public EventSearchQueryField<String> getSource()
      Returns the source of the recording.
      Returns:
      the source
    • withCreated

      public EventSearchQuery withCreated(String created)
      Selects recordings with the given creation date.
      Parameters:
      created - the creation date
      Returns:
      the enhanced search query
    • withCreated

      public EventSearchQuery withCreated(String created, EventQueryType type, boolean must)
      Selects recordings with the given creation date.
      Parameters:
      created - the creation date
      Returns:
      the enhanced search query
    • getCreatedValue

      public String getCreatedValue()
      Returns the creation date of the recording.
      Returns:
      the creation date
    • getCreated

      public EventSearchQueryField<String> getCreated()
      Returns the creation date of the recording.
      Returns:
      the creation date
    • withStartFrom

      public EventSearchQuery withStartFrom(Date startFrom)
      The start date to start looking for events.
      Parameters:
      startFrom - The start date to start looking for events
      Returns:
      the enhanced search query
    • getStartFrom

      public Date getStartFrom()
      Returns:
      The Date after which all events returned should have been started
    • withStartTo

      public EventSearchQuery withStartTo(Date startTo)
      The start date to stop looking for events.
      Parameters:
      startTo - The start date to stop looking for events
      Returns:
      the enhanced search query
    • getStartTo

      public Date getStartTo()
      Returns:
      The Date before which all events returned should have been started
    • withTechnicalStartFrom

      public EventSearchQuery withTechnicalStartFrom(Date startFrom)
      The technical start date to start looking for events.
      Parameters:
      startFrom - The technical start date to start looking for events
      Returns:
      the enhanced search query
    • getTechnicalStartFrom

      public Date getTechnicalStartFrom()
      Returns:
      The technical date after which all events returned should have been started
    • withTechnicalStartTo

      public EventSearchQuery withTechnicalStartTo(Date startTo)
      The technical start date to stop looking for events.
      Parameters:
      startTo - The technical start date to stop looking for events
      Returns:
      the enhanced search query
    • getTechnicalStartTo

      public Date getTechnicalStartTo()
      Returns:
      The technical date before which all events returned should have been started
    • withCreator

      public EventSearchQuery withCreator(String creator)
      Selects recordings with the given creator.
      Parameters:
      creator - the creator
      Returns:
      the enhanced search query
    • withCreator

      public EventSearchQuery withCreator(String creator, EventQueryType type, boolean must)
      Selects recordings with the given creator.
      Parameters:
      creator - the creator
      Returns:
      the enhanced search query
    • getCreatorValue

      public String getCreatorValue()
      Returns the creator of the recording.
      Returns:
      the creator
    • getCreator

      public EventSearchQueryField<String> getCreator()
      Returns the creator of the recording.
      Returns:
      the creator
    • withPublisher

      public EventSearchQuery withPublisher(String publisher)
      Selects recordings with the given publisher.
      Parameters:
      publisher - the publisher
      Returns:
      the enhanced search query
    • withPublisher

      public EventSearchQuery withPublisher(String publisher, EventQueryType type, boolean must)
      Selects recordings with the given publisher.
      Parameters:
      publisher - the publisher
      Returns:
      the enhanced search query
    • getPublisherValue

      public String getPublisherValue()
      Returns the publisher of the recording.
      Returns:
      the publisher
    • getPublisher

      public EventSearchQueryField<String> getPublisher()
      Returns the publisher of the recording.
      Returns:
      the publisher
    • withLicense

      public EventSearchQuery withLicense(String license)
      Selects recordings with the given license.
      Parameters:
      license - the license
      Returns:
      the enhanced search query
    • withLicense

      public EventSearchQuery withLicense(String license, EventQueryType type, boolean must)
      Selects recordings with the given license.
      Parameters:
      license - the license
      Returns:
      the enhanced search query
    • getLicenseValue

      public String getLicenseValue()
      Returns the license of the recording.
      Returns:
      the license
    • getLicense

      public EventSearchQueryField<String> getLicense()
      Returns the license of the recording.
      Returns:
      the license
    • withRights

      public EventSearchQuery withRights(String rights)
      Selects recordings with the given rights.
      Parameters:
      rights - the rights
      Returns:
      the enhanced search query
    • withRights

      public EventSearchQuery withRights(String rights, EventQueryType type, boolean must)
      Selects recordings with the given rights.
      Parameters:
      rights - the rights
      Returns:
      the enhanced search query
    • getRightsValue

      public String getRightsValue()
      Returns the rights of the recording.
      Returns:
      the rights
    • getRights

      public EventSearchQueryField<String> getRights()
      Returns the rights of the recording.
      Returns:
      the rights
    • withAccessPolicy

      public EventSearchQuery withAccessPolicy(String accessPolicy)
      Selects recordings with the given access policy.
      Parameters:
      accessPolicy - the access policy
      Returns:
      the enhanced search query
    • getAccessPolicy

      public String getAccessPolicy()
      Returns the access policy of the recording.
      Returns:
      the access policy
    • withManagedAcl

      public EventSearchQuery withManagedAcl(String managedAcl)
      Selects recordings with the given managed ACL name.
      Parameters:
      managedAcl - the name of the managed ACL
      Returns:
      the enhanced search query
    • getManagedAcl

      public String getManagedAcl()
      Returns the name of the managed ACL set to the recording.
      Returns:
      the name of the managed ACL
    • withWorkflowState

      public EventSearchQuery withWorkflowState(String workflowState)
      Selects recordings with the given workflow state.
      Parameters:
      workflowState - the workflow state
      Returns:
      the enhanced search query
    • getWorkflowState

      public String getWorkflowState()
      Returns the workflow state of the recording.
      Returns:
      the workflow state
    • withWorkflowId

      public EventSearchQuery withWorkflowId(long workflowId)
      Selects recordings with the given workflow id.
      Parameters:
      workflowId - the workflow id
      Returns:
      the enhanced search query
    • getWorkflowId

      public Long getWorkflowId()
      Returns the workflow id of the recording.
      Returns:
      the workflow id
    • withWorkflowDefinition

      public EventSearchQuery withWorkflowDefinition(String workflowDefinition)
      Selects recordings with the given workflow definition.
      Parameters:
      workflowDefinition - the workflow definition
      Returns:
      the enhanced search query
    • getWorkflowDefinition

      public String getWorkflowDefinition()
      Returns the workflow definition of the recording.
      Returns:
      the workflow definition
    • withStartDate

      public EventSearchQuery withStartDate(String startDate)
      Selects recordings with the given start date.
      Parameters:
      startDate - the start date
      Returns:
      the enhanced search query
    • withStartDate

      public EventSearchQuery withStartDate(String startDate, EventQueryType type)
      Selects recordings with the given start date.
      Parameters:
      startDate - the start date
      Returns:
      the enhanced search query
    • getStartDate

      public List<EventSearchQueryField<String>> getStartDate()
      Returns the start date of the recording.
      Returns:
      the start date
    • getStartDateValues

      public String[] getStartDateValues()
    • withEndDate

      public EventSearchQuery withEndDate(String endDate, EventQueryType type)
      Selects recordings with the given end date.
      Parameters:
      endDate - the end date
      Returns:
      the enhanced search query
    • getEndDate

      public List<EventSearchQueryField<String>> getEndDate()
      Returns the end date of the recording.
      Returns:
      the end date
    • getEndDateValues

      public String[] getEndDateValues()
    • withDuration

      public EventSearchQuery withDuration(long duration)
      Selects recordings with the given duration.
      Parameters:
      duration - the duration
      Returns:
      the enhanced search query
    • getDuration

      public Long getDuration()
      Returns the duration of the recording.
      Returns:
      the duration
    • withEventStatus

      public EventSearchQuery withEventStatus(String eventStatus)
      Selects recordings with the given event status.
      Parameters:
      eventStatus - the event status
      Returns:
      the enhanced search query
    • getEventStatus

      public String getEventStatus()
      Returns the event status of the recording.
      Returns:
      the event status
    • withComments

      public EventSearchQuery withComments(boolean hasComments)
      Selects recordings with the given has comments status.
      Parameters:
      hasComments - the has comments status
      Returns:
      the enhanced search query
    • withOpenComments

      public EventSearchQuery withOpenComments(boolean hasOpenComments)
      Selects recordings with the given has open comments status.
      Parameters:
      hasOpenComments - the has open comments status
      Returns:
      the enhanced search query
    • withNeedsCutting

      public EventSearchQuery withNeedsCutting(boolean needsCutting)
      Selects recordings with the given has comment need cutting status.
      Parameters:
      needsCutting - the event has the comments status that it needs cutting
      Returns:
      the enhanced search query
    • getNeedsCutting

      public Boolean getNeedsCutting()
      Returns if the event needs cutting
      Returns:
      if the event needs cutting
    • getHasComments

      public Boolean getHasComments()
      Returns the has comments status of the recording.
      Returns:
      the recording has comments status
    • getHasOpenComments

      public Boolean getHasOpenComments()
      Returns the has open comments status of the recording.
      Returns:
      the recording has open comments status
    • withComments

      public EventSearchQuery withComments(String comment)
    • getComments

      public String[] getComments()
    • needsCutting

      public Boolean needsCutting()
      Returns the has open comments reason that it needs cutting of the recording.
      Returns:
      the event has the open comments status that it needs cutting
    • withPublications

      public EventSearchQuery withPublications(String publication)
      Selects recording events with the given publication.

      Note that this method may be called multiple times to support selection of multiple recording events.

      Parameters:
      publication - the publication
      Returns:
      the enhanced search query
    • getPublications

      public String[] getPublications()
      Returns the list of event publications or an empty array if no publications have been specified.
      Returns:
      the publications
    • withIsPublished

      public EventSearchQuery withIsPublished(boolean isPublished)
      Selects recordings with the given is published status.
      Parameters:
      isPublished - the is published status
      Returns:
      the enhanced search query
    • getIsPublished

      public Boolean getIsPublished()
      Returns the is published status of the recording.
      Returns:
      the recording is published status
    • withArchiveVersion

      public EventSearchQuery withArchiveVersion(long archiveVersion)
      Selects events with the given archive version.
      Parameters:
      archiveVersion - the archive version
      Returns:
      the enhanced search query
    • getArchiveVersion

      public Long getArchiveVersion()
      Returns the archive version of the event.
      Returns:
      the archive version
    • withAgentId

      public EventSearchQuery withAgentId(String agentId)
      Selects recordings with the given agent id.
      Parameters:
      agentId - the agent id
      Returns:
      the enhanced search query
    • getAgentId

      public String getAgentId()
      Returns the agent id of the recording.
      Returns:
      the agent id
    • withTechnicalStartTime

      public EventSearchQuery withTechnicalStartTime(Date technicalStartTime)
      Selects recordings with the given technical start date.
      Parameters:
      technicalStartTime - the start date
      Returns:
      the enhanced search query
    • getTechnicalStartTime

      public Date getTechnicalStartTime()
      Returns the technical start date of the recording.
      Returns:
      the technical start date
    • withTechnicalEndTime

      public EventSearchQuery withTechnicalEndTime(Date technicalEndTime)
      Selects recordings with the given technical end date.
      Parameters:
      technicalEndTime - the end date
      Returns:
    • getTechnicalEndTime

      public Date getTechnicalEndTime()
      Returns the technical end date of the recording.
      Returns:
      the technical end date
    • withTechnicalPresenters

      public EventSearchQuery withTechnicalPresenters(String presenter)
      Selects recording events with the given technical presenters.

      Note that this method may be called multiple times to support selection of multiple recording events.

      Parameters:
      presenter - the presenter
      Returns:
      the enhanced search query
    • getTechnicalPresenters

      public String[] getTechnicalPresenters()
      Returns the list of technical presenters or an empty array if no presenters have been specified.
      Returns:
      the technical presenters
    • withExtendedMetadata

      public EventSearchQuery withExtendedMetadata(String flavor, String key, String value)
      Selects recording events with the given subject.
      Parameters:
      flavor - the flavor of the catalog
      key - the metadata field key
      value - the metadata field value
      Returns:
      the enhanced search query
    • getExtendedMetadata

      public Map<String,Map<String,List<String>>> getExtendedMetadata()
      Returns the subject of the recording.
      Returns:
      the subject
    • sortByStartDate

      public EventSearchQuery sortByStartDate(SortCriterion.Order order)
      Defines the sort order for the recording start date.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getStartDateSortOrder

      public SortCriterion.Order getStartDateSortOrder()
      Returns the sort order for the recording start date.
      Returns:
      the sort order
    • sortByTechnicalStartDate

      public EventSearchQuery sortByTechnicalStartDate(SortCriterion.Order order)
      Defines the sort order for the technical recording start date.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getTechnicalStartDateSortOrder

      public SortCriterion.Order getTechnicalStartDateSortOrder()
      Returns the sort order for the technical recording start date.
      Returns:
      the sort order
    • sortByEndDate

      public EventSearchQuery sortByEndDate(SortCriterion.Order order)
      Defines the sort order for the recording end date.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getEndDateSortOrder

      public SortCriterion.Order getEndDateSortOrder()
      Returns the sort order for the recording end date.
      Returns:
      the sort order
    • sortByTechnicalEndDate

      public EventSearchQuery sortByTechnicalEndDate(SortCriterion.Order order)
      Defines the sort order for the technical recording end date.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getTechnicalEndDateSortOrder

      public SortCriterion.Order getTechnicalEndDateSortOrder()
      Returns the sort order for the technical recording end date.
      Returns:
      the sort order
    • sortByDate

      public EventSearchQuery sortByDate(SortCriterion.Order order)
      Defines the sort order for the recording date.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getDateSortOrder

      public SortCriterion.Order getDateSortOrder()
      Returns the sort order for the recording date.
      Returns:
      the sort order
    • sortByTitle

      public EventSearchQuery sortByTitle(SortCriterion.Order order)
      Defines the sort order for the recording date.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getTitleSortOrder

      public SortCriterion.Order getTitleSortOrder()
      Returns the sort order for the recording start date.
      Returns:
      the sort order
    • sortByUID

      public EventSearchQuery sortByUID(SortCriterion.Order order)
    • getUIDSortOrder

      public SortCriterion.Order getUIDSortOrder()
    • sortByPresenter

      public EventSearchQuery sortByPresenter(SortCriterion.Order order)
      Defines the sort order for the recording date.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getPresentersSortOrder

      public SortCriterion.Order getPresentersSortOrder()
      Returns the sort order for the recording start date.
      Returns:
      the sort order
    • sortByLocation

      public EventSearchQuery sortByLocation(SortCriterion.Order order)
      Defines the sort order for the location.
      Parameters:
      order - the sort order
      Returns:
      the updated query
    • getLocationSortOrder

      public SortCriterion.Order getLocationSortOrder()
      Returns the sort order for the location.
      Returns:
      the sort order
    • sortBySeriesName

      public EventSearchQuery sortBySeriesName(SortCriterion.Order order)
      Defines the sort order for the series name.
      Parameters:
      order - the sort order
      Returns:
      the updated query
    • getSeriesNameSortOrder

      public SortCriterion.Order getSeriesNameSortOrder()
      Returns the sort order for the series name.
      Returns:
      the sort order
    • sortByManagedAcl

      public EventSearchQuery sortByManagedAcl(SortCriterion.Order order)
      Defines the sort order for the managed ACL.
      Parameters:
      order - the order
      Returns:
      the enhanced search query
    • getManagedAclSortOrder

      public SortCriterion.Order getManagedAclSortOrder()
      Returns the sort order for the series managed ACL.
      Returns:
      the sort order
    • sortByWorkflowState

      public EventSearchQuery sortByWorkflowState(SortCriterion.Order order)
      Defines the sort order for the workflow state.
      Parameters:
      order - the sort order
      Returns:
      the updated query
    • getWorkflowStateSortOrder

      public SortCriterion.Order getWorkflowStateSortOrder()
      Returns the sort order for the workflow state.
      Returns:
      the sort order
    • sortByEventStatus

      public EventSearchQuery sortByEventStatus(SortCriterion.Order order)
      Defines the sort order for the event status.
      Parameters:
      order - the sort order
      Returns:
      the updated query
    • getEventStatusSortOrder

      public SortCriterion.Order getEventStatusSortOrder()
      Returns the sort order for the event status.
      Returns:
      the sort order
    • sortByPublicationIgnoringInternal

      public EventSearchQuery sortByPublicationIgnoringInternal(SortCriterion.Order order)
      Defines the sort order for publication.
      Parameters:
      order - the sort order
      Returns:
      the updated query
    • getPublicationSortOrder

      public SortCriterion.Order getPublicationSortOrder()
      Returns the sort order for the publication.
      Returns:
      the sort order