Package br.com.davinti.vitruvio.spi.impl
Class LicenceServiceImpl
Object
LicenceServiceImpl
- All Implemented Interfaces:
LicenceService
@Service("vLicenceService")
public class LicenceServiceImpl
extends Object
implements LicenceService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintdaysLeft()booleanvoidsetConfigService(ConfigService configService) voidsetExpressionService(ExpressionService expressionService) voidsetPasswordService(PasswordService passwordService)
-
Constructor Details
-
LicenceServiceImpl
public LicenceServiceImpl()
-
-
Method Details
-
setConfigService
-
setPasswordService
@Autowired public void setPasswordService(PasswordService passwordService) -
setExpressionService
-
isSystemAvaliable
public boolean isSystemAvaliable()- Specified by:
isSystemAvaliablein interfaceLicenceService
-
getLicenceExpiredMessage
- Specified by:
getLicenceExpiredMessagein interfaceLicenceService
-
daysBeforeShowLicenceExpiration
public int daysBeforeShowLicenceExpiration()- Specified by:
daysBeforeShowLicenceExpirationin interfaceLicenceService
-
getLicenWillExpireMessage
- Specified by:
getLicenWillExpireMessagein interfaceLicenceService
-
daysLeft
public int daysLeft()- Specified by:
daysLeftin interfaceLicenceService
-