Class EventLogicCopyActionResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.optional.event.impl.actions.logiccopy.EventLogicCopyActionResource
- All Implemented Interfaces:
RestResource
@Path("/event/actions/eventLogicCopy")
public class EventLogicCopyActionResource
extends AbstractRestResource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
static final record
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorsConstructorDescriptionEventLogicCopyActionResource
(Context context, SelectionService selectionService, EventRelationshipTraverser eventRelationshipTraverser, TaskSchedulingService taskSchedulingService, BusinessUnitManager businessUnitManager, DefaultDisplayService defaultDisplayService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionvoid
loadData
(EntitySelectionBean selection) void
setExtensions
(List<EventCopyExtensionFactory> extensions) void
setRelations
(List<EventLogicCopyRelationConfig> relations) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
EventLogicCopyActionResource
public EventLogicCopyActionResource(Context context, SelectionService selectionService, EventRelationshipTraverser eventRelationshipTraverser, TaskSchedulingService taskSchedulingService, BusinessUnitManager businessUnitManager, DefaultDisplayService defaultDisplayService, TextResources textResources)
-
-
Method Details
-
getConfigurationPaths
@Path("/configurationPaths") @GET @Produces("application/json") public EventLogicCopyActionResource.ConfigurationPaths getConfigurationPaths() -
loadData
@Path("/loadData") @POST @Produces("application/json") @Consumes("application/json") public EventLogicCopyActionResource.EventLogicCopyData loadData(EntitySelectionBean selection) -
copy
@Path("/copy") @POST @Produces("application/json") @Consumes("application/json") public void copy(EventLogicCopyActionResource.EventLogicCopyData data) -
setRelations
-
setExtensions
-