Class FixedEntityAllowableActionsBuilder
java.lang.Object
com.foreach.across.modules.entity.actions.FixedEntityAllowableActionsBuilder
- All Implemented Interfaces:
EntityConfigurationAllowableActionsBuilder
public class FixedEntityAllowableActionsBuilder
extends Object
implements EntityConfigurationAllowableActionsBuilder
Implementation of
EntityConfigurationAllowableActionsBuilder that
will always return the same set of AllowableActions.- Author:
- Arne Vandamme
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.foreach.across.modules.spring.security.actions.AllowableActionsDummyAllowableActionsthat will reply positively for every action but cannot be iterated. -
Constructor Summary
ConstructorsConstructorDescriptionFixedEntityAllowableActionsBuilder(com.foreach.across.modules.spring.security.actions.AllowableActions allowableActions) -
Method Summary
Modifier and TypeMethodDescriptioncom.foreach.across.modules.spring.security.actions.AllowableActionsgetAllowableActions(EntityConfiguration<?> entityConfiguration) <V> com.foreach.across.modules.spring.security.actions.AllowableActionsgetAllowableActions(EntityConfiguration<V> entityConfiguration, V entity)
-
Field Details
-
DEFAULT_ALLOWABLE_ACTIONS
public static final com.foreach.across.modules.spring.security.actions.AllowableActions DEFAULT_ALLOWABLE_ACTIONSDummyAllowableActionsthat will reply positively for every action but cannot be iterated.
-
-
Constructor Details
-
FixedEntityAllowableActionsBuilder
public FixedEntityAllowableActionsBuilder(com.foreach.across.modules.spring.security.actions.AllowableActions allowableActions)
-
-
Method Details
-
getAllowableActions
public com.foreach.across.modules.spring.security.actions.AllowableActions getAllowableActions(EntityConfiguration<?> entityConfiguration) - Specified by:
getAllowableActionsin interfaceEntityConfigurationAllowableActionsBuilder
-
getAllowableActions
public <V> com.foreach.across.modules.spring.security.actions.AllowableActions getAllowableActions(EntityConfiguration<V> entityConfiguration, V entity) - Specified by:
getAllowableActionsin interfaceEntityConfigurationAllowableActionsBuilder
-