Interface EntityFlagService
- All Known Implementing Classes:
EntityFlagServiceImpl
public interface EntityFlagService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasProjectFlag
(TenantActor tenantActor, String projectKey, String flagName) Checks if a project has entity property (flagName), if it does then returns trueboolean
hasTenantTag
(TenantActor tenantActor, String flagName) Checks if tenant has property (flagName), if it does then returns truevoid
setProjectFlag
(TenantActor tenantActor, String projectKey, String flagName) Adds an entity property (flagName) and sets it to true.void
setTenantFlag
(TenantActor tenantActor, String flagName) Adds a tenant property (flagName) and sets it to true.
-
Method Details
-
setTenantFlag
Adds a tenant property (flagName) and sets it to true. -
hasTenantTag
Checks if tenant has property (flagName), if it does then returns true -
setProjectFlag
Adds an entity property (flagName) and sets it to true. -
hasProjectFlag
Checks if a project has entity property (flagName), if it does then returns true
-