Package systems.dennis.auth.controller
Class SubscriptionDataController
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.auth.controller.SubscriptionDataController
- All Implemented Interfaces:
systems.dennis.shared.controller.forms.Serviceable<Subscription,,Long> systems.dennis.shared.controller.forms.ValidateForm<SubscriptionForm>,systems.dennis.shared.controller.items.AbstractAddItemController<Subscription,,SubscriptionForm, Long> systems.dennis.shared.controller.items.AbstractDeleteItemController<Subscription,,Long> systems.dennis.shared.controller.items.AbstractEditFieldItemController<Subscription,,SubscriptionForm, Long> systems.dennis.shared.controller.items.AbstractEditItemController<Subscription,,SubscriptionForm, Long> systems.dennis.shared.controller.items.AbstractListItemController<Subscription,,SubscriptionForm, Long> systems.dennis.shared.controller.items.Contextable,systems.dennis.shared.controller.items.magic.MagicForm<SubscriptionForm>,systems.dennis.shared.controller.items.magic.MagicList<Subscription,,Long> systems.dennis.shared.controller.items.Transformable<Subscription,,SubscriptionForm> systems.dennis.shared.postgres.controller.AddItemController<Subscription,,SubscriptionForm> systems.dennis.shared.postgres.controller.DeleteItemController<Subscription>,systems.dennis.shared.postgres.controller.EditItemController<Subscription,,SubscriptionForm> systems.dennis.shared.postgres.controller.ListItemController<Subscription,SubscriptionForm>
@RestController
@RequestMapping("/api/v2/auth/subscriptions")
@CrossOrigin
public class SubscriptionDataController
extends systems.dennis.shared.utils.ApplicationContext
implements systems.dennis.shared.postgres.controller.DeleteItemController<Subscription>, systems.dennis.shared.postgres.controller.AddItemController<Subscription,SubscriptionForm>, systems.dennis.shared.postgres.controller.EditItemController<Subscription,SubscriptionForm>, systems.dennis.shared.postgres.controller.ListItemController<Subscription,SubscriptionForm>
-
Field Summary
Fields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAPFields inherited from interface systems.dennis.shared.controller.items.magic.MagicForm
pojoFormCacheFields inherited from interface systems.dennis.shared.controller.items.magic.MagicList
pojoListCacheFields inherited from interface systems.dennis.shared.controller.forms.Serviceable
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.http.ResponseEntity<SubscriptionForm>edit(SubscriptionForm form) Methods inherited from class systems.dennis.shared.utils.ApplicationContext
canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface systems.dennis.shared.controller.items.AbstractAddItemController
afterSaveFormMethods inherited from interface systems.dennis.shared.controller.items.AbstractEditFieldItemController
editFieldMethods inherited from interface systems.dennis.shared.postgres.controller.AddItemController
addMethods inherited from interface systems.dennis.shared.controller.items.Contextable
getContextMethods inherited from interface systems.dennis.shared.postgres.controller.DeleteItemController
deleteItemsMethods inherited from interface systems.dennis.shared.postgres.controller.ListItemController
fetchData, fetchForm, getMethods inherited from interface systems.dennis.shared.controller.items.magic.MagicForm
copyTo, fetchForm, getDescription, getPojoForm, setPojoFormValueMethods inherited from interface systems.dennis.shared.controller.items.magic.MagicList
copyTo, download, fetchFile, getDefaultField, getDescription, getPojoList, objectDetailsMethods inherited from interface systems.dennis.shared.controller.forms.Serviceable
getContext, getForm, getLog, getModel, getService, getServiceClassMethods inherited from interface systems.dennis.shared.controller.items.Transformable
afterTransformToDBType, afterTransformToForm, fromForm, getClassDescription, getContext, toForm, toFormPage, transformValueToFormType, transformValueToModelType, transformValueToTargetTypeMethods inherited from interface systems.dennis.shared.controller.forms.ValidateForm
checkValidation, getClassOfForm, getContext, validate, validate, validate, validateField
-
Constructor Details
-
Method Details
-
edit
public org.springframework.http.ResponseEntity<SubscriptionForm> edit(SubscriptionForm form) throws systems.dennis.shared.exceptions.ItemForAddContainsIdException, systems.dennis.shared.exceptions.ItemDoesNotContainsIdValueException, systems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptException, systems.dennis.shared.exceptions.ItemNotFoundException - Specified by:
editin interfacesystems.dennis.shared.controller.items.AbstractEditItemController<Subscription,SubscriptionForm, Long> - Specified by:
editin interfacesystems.dennis.shared.postgres.controller.EditItemController<Subscription,SubscriptionForm> - Throws:
systems.dennis.shared.exceptions.ItemForAddContainsIdExceptionsystems.dennis.shared.exceptions.ItemDoesNotContainsIdValueExceptionsystems.dennis.shared.exceptions.UnmodifiedItemSaveAttemptExceptionsystems.dennis.shared.exceptions.ItemNotFoundException
-
delete
public void delete(Long id) throws systems.dennis.shared.exceptions.ItemNotUserException, systems.dennis.shared.exceptions.ItemNotFoundException - Specified by:
deletein interfacesystems.dennis.shared.controller.items.AbstractDeleteItemController<Subscription,Long> - Specified by:
deletein interfacesystems.dennis.shared.postgres.controller.DeleteItemController<Subscription>- Throws:
systems.dennis.shared.exceptions.ItemNotUserExceptionsystems.dennis.shared.exceptions.ItemNotFoundException
-