Package org.cyclos.security.banking
Class TransferServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.banking.TransferServiceSecurity
-
- All Implemented Interfaces:
TransferService,Service
@Security public class TransferServiceSecurity extends BaseServiceSecurity implements TransferService
Security forTransferService
-
-
Field Summary
-
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 TransferServiceSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileInfoexportTransfer(ExportFormatVO format, TransferVO transfer)Exports the given transfer to fileTransferDatagetData(TransferVO vo)Returns details data for a transferTransferVOload(Long id)Returns a transfer by id, or throwsEntityNotFoundExceptionif not foundTransferVOloadByTransactionNumber(String transactionNumber)Returns a transfer by transaction number, or throwsEntityNotFoundExceptionif not foundvoidprocessTransferData(Transfer transfer, ITransData data)protected EntityCheck<?>resolveEntityCheck()Must be implemented in order to return theEntityCheckmanaged by this security component, or null if none-
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
-
-
-
-
Method Detail
-
exportTransfer
public FileInfo exportTransfer(ExportFormatVO format, TransferVO transfer)
Description copied from interface:TransferServiceExports the given transfer to file- Specified by:
exportTransferin interfaceTransferService
-
getData
public TransferData getData(TransferVO vo) throws IllegalArgumentException
Description copied from interface:TransferServiceReturns details data for a transfer- Specified by:
getDatain interfaceTransferService- Throws:
IllegalArgumentException
-
load
public TransferVO load(Long id) throws FrameworkException
Description copied from interface:TransferServiceReturns a transfer by id, or throwsEntityNotFoundExceptionif not found- Specified by:
loadin interfaceTransferService- Throws:
FrameworkException
-
loadByTransactionNumber
public TransferVO loadByTransactionNumber(String transactionNumber) throws FrameworkException
Description copied from interface:TransferServiceReturns a transfer by transaction number, or throwsEntityNotFoundExceptionif not found- Specified by:
loadByTransactionNumberin interfaceTransferService- Throws:
FrameworkException
-
processTransferData
public void processTransferData(Transfer transfer, ITransData data)
-
resolveEntityCheck
protected EntityCheck<?> resolveEntityCheck()
Description copied from class:BaseServiceSecurityMust be implemented in order to return theEntityCheckmanaged by this security component, or null if none- Specified by:
resolveEntityCheckin classBaseServiceSecurity
-
-