Package org.cyclos.services.banking
Interface UserAccountVisibilitySettingsService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
UserAccountVisibilitySettingsServiceLocal
public interface UserAccountVisibilitySettingsService extends Service
Service for managing account visibility settings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserAccountVisibilitySettingsDatagetData(UserLocatorVO locator)Returns data for the given user or the logged if locator is null.voidsave(UserLocatorVO locator, Set<UserAccountTypeVO> visibleAccountTypes)voidsetAsVisible(UserLocatorVO locator, UserAccountTypeVO accountType, boolean visible)Sets a list of account types as visible/hidden for a user.
-
-
-
Method Detail
-
getData
UserAccountVisibilitySettingsData getData(UserLocatorVO locator) throws FrameworkException
Returns data for the given user or the logged if locator is null.- Throws:
FrameworkException
-
save
void save(UserLocatorVO locator, Set<UserAccountTypeVO> visibleAccountTypes) throws FrameworkException
- Throws:
FrameworkException
-
setAsVisible
void setAsVisible(UserLocatorVO locator, UserAccountTypeVO accountType, boolean visible) throws FrameworkException
Sets 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.- Throws:
FrameworkException
-
-