Class UserAvailabilityCreateResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entity.spi.entities.AbstractEntityValidationResource
ch.tocco.nice2.rest.entity.spi.entities.AbstractEntitiesResource
ch.tocco.nice2.optional.address.impl.widgets.UserAvailabilityCreateResource
- All Implemented Interfaces:
RestResource
,CustomCreateEntitiesResource
@Path("/widgets/UserAvailability")
public class UserAvailabilityCreateResource
extends AbstractEntitiesResource
implements CustomCreateEntitiesResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntitiesResource
context, entityBeanRebinder, restSearchService
Fields inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntityValidationResource
validationResultConverter
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionUserAvailabilityCreateResource
(Context context, EntityBeanRebinder entityBeanRebinder, ValidationResultConverter validationResultConverter, RestSearchService restSearchService, WidgetConfigService widgetConfigService, PrincipalService principalService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
createEntity
(@Nullable EntityBean entityBean) void
setAllowedPaths
(List<String> paths) Methods inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntitiesResource
getCount, getNameFromPath, getUriBuilder, isValidate, postCount, rebind, rebind, rebind, rebind, rebind
Methods inherited from class ch.tocco.nice2.rest.entity.spi.entities.AbstractEntityValidationResource
validateEntities, validateEntity
Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.rest.entity.spi.entities.CustomCreateEntitiesResource
addEntity
-
Constructor Details
-
UserAvailabilityCreateResource
public UserAvailabilityCreateResource(Context context, EntityBeanRebinder entityBeanRebinder, ValidationResultConverter validationResultConverter, RestSearchService restSearchService, WidgetConfigService widgetConfigService, PrincipalService principalService, SecurityManager securityManager)
-
-
Method Details
-
createEntity
- Specified by:
createEntity
in interfaceCustomCreateEntitiesResource
-
setAllowedPaths
-