@Security public class ChargebackServiceSecurity extends BaseServiceSecurity implements ChargebackService
ChargebackService| Constructor and Description |
|---|
ChargebackServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChargeback(Transfer transfer) |
java.lang.Long |
chargeback(TransferActionDTO params)
Performs the chargeback for the given transfer, returning the chargeback id.
|
ChargebackData |
getData(java.lang.Long id)
Returns details about a chargeback
|
protected org.cyclos.impl.access.EntityCheck<?> |
resolveEntityCheck()
Must be implemented in order to return the
EntityCheck managed by this security component, or null if
none |
checkGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initializecanManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getAccountHandler, getAuthHandler, getBaseEntityManagerHandler, getChannelConfiguration, getConfiguration, getConversionHandler, getCustomFieldValueHandler, getEntityManagerHandler, getGroupsHandler, getLoggedBasicUser, getLoggedUser, getProducts, getProductsHandler, getReportHandler, getTranslatedName, getTranslatedValue, getUserLocatorHandler, getValidationResult, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, toDate, toDateTime, validatedelete, detach, find, flush, from, getApplicationContext, getConfigurationHandler, getDataTranslationHandler, getFormatter, getFormatter, getFormatter, getLogger, getNotificationHandler, getProfileFieldHandler, getRemoteAddress, getSessionData, getTransactionHandler, getTranslationHandler, message, message, persist, processBatch, refresh, remove, subQuery, updatepublic boolean canChargeback(Transfer transfer)
public java.lang.Long chargeback(TransferActionDTO params) throws FrameworkException, TransferException
ChargebackServicechargeback in interface ChargebackServiceIllegalActionException - When the given transfer has already been charged backInsufficientBalanceException - When the source account, or source account for any generated fee is limited
and had insufficient balance
for such a paymentMaxAmountPerDayExceededException - When the maximum amount for payments of this transfer type has been
exceeded, according to the
transfer type configurationUpperCreditLimitReachedException - When the destination account, or destination account for any generated
fee is limited and would have
more balance than the allowed maximumFrameworkExceptionTransferExceptionpublic ChargebackData getData(java.lang.Long id) throws FrameworkException
ChargebackServicegetData in interface ChargebackServiceFrameworkExceptionprotected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity