Class TransactionQueryBuilder
java.lang.Object
com.apptasticsoftware.insynsregistret.TransactionQueryBuilder
Builder class for creating a query for searching inside trade transactions via the
Insynsregistret
class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates the query object for searching transactions viaInsynsregistret
classLimit the transaction to the this issuer.In what language the inside trade transaction should be presented in.Limit the transaction to the this person discharging managerial responsibilities (PDMR).static TransactionQueryBuilder
publications
(LocalDate from, LocalDate to) Query inside trade transactions was published between the given dates.static TransactionQueryBuilder
publicationsLastDays
(int days) Query inside trade transactions that as publications from a given number of days back in time from today's date.static TransactionQueryBuilder
transactions
(LocalDate from, LocalDate to) Query inside trade transactions between the given dates.static TransactionQueryBuilder
transactionsLastDays
(int days) Query inside trade transactions from a given number of days back in time from today's date.
-
Method Details
-
transactions
Query inside trade transactions between the given dates.- Parameters:
from
- from date (Year, month and day resolution)to
- to date (Year, month and day resolution)- Returns:
- builder object
-
transactionsLastDays
Query inside trade transactions from a given number of days back in time from today's date.- Parameters:
days
- number of days back in time- Returns:
- builder object
-
publications
Query inside trade transactions was published between the given dates. Usually transactions are published with 3 days from then the transaction occurred.- Parameters:
from
- from date (Year, month and day resolution)to
- to date (Year, month and day resolution)- Returns:
- builder object
-
publicationsLastDays
Query inside trade transactions that as publications from a given number of days back in time from today's date. Usually transactions are published with 3 days from then the transaction occurred.- Parameters:
days
- number of days back in time- Returns:
- builder object
-
issuer
Limit the transaction to the this issuer.- Parameters:
issuer
- name of the issuer- Returns:
- builder object
-
pdmr
Limit the transaction to the this person discharging managerial responsibilities (PDMR).- Parameters:
pdmr
- name of the PDMR- Returns:
- builder object
-
language
In what language the inside trade transaction should be presented in. Default is Swedish.- Parameters:
language
- language to use.- Returns:
- builder object
-
build
Creates the query object for searching transactions viaInsynsregistret
class- Returns:
- query object
- Throws:
UnsupportedEncodingException
- exception
-