Package org.cyclos.security.system
Class LicenseServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.system.LicenseServiceSecurity
-
- All Implemented Interfaces:
Service,LicenseService
@Security public class LicenseServiceSecurity extends BaseServiceSecurity implements LicenseService
Security layer 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 LicenseServiceSecurity()
-
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 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
-
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
-
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
-
-