All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.unterrainer.commons.httpserver.AddonBuilder Maven / Gradle / Ivy

There is a newer version: 0.3.14
Show newest version
package info.unterrainer.commons.httpserver;

import info.unterrainer.commons.httpserver.extensions.delegates.PostDeleteAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostDeleteSync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostGetListAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostGetListSync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostGetSingleAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostGetSingleSync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostInsertAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostInsertSync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostModifyAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PostModifySync;
import info.unterrainer.commons.httpserver.extensions.delegates.PreDeleteAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PreDeleteSync;
import info.unterrainer.commons.httpserver.extensions.delegates.PreInsertAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PreInsertSync;
import info.unterrainer.commons.httpserver.extensions.delegates.PreModifyAsync;
import info.unterrainer.commons.httpserver.extensions.delegates.PreModifySync;
import info.unterrainer.commons.rdbutils.entities.BasicJpa;
import info.unterrainer.commons.serialization.jsons.BasicJson;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public class AddonBuilder

{ private final GenericHandlerGroupBuilder builder; public GenericHandlerGroupBuilder postDeleteAsync(final PostDeleteAsync

delegate) { builder.extensions.postDeleteAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder postDeleteSync(final PostDeleteSync delegate) { builder.extensions.postDeleteSync().add(delegate); return builder; } public GenericHandlerGroupBuilder postGetListAsync(final PostGetListAsync delegate) { builder.extensions.postGetListAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder postGetListSync(final PostGetListSync delegate) { builder.extensions.postGetListSync().add(delegate); return builder; } public GenericHandlerGroupBuilder postGetSingleAsync(final PostGetSingleAsync delegate) { builder.extensions.postGetSingleAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder postGetSingleSync(final PostGetSingleSync delegate) { builder.extensions.postGetSingleSync().add(delegate); return builder; } public GenericHandlerGroupBuilder postInsertAsync(final PostInsertAsync delegate) { builder.extensions.postInsertAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder postInsertSync(final PostInsertSync delegate) { builder.extensions.postInsertSync().add(delegate); return builder; } public GenericHandlerGroupBuilder postModifyAsync(final PostModifyAsync delegate) { builder.extensions.postModifyAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder postModifySync(final PostModifySync delegate) { builder.extensions.postModifySync().add(delegate); return builder; } public GenericHandlerGroupBuilder preDeleteAsync(final PreDeleteAsync

delegate) { builder.extensions.preDeleteAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder preDeleteSync(final PreDeleteSync delegate) { builder.extensions.preDeleteSync().add(delegate); return builder; } public GenericHandlerGroupBuilder preInsertAsync(final PreInsertAsync delegate) { builder.extensions.preInsertAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder preInsertSync(final PreInsertSync delegate) { builder.extensions.preInsertSync().add(delegate); return builder; } public GenericHandlerGroupBuilder preModifyAsync(final PreModifyAsync delegate) { builder.extensions.preModifyAsync().add(delegate); return builder; } public GenericHandlerGroupBuilder preModifySync(final PreModifySync delegate) { builder.extensions.preModifySync().add(delegate); return builder; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy