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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IAvailabiltyResolver
and(IAvailabiltyResolver... resolvers)
static IAvailabiltyResolver
clientExisting()
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.static IAvailabiltyResolver
defaultClientViewResolver()
static IAvailabiltyResolver
defaultSystemViewResolver()
static IAvailabiltyResolver
formRecordExisting()
static IAvailabiltyResolver
managementModuleRunning()
static IAvailabiltyResolver
masterServerOnly()
static IAvailabiltyResolver
or(IAvailabiltyResolver... resolvers)
static IAvailabiltyResolver
projectExisting()
static IAvailabiltyResolver
systemUpToDate()
static IAvailabiltyResolver
validClientLic()
static IAvailabiltyResolver
validSystemLic()
-
-
-
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()
-
-