Package org.cyclos.security.app
Class InternalFrontendServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.app.InternalFrontendServiceSecurity
-
- All Implemented Interfaces:
InternalFrontendService,Service
@Security public class InternalFrontendServiceSecurity extends BaseServiceSecurity implements InternalFrontendService
Security layer forInternalFrontendService
-
-
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 InternalFrontendServiceSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrontendDatagetFrontendData(FrontendScreenSize screenSize)Returns data used by the new frontendFrontendHomeDatagetHomeData(FrontendScreenSize screenSize)Returns the data for the new frontend home / dashboardWebManifestDatagetWebManifestData(boolean fromUi)Returns data for the web manifestprotected 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
-
getFrontendData
public FrontendData getFrontendData(FrontendScreenSize screenSize)
Description copied from interface:InternalFrontendServiceReturns data used by the new frontend- Specified by:
getFrontendDatain interfaceInternalFrontendService
-
getHomeData
public FrontendHomeData getHomeData(FrontendScreenSize screenSize) throws FrameworkException
Description copied from interface:InternalFrontendServiceReturns the data for the new frontend home / dashboard- Specified by:
getHomeDatain interfaceInternalFrontendService- Throws:
FrameworkException
-
getWebManifestData
public WebManifestData getWebManifestData(boolean fromUi) throws FrameworkException
Description copied from interface:InternalFrontendServiceReturns data for the web manifest- Specified by:
getWebManifestDatain interfaceInternalFrontendService- 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
-
-