Class CreateDonationVoucherActionResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.action.spi.AbstractPreActionResource
ch.tocco.nice2.rest.action.spi.AbstractActionResource
ch.tocco.nice2.optional.finance.api.action.AbstractCreateVoucherActionResource
ch.tocco.nice2.optional.donationfinance.impl.action.rest.CreateDonationVoucherActionResource
- All Implemented Interfaces:
RestResource
@Path("finance/action/CreateDonationVoucher")
public class CreateDonationVoucherActionResource
extends AbstractCreateVoucherActionResource
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractActionResource
AbstractActionResource.AbstractActionJob, AbstractActionResource.AbstractInterruptableActionJob, AbstractActionResource.ActionResultBean, AbstractActionResource.ActionResultBeanBuilder, AbstractActionResource.ActionResultFlags, AbstractActionResource.GetFormEntityTaskNested classes/interfaces inherited from class AbstractPreActionResource
AbstractPreActionResource.SelectionType -
Field Summary
Fields inherited from class AbstractCreateVoucherActionResource
voucherServiceFields inherited from class AbstractActionResource
commandExecutor, entityBeanRebinder, notificationService, taskSchedulingServiceFields inherited from class AbstractPreActionResource
businessUnitManager, context, defaultDisplayService, defaultValueService, formBeanService, initialFormEntityName, initialFormName, l10n, log, requiresFormEntity, securityManager, textResourcesFields inherited from class AbstractRestResource
uriInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasVoucherOrIncomingPayment(Entity selectedDonation) preAction(ActionResourceBean actionResourceBean) is ran before the actual logic and can be used to run checks or return a form that needs to be filled before executionMethods inherited from class AbstractCreateVoucherActionResource
actionName, copyField, copyRelation, createVoucher, doPerformAction, getJobClass, setRelation, setVoucherServiceMethods inherited from class AbstractActionResource
doValidate, getCallableType, getCurrentUsername, getFormEntity, getParentEntity, getTaskData, performAction, recoveryEnabled, setCommandExecutor, setEntityBeanRebinder, setNotificationService, setTaskContextBuilder, setTaskSchedulingService, taskCancelledMessage, taskFailedMessage, taskFailedTitle, taskFinishedMessage, taskSchedulingMessage, taskStartedMessage, validate, verifyFormEntityBeanMethods inherited from class AbstractPreActionResource
getInitialFormValueResponseBean, getSelectedEntities, getSelectedEntity, loadInitialForm, setBusinessUnitManager, setContext, setDefaultDisplayService, setDefaultValueService, setFormBeanService, setL10n, setLog, setSecurityManager, setSelectionService, setTextResourcesMethods inherited from class AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
CreateDonationVoucherActionResource
public CreateDonationVoucherActionResource()
-
-
Method Details
-
preAction
Description copied from class:AbstractPreActionResourceis ran before the actual logic and can be used to run checks or return a form that needs to be filled before execution- Overrides:
preActionin classAbstractPreActionResource
-
hasVoucherOrIncomingPayment
-