@Security public class PaymentServiceSecurity extends BaseServiceSecurity implements PaymentService
PaymentService| Constructor and Description |
|---|
PaymentServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
PaymentData |
getData(java.lang.Long id)
Returns data about a payment
|
PaymentVO |
perform(PerformPaymentDTO parameters)
Performs a payment, according to the given parameters, returning the resulting payment.
|
PaymentPreviewVO |
preview(PerformPaymentDTO parameters)
Previews a payment to be performed
|
PaymentPreviewVO |
previewReceive(PerformPaymentDTO parameters)
Previews a payment to be received
|
SerializableInputStream |
print(java.lang.Long id)
Generates a PDF file with the details for a payment.
|
PaymentVO |
receive(PerformPaymentDTO parameters)
Receives a payment, according to the given parameters, returning the resulting payment.
|
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 |
Page<PaymentEntryVO> |
search(PaymentQuery query)
Searches for payments, according to the given query
|
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 PaymentData getData(java.lang.Long id) throws FrameworkException
PaymentServicegetData in interface PaymentServiceFrameworkExceptionpublic PaymentVO perform(PerformPaymentDTO parameters) throws FrameworkException, TransferException
PaymentServiceperform in interface PaymentServicePasswordException - When the confirmation password doesn't matchInsufficientBalanceException - 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 PaymentPreviewVO preview(PerformPaymentDTO parameters) throws FrameworkException
PaymentServicepreview in interface PaymentServiceFrameworkExceptionpublic PaymentPreviewVO previewReceive(PerformPaymentDTO parameters) throws FrameworkException, TransferException
PaymentServicepreviewReceive in interface PaymentServiceFrameworkExceptionTransferExceptionpublic SerializableInputStream print(java.lang.Long id) throws FrameworkException, ReportExecutionException
PaymentServiceprint in interface PaymentServiceReportExecutionException - if there is an error generating the PDF.FrameworkExceptionpublic PaymentVO receive(PerformPaymentDTO parameters) throws FrameworkException, TransferException
PaymentServicereceive in interface PaymentServiceFrameworkExceptionTransferExceptionPaymentService.perform(PerformPaymentDTO)public Page<PaymentEntryVO> search(PaymentQuery query) throws FrameworkException
PaymentServicesearch in interface PaymentServiceFrameworkExceptionprotected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity