Package org.cyclos.impl.app
Class InternalFrontendServiceImpl
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.impl.BaseServiceImpl
-
- org.cyclos.impl.app.InternalFrontendServiceImpl
-
- All Implemented Interfaces:
InternalFrontendServiceLocal,InternalFrontendService,Service
@Service public class InternalFrontendServiceImpl extends BaseServiceImpl implements InternalFrontendServiceLocal
Implementation 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 InternalFrontendServiceImpl()
-
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 / dashboardbooleanisAllowFrontendSwitching()Is the logged user allowed to switch between frontend?protected voidregisterNetworkMappings(NetworkPathRegistry networkPathRegistry)Needs to be overridden by subclasses to register the path up to the network-
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, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, delete, detach, 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
-
isAllowFrontendSwitching
public boolean isAllowFrontendSwitching()
Description copied from interface:InternalFrontendServiceLocalIs the logged user allowed to switch between frontend?- Specified by:
isAllowFrontendSwitchingin interfaceInternalFrontendServiceLocal
-
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
-
-