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 / dashboardWebManifestDatagetWebManifestData(boolean fromUi)Returns data for the web manifestbooleanisAllowFrontendSwitching(BasicUser user)Is the given user (or logged user if null) allowed to switch between frontends?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, 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
-
isAllowFrontendSwitching
public boolean isAllowFrontendSwitching(BasicUser user)
Description copied from interface:InternalFrontendServiceLocalIs the given user (or logged user if null) allowed to switch between frontends?- 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
-
-