Class ScopeServiceImpl
java.lang.Object
org.apache.unomi.services.impl.scope.ScopeServiceImpl
- All Implemented Interfaces:
ScopeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDelete a scopeGet a scope by its idRetrieves all known scopes.voidvoidvoidSave a scopevoidsetPersistenceService(PersistenceService persistenceService) voidsetSchedulerService(SchedulerService schedulerService) voidsetScopesRefreshInterval(Integer scopesRefreshInterval)
-
Constructor Details
-
ScopeServiceImpl
public ScopeServiceImpl()
-
-
Method Details
-
setPersistenceService
-
setSchedulerService
-
setScopesRefreshInterval
-
postConstruct
public void postConstruct() -
preDestroy
public void preDestroy() -
getScopes
Description copied from interface:ScopeServiceRetrieves all known scopes.- Specified by:
getScopesin interfaceScopeService- Returns:
- the List of known scopes
-
save
Description copied from interface:ScopeServiceSave a scope- Specified by:
savein interfaceScopeService- Parameters:
scope- to save
-
delete
Description copied from interface:ScopeServiceDelete a scope- Specified by:
deletein interfaceScopeService- Parameters:
id- of the scope- Returns:
- true if scope is deleted
-
getScope
Description copied from interface:ScopeServiceGet a scope by its id- Specified by:
getScopein interfaceScopeService- Returns:
- Scope matching the id
-