Package org.cyclos.security.banking
Class TransactionCustomFieldServiceSecurity
- 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,CF,D,DP>
-
- org.cyclos.security.system.BaseCustomFieldServiceSecurity<DTO,CF,C,PV,D,DP>
-
- org.cyclos.security.system.BaseSimpleCustomFieldServiceSecurity<TransactionCustomFieldDTO,TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue,TransactionCustomFieldData,Void>
-
- org.cyclos.security.banking.TransactionCustomFieldServiceSecurity
-
- All Implemented Interfaces:
TransactionCustomFieldService,CRUDService<TransactionCustomFieldDTO,TransactionCustomFieldData,Void>,CRUDWithConfirmationPasswordService<TransactionCustomFieldDTO,TransactionCustomFieldData,Void>,Service,BaseCustomFieldService<TransactionCustomFieldDTO,TransactionCustomFieldData,Void>
@Security public class TransactionCustomFieldServiceSecurity extends BaseSimpleCustomFieldServiceSecurity<TransactionCustomFieldDTO,TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue,TransactionCustomFieldData,Void> implements TransactionCustomFieldService
Security forTransactionCustomFieldService
-
-
Field Summary
-
Fields inherited from class org.cyclos.security.system.BaseSimpleCustomFieldServiceSecurity
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 TransactionCustomFieldServiceSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRelation(TransferTypeVO transferTypeVO, CustomFieldVO customFieldVO)Relates the given transfer type with the given custom fieldprotected TransactionCustomFieldServiceLocalgetImplementation()Should be implemented in order to return the actual implementation of the serviceList<TransactionCustomFieldDetailedVO>list()Lists all transaction custom fields with detailed informationList<CustomFieldVO>listAllRelated(TransferTypeVO transferTypeVO)Returns all the custom fields which are related to the given transfer typeList<CustomFieldVO>listRelated(TransferTypeVO transferTypeVO)Returns the custom fields which are visible (according to the products) and related to the given transfer typevoidremoveRelation(TransferTypeVO transferTypeVO, CustomFieldVO customFieldVO)Removes the given transfer type with the given custom field-
Methods inherited from class org.cyclos.security.system.BaseSimpleCustomFieldServiceSecurity
checkCreateNew, checkManagePermission, checkViewPermission, doHasManageAccess, doHasViewAccess, hasManagePermission, hasViewPermission
-
Methods inherited from class org.cyclos.security.system.BaseCustomFieldServiceSecurity
saveOrder
-
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, onBeforeSave, 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.system.BaseCustomFieldService
saveOrder
-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
addRelation
public void addRelation(TransferTypeVO transferTypeVO, CustomFieldVO customFieldVO) throws EntityNotFoundException
Description copied from interface:TransactionCustomFieldServiceRelates the given transfer type with the given custom field- Specified by:
addRelationin interfaceTransactionCustomFieldService- Throws:
EntityNotFoundException
-
list
public List<TransactionCustomFieldDetailedVO> list()
Description copied from interface:TransactionCustomFieldServiceLists all transaction custom fields with detailed information- Specified by:
listin interfaceTransactionCustomFieldService
-
listAllRelated
public List<CustomFieldVO> listAllRelated(TransferTypeVO transferTypeVO) throws FrameworkException
Description copied from interface:TransactionCustomFieldServiceReturns all the custom fields which are related to the given transfer type- Specified by:
listAllRelatedin interfaceTransactionCustomFieldService- Throws:
FrameworkException
-
listRelated
public List<CustomFieldVO> listRelated(TransferTypeVO transferTypeVO) throws EntityNotFoundException
Description copied from interface:TransactionCustomFieldServiceReturns the custom fields which are visible (according to the products) and related to the given transfer type- Specified by:
listRelatedin interfaceTransactionCustomFieldService- Throws:
EntityNotFoundException
-
removeRelation
public void removeRelation(TransferTypeVO transferTypeVO, CustomFieldVO customFieldVO) throws EntityNotFoundException
Description copied from interface:TransactionCustomFieldServiceRemoves the given transfer type with the given custom field- Specified by:
removeRelationin interfaceTransactionCustomFieldService- Throws:
EntityNotFoundException
-
getImplementation
protected TransactionCustomFieldServiceLocal getImplementation()
Description copied from class:CRUDServiceSecurityShould be implemented in order to return the actual implementation of the service- Specified by:
getImplementationin classCRUDServiceSecurity<TransactionCustomFieldDTO,TransactionCustomField,TransactionCustomFieldData,Void>
-
-