Package org.cyclos.impl.system
Class LicenseServiceImpl
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.impl.BaseServiceImpl
-
- org.cyclos.impl.system.LicenseServiceImpl
-
- All Implemented Interfaces:
LicenseServiceLocal,Service,LicenseService
@Service public class LicenseServiceImpl extends BaseServiceImpl implements LicenseServiceLocal
Implementation forLicenseService
-
-
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 LicenseServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicLicenseVOgetBasicLicense()Returns very basic license detailsLicenseVOgetLicense()Returns the current license detailsvoidofflineUpdate(SerializableInputStream in)Updates the license offlinevoidonlineUpdate()Updates the license onlineprotected 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
-
getBasicLicense
public BasicLicenseVO getBasicLicense() throws FrameworkException
Description copied from interface:LicenseServiceReturns very basic license details- Specified by:
getBasicLicensein interfaceLicenseService- Throws:
FrameworkException
-
getLicense
public LicenseVO getLicense() throws FrameworkException
Description copied from interface:LicenseServiceReturns the current license details- Specified by:
getLicensein interfaceLicenseService- Throws:
FrameworkException
-
offlineUpdate
public void offlineUpdate(SerializableInputStream in) throws FrameworkException
Description copied from interface:LicenseServiceUpdates the license offline- Specified by:
offlineUpdatein interfaceLicenseService- Throws:
FrameworkException
-
onlineUpdate
public void onlineUpdate() throws FrameworkExceptionDescription copied from interface:LicenseServiceUpdates the license online- Specified by:
onlineUpdatein interfaceLicenseService- Throws:
FrameworkException
-
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
-
-