Uses of Interface
org.killbill.billing.util.callcontext.TenantContext
-
-
Uses of TenantContext in org.killbill.billing.account.api
Methods in org.killbill.billing.account.api with parameters of type TenantContext Modifier and Type Method Description AccountAccountUserApi. getAccountById(UUID accountId, TenantContext context)AccountAccountUserApi. getAccountByKey(String key, TenantContext context)Retrieves an account by specifying its external key.Pagination<Account>AccountUserApi. getAccounts(Long offset, Long limit, TenantContext context)List<AuditLogWithHistory>AccountUserApi. getAuditLogsWithHistoryForId(UUID accountId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given account.List<Account>AccountUserApi. getChildrenAccounts(UUID parentAccountId, TenantContext context)List<AuditLogWithHistory>AccountUserApi. getEmailAuditLogsWithHistoryForId(UUID accountEmailId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given account email.List<AccountEmail>AccountUserApi. getEmails(UUID accountId, TenantContext context)UUIDAccountUserApi. getIdFromKey(String externalKey, TenantContext context)Pagination<Account>AccountUserApi. searchAccounts(String searchKey, Long offset, Long limit, TenantContext context)Find all accounts having their name, email, external_key or company_name matching the search key -
Uses of TenantContext in org.killbill.billing.catalog.api
Methods in org.killbill.billing.catalog.api with parameters of type TenantContext Modifier and Type Method Description VersionedCatalogCatalogUserApi. getCatalog(String catalogName, TenantContext context)Retrieves the multi versioned catalog.StaticCatalogCatalogUserApi. getCurrentCatalog(String catalogName, TenantContext context)Retrieves the current catalog -
Uses of TenantContext in org.killbill.billing.entitlement.api
Methods in org.killbill.billing.entitlement.api with parameters of type TenantContext Modifier and Type Method Description SubscriptionBundleSubscriptionApi. getActiveSubscriptionBundleForExternalKey(String externalKey, TenantContext context)Retrieves all theSubscriptionBundlefor the given external key.List<Entitlement>EntitlementApi. getAllEntitlementsForAccountId(UUID accountId, TenantContext context)Retrieves all theEntitlementfor a given account.List<Entitlement>EntitlementApi. getAllEntitlementsForAccountIdAndBundleExternalKey(UUID accountId, String bundleExternalKey, TenantContext context)Retrieves all theEntitlementfor a given account and matching an external key.List<Entitlement>EntitlementApi. getAllEntitlementsForBundle(UUID bundleId, TenantContext context)Retrieves all theEntitlementattached to the base entitlement.List<AuditLogWithHistory>SubscriptionApi. getBlockingStateAuditLogsWithHistoryForId(UUID blockingId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given blocking state.Iterable<BlockingState>SubscriptionApi. getBlockingStates(UUID accountId, List<BlockingStateType> typeFilter, List<String> svcsFilter, OrderingType orderingType, int timeFilter, TenantContext context)List<EntitlementAOStatusDryRun>EntitlementApi. getDryRunStatusForChange(UUID bundleId, String targetProductName, org.joda.time.LocalDate effectiveDate, TenantContext context)Simulate a change of product for the BP on that bundle and return the effect it would have on the existing ADD_ON-- if any.EntitlementEntitlementApi. getEntitlementForId(UUID id, boolean includeDeletedEvents, TenantContext context)Retrieves anEntitlementusing its id.List<AuditLogWithHistory>SubscriptionApi. getSubscriptionAuditLogsWithHistoryForId(UUID entitlementId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given subscription.SubscriptionBundleSubscriptionApi. getSubscriptionBundle(UUID bundleId, TenantContext context)Retrieves all theSubscriptionattached to the base entitlement.List<AuditLogWithHistory>SubscriptionApi. getSubscriptionBundleAuditLogsWithHistoryForId(UUID bundleId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given bundle.Pagination<SubscriptionBundle>SubscriptionApi. getSubscriptionBundles(Long offset, Long limit, TenantContext context)Pagination<SubscriptionBundle>SubscriptionApi. getSubscriptionBundlesForAccountId(UUID accountId, Long offset, Long limit, TenantContext context)List<SubscriptionBundle>SubscriptionApi. getSubscriptionBundlesForAccountId(UUID accountId, TenantContext context)Retrieves all theSubscriptionBundlefor a given account.List<SubscriptionBundle>SubscriptionApi. getSubscriptionBundlesForAccountIdAndExternalKey(UUID accountId, String externalKey, TenantContext context)Retrieves all theSubscriptionBundlefor a given account and matching an external key.List<SubscriptionBundle>SubscriptionApi. getSubscriptionBundlesForExternalKey(String externalKey, TenantContext context)Returns an ordered list of allSubscriptionBundlefor a given external key.List<AuditLogWithHistory>SubscriptionApi. getSubscriptionEventAuditLogsWithHistoryForId(UUID EventId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given subscription event.SubscriptionSubscriptionApi. getSubscriptionForEntitlementId(UUID entitlementId, boolean includeDeletedEvents, TenantContext context)Retrieves aSubscriptionfor the entitlement idSubscriptionSubscriptionApi. getSubscriptionForExternalKey(String externalKey, boolean includeDeletedEvents, TenantContext context)Retrieves aSubscriptionfor a given external keyPagination<SubscriptionBundle>SubscriptionApi. searchSubscriptionBundles(String searchKey, Long offset, Long limit, TenantContext context)Find allSubscriptionBundlehaving their id, account id or external key matching the search key -
Uses of TenantContext in org.killbill.billing.invoice.api
Methods in org.killbill.billing.invoice.api with parameters of type TenantContext Modifier and Type Method Description BigDecimalInvoiceUserApi. getAccountBalance(UUID accountId, TenantContext context)Retrieve the account balance.BigDecimalInvoiceUserApi. getAccountCBA(UUID accountId, TenantContext context)Retrieve the account CBA.InvoiceItemInvoiceUserApi. getCreditById(UUID creditId, TenantContext context)Retrieve a credit by id.InvoiceItemInvoiceUserApi. getExternalChargeById(UUID externalChargeId, TenantContext context)Retrieve an external charge by id.InvoiceInvoiceUserApi. getInvoice(UUID invoiceId, TenantContext context)Retrieve an invoice by id.StringInvoiceUserApi. getInvoiceAsHTML(UUID invoiceId, TenantContext context)Retrieve the invoice formatted in HTML.List<AuditLogWithHistory>InvoiceUserApi. getInvoiceAuditLogsWithHistoryForId(UUID invoiceId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given invoice.InvoiceInvoiceUserApi. getInvoiceByInvoiceItem(UUID invoiceItemId, TenantContext context)InvoiceInvoiceUserApi. getInvoiceByNumber(Integer number, TenantContext context)Retrieve an invoice by invoice number.InvoiceInvoiceUserApi. getInvoiceByPayment(UUID paymentId, TenantContext context)Get all invoices for a given payment.List<AuditLogWithHistory>InvoiceUserApi. getInvoiceItemAuditLogsWithHistoryForId(UUID invoiceItemId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given invoice item.List<InvoiceItem>InvoiceUserApi. getInvoiceItemsByParentInvoice(UUID parentInvoiceId, TenantContext context)Retrieve invoice items details associated to Parent SUMMARY invoice itemList<AuditLogWithHistory>InvoiceUserApi. getInvoicePaymentAuditLogsWithHistoryForId(UUID invoicePaymentId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given invoice payment.Pagination<Invoice>InvoiceUserApi. getInvoices(Long offset, Long limit, TenantContext context)List<Invoice>InvoiceUserApi. getInvoicesByAccount(UUID accountId, boolean includesMigrated, boolean includeVoidedInvoices, boolean includeInvoiceComponents, TenantContext context)Get all invoices for a given account.Pagination<Invoice>InvoiceUserApi. getInvoicesByAccount(UUID accountId, Long offset, Long limit, TenantContext context)List<Invoice>InvoiceUserApi. getInvoicesByAccount(UUID accountId, org.joda.time.LocalDate fromDate, org.joda.time.LocalDate upToDate, boolean includeVoidedInvoices, boolean includeInvoiceComponents, TenantContext context)Find invoices from a given day, for a given account.List<Invoice>InvoiceUserApi. getInvoicesByGroup(UUID accountId, UUID groupId, TenantContext context)Collection<Invoice>InvoiceUserApi. getUnpaidInvoicesByAccountId(UUID accountId, org.joda.time.LocalDate fromDate, org.joda.time.LocalDate upToDate, TenantContext context)Find unpaid invoices for a given account, up to a given day.Pagination<Invoice>InvoiceUserApi. searchInvoices(String searchKey, Long offset, Long limit, TenantContext context)Find all invoices having their id, number, account id or currency matching the search key -
Uses of TenantContext in org.killbill.billing.overdue.api
Methods in org.killbill.billing.overdue.api with parameters of type TenantContext Modifier and Type Method Description OverdueConfigOverdueApi. getOverdueConfig(TenantContext context)OverdueStateOverdueApi. getOverdueStateFor(UUID accountId, TenantContext context) -
Uses of TenantContext in org.killbill.billing.payment.api
Methods in org.killbill.billing.payment.api with parameters of type TenantContext Modifier and Type Method Description List<PaymentMethod>PaymentApi. getAccountPaymentMethods(UUID accountId, boolean includedInactive, boolean withPluginInfo, Iterable<PluginProperty> properties, TenantContext context)List<Payment>PaymentApi. getAccountPayments(UUID accountId, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)InvoicePaymentInvoicePaymentApi. getInvoicePayment(UUID invoicePaymentId, TenantContext context)List<InvoicePayment>InvoicePaymentApi. getInvoicePayments(UUID paymentId, TenantContext context)List<InvoicePayment>InvoicePaymentApi. getInvoicePaymentsByAccount(UUID accountId, TenantContext context)PaymentPaymentApi. getPayment(UUID paymentId, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)List<AuditLogWithHistory>PaymentApi. getPaymentAttemptAuditLogsWithHistoryForId(UUID paymentAttemptId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given payment attempt.List<AuditLogWithHistory>PaymentApi. getPaymentAuditLogsWithHistoryForId(UUID paymentId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given payment.PaymentPaymentApi. getPaymentByExternalKey(String paymentExternalKey, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)PaymentPaymentApi. getPaymentByTransactionExternalKey(String transactionExternalKey, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)PaymentPaymentApi. getPaymentByTransactionId(UUID transactionId, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)List<AuditLogWithHistory>PaymentApi. getPaymentMethodAuditLogsWithHistoryForId(UUID paymentMethodId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given payment method.PaymentMethodPaymentApi. getPaymentMethodByExternalKey(String paymentMethodExternalKey, boolean includedInactive, boolean withPluginInfo, Iterable<PluginProperty> properties, TenantContext context)PaymentMethodPaymentApi. getPaymentMethodById(UUID paymentMethodId, boolean includedInactive, boolean withPluginInfo, Iterable<PluginProperty> properties, TenantContext context)Pagination<PaymentMethod>PaymentApi. getPaymentMethods(Long offset, Long limit, boolean withPluginInfo, Iterable<PluginProperty> properties, TenantContext context)Find all payment methods across all pluginsPagination<PaymentMethod>PaymentApi. getPaymentMethods(Long offset, Long limit, String pluginName, boolean withPluginInfo, Iterable<PluginProperty> properties, TenantContext context)Find all payment methods in a given pluginPagination<Payment>PaymentApi. getPayments(Long offset, Long limit, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)Find all payments across all pluginsPagination<Payment>PaymentApi. getPayments(Long offset, Long limit, String pluginName, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)Find all payments in a given pluginList<AuditLogWithHistory>PaymentApi. getPaymentTransactionAuditLogsWithHistoryForId(UUID paymentTransactionId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given payment transaction.Pagination<PaymentMethod>PaymentApi. searchPaymentMethods(String searchKey, Long offset, Long limit, boolean withPluginInfo, Iterable<PluginProperty> properties, TenantContext context)Find all payment methods matching the search key across all pluginsPagination<PaymentMethod>PaymentApi. searchPaymentMethods(String searchKey, Long offset, Long limit, String pluginName, boolean withPluginInfo, Iterable<PluginProperty> properties, TenantContext context)Find all payment methods matching the search key in a given pluginPagination<Payment>PaymentApi. searchPayments(String searchKey, Long offset, Long limit, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)Find all payments matching the search key across all pluginsPagination<Payment>PaymentApi. searchPayments(String searchKey, Long offset, Long limit, String pluginName, boolean withPluginInfo, boolean withAttempts, Iterable<PluginProperty> properties, TenantContext context)Find all payments matching the search key in a given plugin -
Uses of TenantContext in org.killbill.billing.security.api
Methods in org.killbill.billing.security.api with parameters of type TenantContext Modifier and Type Method Description voidSecurityApi. checkCurrentUserPermissions(List<Permission> permissions, Logical logical, TenantContext context)Check the current user has the set of permissions.Set<String>SecurityApi. getCurrentUserPermissions(TenantContext context)Return the set of permissions for the currently logged-in user.List<String>SecurityApi. getRoleDefinition(String role, TenantContext tenantContext)Retrieves the list of permissions associated to that role in the Shiro store (JDBCRealm)List<String>SecurityApi. getUserRoles(String username, TenantContext tenantContext)Retrieves the roles associated to a user in the Shiro store (JDBCRealm) -
Uses of TenantContext in org.killbill.billing.tenant.api
Methods in org.killbill.billing.tenant.api with parameters of type TenantContext Modifier and Type Method Description List<String>TenantUserApi. getTenantValuesForKey(String key, TenantContext context)Map<String,List<String>>TenantUserApi. searchTenantKeyValues(String searchKey, TenantContext context) -
Uses of TenantContext in org.killbill.billing.usage.api
Methods in org.killbill.billing.usage.api with parameters of type TenantContext Modifier and Type Method Description List<RolledUpUsage>UsageUserApi. getAllUsageForSubscription(UUID subscriptionId, List<org.joda.time.DateTime> transitionDates, Iterable<PluginProperty> properties, TenantContext context)Get usage information for a given subscription.RolledUpUsageUsageUserApi. getUsageForSubscription(UUID subscriptionId, String unitType, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, Iterable<PluginProperty> properties, TenantContext context)Get usage information for a given subscription. -
Uses of TenantContext in org.killbill.billing.util.api
Methods in org.killbill.billing.util.api with parameters of type TenantContext Modifier and Type Method Description AccountAuditLogsForObjectTypeAuditUserApi. getAccountAuditLogs(UUID accountId, ObjectType objectType, AuditLevel auditLevel, TenantContext context)Retrieve all audit logs (for all objects of a given type) for a given accountAccountAuditLogsAuditUserApi. getAccountAuditLogs(UUID accountId, AuditLevel auditLevel, TenantContext context)Retrieve all audit logs (for all objects) for a given accountList<AuditLog>AuditUserApi. getAuditLogs(UUID objectId, ObjectType objectType, AuditLevel auditLevel, TenantContext context)Get all the audit entries for a given object.List<AuditLogWithHistory>CustomFieldUserApi. getCustomFieldAuditLogsWithHistoryForId(UUID customFieldId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given custom field.Pagination<CustomField>CustomFieldUserApi. getCustomFields(Long offset, Long limit, TenantContext context)List<CustomField>CustomFieldUserApi. getCustomFieldsForAccount(UUID accountId, TenantContext context)List<CustomField>CustomFieldUserApi. getCustomFieldsForAccountType(UUID accountId, ObjectType objectType, TenantContext context)List<CustomField>CustomFieldUserApi. getCustomFieldsForObject(UUID objectId, ObjectType objectType, TenantContext context)LongRecordIdApi. getRecordId(UUID objectId, ObjectType objectType, TenantContext tenantContext)This can be used by external plugins to keep the mapping between UUID and recordIdList<AuditLogWithHistory>TagUserApi. getTagAuditLogsWithHistoryForId(UUID tagId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given tag.TagDefinitionTagUserApi. getTagDefinition(UUID tagDefinitionId, TenantContext context)List<AuditLogWithHistory>TagUserApi. getTagDefinitionAuditLogsWithHistoryForId(UUID tagDefinitionId, AuditLevel auditLevel, TenantContext context)Get all the audit entries with history for a given tag definition.TagDefinitionTagUserApi. getTagDefinitionForName(String tageDefinitionName, TenantContext context)List<TagDefinition>TagUserApi. getTagDefinitions(Collection<UUID> tagDefinitionIds, TenantContext context)List<TagDefinition>TagUserApi. getTagDefinitions(TenantContext context)Pagination<Tag>TagUserApi. getTags(Long offset, Long limit, TenantContext context)List<Tag>TagUserApi. getTagsForAccount(UUID accountId, boolean includedDeleted, TenantContext context)List<Tag>TagUserApi. getTagsForAccountType(UUID accountId, ObjectType objectType, boolean includedDeleted, TenantContext context)List<Tag>TagUserApi. getTagsForObject(UUID objectId, ObjectType objectType, boolean includedDeleted, TenantContext context)Pagination<CustomField>CustomFieldUserApi. searchCustomFields(String searchKey, Long offset, Long limit, TenantContext context)Find all custom fields having their object type, field name or value matching the search keyPagination<CustomField>CustomFieldUserApi. searchCustomFields(String fieldName, String fieldValue, ObjectType objectType, Long offset, Long limit, TenantContext context)Pagination<CustomField>CustomFieldUserApi. searchCustomFields(String fieldName, ObjectType objectType, Long offset, Long limit, TenantContext context)Pagination<Tag>TagUserApi. searchTags(String searchKey, Long offset, Long limit, TenantContext context)Find all tags having their object type, associated tag definition name or description matching the search key -
Uses of TenantContext in org.killbill.billing.util.callcontext
Subinterfaces of TenantContext in org.killbill.billing.util.callcontext Modifier and Type Interface Description interfaceCallContextExternal use
-