class EventRepository extends Repository (View source)

The repository for events

Properties

protected array $defaultOrderings

Methods

QueryResultInterface
findRelevantEventsByWorkspace(int $offset, int $limit, string $workspaceName)

Find all events which are "top-level" and in a given workspace (or are not NodeEvents)

QueryResultInterface
findRelevantEvents(int $offset, int $limit)

Find all events which are "top-level", i.e. do not have a parent event.

Query
prepareRelevantEventsQuery()

No description

void
removeAll()

Remove all events without checking foreign keys. Needed for clearing the table during tests.

Details

QueryResultInterface findRelevantEventsByWorkspace(int $offset, int $limit, string $workspaceName)

Find all events which are "top-level" and in a given workspace (or are not NodeEvents)

Parameters

int $offset
int $limit
string $workspaceName

Return Value

QueryResultInterface

Exceptions

PropertyNotAccessibleException

QueryResultInterface findRelevantEvents(int $offset, int $limit)

Find all events which are "top-level", i.e. do not have a parent event.

Parameters

int $offset
int $limit

Return Value

QueryResultInterface

Exceptions

PropertyNotAccessibleException

protected Query prepareRelevantEventsQuery()

No description

Return Value

Query

void removeAll()

Remove all events without checking foreign keys. Needed for clearing the table during tests.

Return Value

void