Package org.cyclos.impl.banking
Class UserAccountVisibilitySettingsServiceImpl
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.impl.BaseServiceImpl
-
- org.cyclos.impl.banking.UserAccountVisibilitySettingsServiceImpl
-
- All Implemented Interfaces:
UserAccountVisibilitySettingsServiceLocal,UserAccountVisibilitySettingsService,Service
@Service public class UserAccountVisibilitySettingsServiceImpl extends BaseServiceImpl implements UserAccountVisibilitySettingsServiceLocal
Local interface forUserAccountVisibilitySettingsService
-
-
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 UserAccountVisibilitySettingsServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserAccountVisibilitySettingsDatagetData(UserLocatorVO locator)Returns data for the given user or the logged if locator is null.protected voidregisterNetworkMappings(NetworkPathRegistry networkPathRegistry)Needs to be overridden by subclasses to register the path up to the networkvoidsave(UserLocatorVO locator, Set<UserAccountTypeVO> typesAsVisibleParam)voidsetAsVisible(UserLocatorVO locator, UserAccountTypeVO accountTypeVO, boolean visible)Sets a list of account types as visible/hidden for a user.-
Methods inherited from class org.cyclos.impl.BaseServiceImpl
initializeNetworkMappings
-
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
-
getData
public UserAccountVisibilitySettingsData getData(UserLocatorVO locator) throws FrameworkException
Description copied from interface:UserAccountVisibilitySettingsServiceReturns data for the given user or the logged if locator is null.- Specified by:
getDatain interfaceUserAccountVisibilitySettingsService- Throws:
FrameworkException
-
save
public void save(UserLocatorVO locator, Set<UserAccountTypeVO> typesAsVisibleParam) throws FrameworkException
- Specified by:
savein interfaceUserAccountVisibilitySettingsService- Throws:
FrameworkException
-
setAsVisible
public void setAsVisible(UserLocatorVO locator, UserAccountTypeVO accountTypeVO, boolean visible) throws FrameworkException
Description copied from interface:UserAccountVisibilitySettingsServiceSets a list of account types as visible/hidden for a user. If the locator is null then it sets the account types for the logged user.- Specified by:
setAsVisiblein interfaceUserAccountVisibilitySettingsService- Throws:
FrameworkException
-
registerNetworkMappings
protected void registerNetworkMappings(NetworkPathRegistry networkPathRegistry)
Description copied from class:BaseServiceImplNeeds to be overridden by subclasses to register the path up to the network- Specified by:
registerNetworkMappingsin classBaseServiceImpl
-
-