Package org.cyclos.security.users
Class UserDashboardActionServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.users.UserDashboardActionServiceSecurity
-
- All Implemented Interfaces:
Service,UserDashboardActionsService
@Security public class UserDashboardActionServiceSecurity extends BaseServiceSecurity implements UserDashboardActionsService
Security layer for UserDashboardActionSecurityService.
-
-
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 UserDashboardActionServiceSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDashboardActionsDatagetData()Returns data about the logged user's dashboard actionsprotected EntityCheck<?>resolveEntityCheck()Must be implemented in order to return theEntityCheckmanaged by this security component, or null if nonevoidrestoreDefaultDashboardActions()Restore the default dashboard actionsvoidsave(List<DashboardAction> dashboardActions)Saves the available actions for the logged uservoidsaveOrder(List<DashboardAction> dashboardActions)Updates the order field according to the given dashboard actions sequence-
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
-
getData
public UserDashboardActionsData getData() throws FrameworkException
Description copied from interface:UserDashboardActionsServiceReturns data about the logged user's dashboard actions- Specified by:
getDatain interfaceUserDashboardActionsService- Throws:
FrameworkException
-
restoreDefaultDashboardActions
public void restoreDefaultDashboardActions()
Description copied from interface:UserDashboardActionsServiceRestore the default dashboard actions- Specified by:
restoreDefaultDashboardActionsin interfaceUserDashboardActionsService
-
save
public void save(List<DashboardAction> dashboardActions) throws FrameworkException
Description copied from interface:UserDashboardActionsServiceSaves the available actions for the logged user- Specified by:
savein interfaceUserDashboardActionsService- Throws:
FrameworkException
-
saveOrder
public void saveOrder(List<DashboardAction> dashboardActions) throws FrameworkException
Description copied from interface:UserDashboardActionsServiceUpdates the order field according to the given dashboard actions sequence- Specified by:
saveOrderin interfaceUserDashboardActionsService- Throws:
FrameworkException
-
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
-
-