Class AvailabilityResolverFactory
- java.lang.Object
-
- de.xima.fc.security.endpoint.state.AvailabilityResolverFactory
-
public class AvailabilityResolverFactory extends Object
Factory for creating state resolvers of views.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
-
-
-
Method Detail
-
and
public static IAvailabiltyResolver and(IAvailabiltyResolver... resolvers)
-
or
public static IAvailabiltyResolver or(IAvailabiltyResolver... resolvers)
-
clientOrSystem
public static IAvailabiltyResolver clientOrSystem(IAvailabiltyResolver clientResolver, IAvailabiltyResolver systemResolver)
Creates a new authorizer that delegates to either the given client or system resolver, depending on whether aclient
is present.- Parameters:
clientResolver
- Resolver to use for a client scope.systemResolver
- Resolver to use for the system scope.- Returns:
- A resolver that checks whether a client is present and delegates to one of the given resolvers.
-
defaultClientViewResolver
public static IAvailabiltyResolver defaultClientViewResolver()
-
defaultSystemViewResolver
public static IAvailabiltyResolver defaultSystemViewResolver()
-
validSystemLic
public static IAvailabiltyResolver validSystemLic()
-
validClientLic
public static IAvailabiltyResolver validClientLic()
-
systemUpToDate
public static IAvailabiltyResolver systemUpToDate()
-
managementModuleRunning
public static IAvailabiltyResolver managementModuleRunning()
-
masterServerOnly
public static IAvailabiltyResolver masterServerOnly()
-
clientExisting
public static IAvailabiltyResolver clientExisting()
-
projectExisting
public static IAvailabiltyResolver projectExisting()
-
formRecordExisting
public static IAvailabiltyResolver formRecordExisting()
-
webAppContextFeature
public static IAvailabiltyResolver webAppContextFeature(EFcWebAppFeature feature)
-
webAppContextFeature
public static IAvailabiltyResolver webAppContextFeature(String feature)
-
serverConfigFeature
public static IAvailabiltyResolver serverConfigFeature(EServerConfigFeature feature)
-
serverConfigFeature
public static IAvailabiltyResolver serverConfigFeature(String feature)
-
-