Skip to content

Conversation

Doominika
Copy link
Contributor

@Doominika Doominika commented Aug 4, 2025

Description

CHANGES

New classes

  • StoreEventType
  • ThreadEventType
  • InboxEventType
  • KvdbEventType
  • EventSelectorType
  • StoreEventSelectorType
  • ThreadEventSelectorType
  • InboxEventSelectorType
  • KvdbEventSelectorType
  • CustomEventSelectorType

@Doominika Doominika changed the base branch from main to feat/implement-2.6 August 4, 2025 11:21
@Doominika Doominika requested a review from djenczewski August 4, 2025 11:21
@Doominika Doominika requested a review from djenczewski August 8, 2025 10:30
* refactor: delete old subscription methods from EventApi

* refactor: delete old subscription methods from InboxApi

* refactor: delete old subscription methods from KvdbApi

* refactor: delete old subscription methods from StoreApi

* refactor: delete old subscription methods from ThreadApi

* feat: add new subscription methods for EventApi

* feat: add new subscription methods for InboxApi

* feat: add new subscription methods for KvdbApi

* feat: add new subscription methods for StoreApi

* feat: add new subscription methods for StoreApi

* feat: declare thrown exceptions in methods

* chore: add exception descriptions to docs and fix typos

* feat: change native buildSubscriptionQuery method parameter types in ThreadApi

* feat: change native buildSubscriptionQuery method parameter types in StoreApi

* feat: change native buildSubscriptionQuery method parameter types in InboxApi

* feat: change native buildSubscriptionQuery method parameter types in KvdbApi

* fix: use pointer access for JniContextUtils methods

* feat: change native buildSubscriptionQuery method parameter types in EventApi

* chore: rename custom event selector type

* chore: change descriptions in null checks

* chore: change descriptions in null checks

* chore: cast long value to enum instead of using special function

* fix: use correct ctx method

* chore: remove syncFile method

* chore: clean up code
Copy link
Member

@djenczewski djenczewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add documentation for all enums (description, group and catergory)

@Doominika Doominika requested a review from djenczewski August 28, 2025 10:20
Copy link
Member

@djenczewski djenczewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modify descriptions in EventTypes and EventSelectors enums according to notes in InboxEventType and SelectorType

Doominika and others added 2 commits September 5, 2025 15:19
* feat: add new enum value to containers event types

* feat: delete entryId value from kvdb event selector type
package com.simplito.java.privmx_endpoint.model.events.eventSelectorTypes;

/**
* Specifies the type of identifier used to select an custom event.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifies the type of identifier used to select a custom event.



/**
* Specifies the type of identifier used to select an KVDB event.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifies the type of identifier used to select a KVDB event.

package com.simplito.java.privmx_endpoint.model.events.eventSelectorTypes;

/**
* Specifies the type of identifier used to select an store event.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifies the type of identifier used to select a store event.

package com.simplito.java.privmx_endpoint.model.events.eventSelectorTypes;

/**
* Specifies the type of identifier used to select an thread event.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifies the type of identifier used to select a thread event.


/**
* Subscribes for events in given Inbox.
* Unsubscribe from events for the given subscriptionId.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsubscribe from events with the given subscriptionId.

* Generate subscription Query for the KVDB events.
*
* @param kvdbId ID of the KVDB to unsubscribe
* @param eventType type of event which you listen for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type of event you listen for


/**
* Unsubscribes from the Store module main events.
* Unsubscribe from events for the given subscriptionId.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsubscribe from events with the given subscriptionId.

* Generate subscription Query for the Store events.
*
* @param storeId ID of the {@code Store} to unsubscribe
* @param eventType type of event which you listen for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type of event you listen for


/**
* Unsubscribes from the Thread module main events.
* Unsubscribe from events for the given subscriptionId.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsubscribe from events with the given subscriptionId.

* Generate subscription Query for the Thread events.
*
* @param threadId ID of the Thread to unsubscribe
* @param eventType type of event which you listen for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type of event you listen for

@djenczewski djenczewski requested a review from filipg43 September 9, 2025 13:01
@djenczewski djenczewski merged commit 88631d2 into feat/implement-2.6 Sep 9, 2025
@djenczewski djenczewski deleted the feat/implement-builders-and-enums-for-subscription-queries branch September 9, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants