Package org.cyclos.security.banking
Class TransferFeeServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.CRUDServiceSecurity<DTO,E,D,DP>
-
- org.cyclos.security.ConfigurationEntityCRUDServiceSecurity<DTO,E,D,DP>
-
- org.cyclos.security.SimpleConfigurationEntityCRUDServiceSecurity<TransferFeeDTO,TransferFee,TransferFeeData,TransferTypeVO>
-
- org.cyclos.security.banking.TransferFeeServiceSecurity
-
- All Implemented Interfaces:
TransferFeeService,CRUDService<TransferFeeDTO,TransferFeeData,TransferTypeVO>,CRUDWithConfirmationPasswordService<TransferFeeDTO,TransferFeeData,TransferTypeVO>,Service
@Security public class TransferFeeServiceSecurity extends SimpleConfigurationEntityCRUDServiceSecurity<TransferFeeDTO,TransferFee,TransferFeeData,TransferTypeVO> implements TransferFeeService
Security layer forTransferFeeService
-
-
Field Summary
-
Fields inherited from class org.cyclos.security.SimpleConfigurationEntityCRUDServiceSecurity
managePermission, viewPermission
-
Fields inherited from class org.cyclos.security.CRUDServiceSecurity
entityClass
-
Fields inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
authHandler, conversionHandler, customFieldValueHandler, entityManagerHandler, groupsHandler, productsHandler, restBeanPropertyMapping, userLocatorHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
accountHandler, configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description TransferFeeServiceSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TransferFeeServiceLocalgetImplementation()Should be implemented in order to return the actual implementation of the serviceList<TransferFeeVO>list(TransferTypeVO transferTypeVO)Returns a list of all transfer fees for the given transfer typeList<TransferTypeWithCurrencyVO>listPossibleGeneratedTransferTypes(TransferFeeDTO fee)Returns the possible generated transfer types for the given transfer feeprotected voidonBeforeSave(TransferFeeDTO dto, TransferFee entity)-
Methods inherited from class org.cyclos.security.SimpleConfigurationEntityCRUDServiceSecurity
checkCreateNew, checkManagePermission, checkViewPermission, doHasManageAccess, doHasViewAccess, hasManagePermission, hasViewPermission
-
Methods inherited from class org.cyclos.security.ConfigurationEntityCRUDServiceSecurity
isAccessible
-
Methods inherited from class org.cyclos.security.CRUDServiceSecurity
canPerformOperation, canViewData, checkManageAccess, checkOperation, checkSave, checkViewAccess, customizeData, find, getConfirmationPasswordInputForRemove, getData, getDataForNew, getEntityClass, hasManageAccess, hasViewAccess, load, remove, removeAll, removeAllWithConfirmationPassword, removeWithConfirmationPassword, resolveEntityCheck, save, saveWithConfirmationPassword
-
Methods inherited from class org.cyclos.security.BaseServiceSecurity
checkGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkScope, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initialize
-
Methods inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
canManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getBaseEntityManagerHandler, getConfiguration, getLoggedBasicUser, getLoggedUser, getProducts, getTranslatedName, getTranslatedValue, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, setAlreadyValidated, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, dataTranslationProxy, delete, detach, doDataTranslationProxy, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
list
public List<TransferFeeVO> list(TransferTypeVO transferTypeVO)
Description copied from interface:TransferFeeServiceReturns a list of all transfer fees for the given transfer type- Specified by:
listin interfaceTransferFeeService
-
listPossibleGeneratedTransferTypes
public List<TransferTypeWithCurrencyVO> listPossibleGeneratedTransferTypes(TransferFeeDTO fee) throws FrameworkException
Description copied from interface:TransferFeeServiceReturns the possible generated transfer types for the given transfer fee- Specified by:
listPossibleGeneratedTransferTypesin interfaceTransferFeeService- Throws:
FrameworkException
-
getImplementation
protected TransferFeeServiceLocal getImplementation()
Description copied from class:CRUDServiceSecurityShould be implemented in order to return the actual implementation of the service- Specified by:
getImplementationin classCRUDServiceSecurity<TransferFeeDTO,TransferFee,TransferFeeData,TransferTypeVO>
-
onBeforeSave
protected void onBeforeSave(TransferFeeDTO dto, TransferFee entity)
- Overrides:
onBeforeSavein classCRUDServiceSecurity<TransferFeeDTO,TransferFee,TransferFeeData,TransferTypeVO>
-
-