Tabnine Logo
RequiresPermissions.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.killbill.billing.security.RequiresPermissions
constructor

Best Java code snippets using org.killbill.billing.security.RequiresPermissions.<init> (Showing top 20 results out of 315)

origin: killbill/killbill

  @RequiresPermissions(Permission.PAYMENT_CAN_REFUND)
  public void createRefund();
}
origin: killbill/killbill

  @RequiresPermissions(Permission.PAYMENT_CAN_REFUND)
  public void createRefund() {}
}
origin: org.kill-bill.billing/killbill-api

/**
 * @param accountId the account unique id
 * @param email     the email to be removed
 * @param context   the user context
 */
@RequiresPermissions(ACCOUNT_CAN_DELETE_EMAILS)
public void removeEmail(UUID accountId, AccountEmail email, CallContext context);
origin: org.kill-bill.billing/killbill-api

/**
 * Delete a CBA item.
 *
 * @param accountId     account id
 * @param invoiceId     invoice id
 * @param invoiceItemId invoice item id (must be of type CBA_ADJ)
 * @param context       the call context
 * @throws InvoiceApiException
 */
@RequiresPermissions(INVOICE_CAN_DELETE_CBA)
public void deleteCBA(UUID accountId, UUID invoiceId, UUID invoiceItemId, CallContext context) throws InvoiceApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * @param bcd               the new BCD for that subscription
 * @param effectiveFromDate date after which that BCD change becomes active
 * @param context           the context
 * @throws EntitlementApiException
 */
@RequiresPermissions(ENTITLEMENT_CAN_CREATE)
public void updateBCD(final int bcd, final LocalDate effectiveFromDate, final CallContext context) throws EntitlementApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * @param tagDefinitionId The UUID for that tagDefinition
 * @param context         The call context, for auditing purposes
 * @throws TagDefinitionApiException
 */
@RequiresPermissions(TAG_CAN_DELETE_TAG_DEFINITION)
public void deleteTagDefinition(UUID tagDefinitionId, CallContext context) throws TagDefinitionApiException;
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

/**
 * @param objectId       The id for the object on which to add tags
 * @param objectType     The object type
 * @param tagDefinitions The collection of tag definition ids
 * @param context        The call context, for auditing purposes
 * @throws TagApiException
 */
@RequiresPermissions(TAG_CAN_REMOVE)
public void removeTags(UUID objectId, ObjectType objectType, Collection<UUID> tagDefinitions, CallContext context) throws TagApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Update the externalKey for a given bundle
 *
 * @param bundleId       ; bundle id
 * @param newExternalKey : the new value for the externalKey
 * @param context        : the call context
 */
@RequiresPermissions(ENTITLEMENT_CAN_CREATE)
public void updateExternalKey(UUID bundleId, String newExternalKey, CallContext context) throws EntitlementApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Updates the account by specifying the {@code AccountData} object
 * <p/>
 *
 * @param key     account external key
 * @param context contains specific information about the call
 * @throws AccountApiException if a failure occurs
 */
@RequiresPermissions(ACCOUNT_CAN_UPDATE)
public void updateAccount(String key, AccountData accountData, CallContext context) throws AccountApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Updates the account by specifying the {@code AccountData} object
 * <p/>
 *
 * @param accountId account unique id
 * @param context   contains specific information about the call
 * @throws AccountApiException if a failure occurs
 */
@RequiresPermissions(ACCOUNT_CAN_UPDATE)
public void updateAccount(UUID accountId, AccountData accountData, CallContext context) throws AccountApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * @param fields  the list of fields to add
 * @param context the call context
 * @throws CustomFieldApiException
 */
@RequiresPermissions(CUSTOM_FIELDS_CAN_ADD)
void addCustomFields(List<CustomField> fields, CallContext context) throws CustomFieldApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * @param fields  the list of fields to add
 * @param context the call context
 * @throws CustomFieldApiException
 */
@RequiresPermissions(CUSTOM_FIELDS_CAN_UPDATE)
void updateCustomFields(List<CustomField> fields, CallContext context) throws CustomFieldApiException;
origin: org.kill-bill.billing/killbill-api

/** @param accountId   account id
 * @param invoiceDate maximum billing event day to consider (in the account timezone)
 * @param items       items to be placed on the migration invoice
 * @param context     call call context
 * @return The UUID of the created invoice
 */
@RequiresPermissions(INVOICE_CAN_TRIGGER_INVOICE)
public UUID createMigrationInvoice(UUID accountId, LocalDate invoiceDate, Iterable<InvoiceItem> items, CallContext context);
origin: org.kill-bill.billing/killbill-api

/**
 * @param context the context
 * @throws OverdueApiException
 */
@RequiresPermissions(OVERDUE_CAN_UPLOAD)
void uploadOverdueConfig(String overdueXML, CallContext context) throws OverdueApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Cancel scheduled future payment retry
 *
 * @param paymentTransactionId       the id identifying the transaction
 * @param context                    the call context
 * @throws PaymentApiException
 */
@RequiresPermissions(PAYMENT_CAN_TRIGGER_PAYMENT)
public void cancelScheduledPaymentTransaction(UUID paymentTransactionId, CallContext context)
    throws PaymentApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Will pause all entitlements associated with the base entitlement. If there are no ADD_ONN this is only the base entitlement.
 *
 * @param bundleId
 * @param effectiveDate
 * @param properties    plugin specific properties
 * @param context
 * @throws EntitlementApiException if the system fail to find the base <code>Entitlement</code>
 */
@RequiresPermissions(ENTITLEMENT_CAN_PAUSE_RESUME)
public void pause(UUID bundleId, LocalDate effectiveDate, Iterable<PluginProperty> properties, CallContext context)
    throws EntitlementApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Trigger an invoice for a given account and a given day.
 *
 * @param accountId       account id
 * @param targetDate      the target day, in the account timezone
 * @param dryRunArguments dry run arguments
 * @param context         the call context
 * @return the invoice generated
 * @throws InvoiceApiException
 */
@RequiresPermissions(INVOICE_CAN_DRY_RUN_INVOICE)
public Invoice triggerDryRunInvoiceGeneration(UUID accountId, LocalDate targetDate, DryRunArguments dryRunArguments, CallContext context) throws InvoiceApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * @param account         the account
 * @param paymentMethodId the payment method id
 * @param properties      plugin specific properties
 * @param context         the call context
 * @throws PaymentApiException
 */
@RequiresPermissions(PAYMENT_METHOD_CAN_CREATE)
public void setDefaultPaymentMethod(Account account, UUID paymentMethodId, Iterable<PluginProperty> properties, CallContext context)
    throws PaymentApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Creates a per-tenant default template catalog
 *
 * @param effectiveDate the effective date for this catalog
 * @param callContext   the user context
 * @throws CatalogApiException
 */
@RequiresPermissions(CATALOG_CAN_UPLOAD)
void createDefaultEmptyCatalog(final DateTime effectiveDate, final CallContext callContext) throws CatalogApiException;
origin: org.kill-bill.billing/killbill-api

/**
 * Allows to add plan definition in existing per-tenant catalog. The simplicity of the api
 * limits the types of plans that can be added (recurring evergreen plans defined for one currency
 * with or without a trial)
 *
 * @param planDescriptor
 * @param requestedDate
 * @param context
 * @throws CatalogApiException
 */
@RequiresPermissions(CATALOG_CAN_UPLOAD)
void addSimplePlan(SimplePlanDescriptor planDescriptor, DateTime requestedDate, CallContext context) throws CatalogApiException;
org.killbill.billing.securityRequiresPermissions<init>

Popular methods of RequiresPermissions

  • logical
  • value

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JLabel (javax.swing)
  • JTextField (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now