use of org.jowidgets.api.command.IActionBuilder in project jo-client-platform by jo-source.
the class PasswordChangeActionBuilderImpl method doBuild.
@Override
protected IAction doBuild() {
final PasswordChangeCommand command = new PasswordChangeCommand(getPasswordChangeService(), passwordChangeDialogSetup, passwordValidatorBuilder.build());
final IActionBuilder builder = getBuilder();
builder.setCommand(command);
return builder.build();
}
use of org.jowidgets.api.command.IActionBuilder in project jo-client-platform by jo-source.
the class EditActionBuilderImpl method doBuild.
@Override
public IAction doBuild() {
final BeanEditCommand<BEAN_TYPE> command = new BeanEditCommand<BEAN_TYPE>(model, dataModel, getBeanFormBp(), enabledCheckers);
final IActionBuilder builder = getBuilder();
builder.setCommand((ICommand) command);
return builder.build();
}
use of org.jowidgets.api.command.IActionBuilder in project jo-client-platform by jo-source.
the class ExecutorActionBuilderImpl method buildAction.
private IAction buildAction() {
final ExecutorCommand<BEAN_TYPE> command = new ExecutorCommand<BEAN_TYPE>(listModel, Filter.and(selectionFilters), beanListExecutionPolicy, beanSelectionPolicy, beanModificationStatePolicy, beanMessageStatePolicy, getEnabledCheckers(), executableCheckers, exceptionConverter, parameterProviders, executionInterceptors, defaultParameter, executor);
final IActionBuilder builder = getBuilder();
builder.setCommand((ICommand) command);
return builder.build();
}
use of org.jowidgets.api.command.IActionBuilder in project jo-client-platform by jo-source.
the class LinkCreatorActionBuilderImpl method buildAction.
private IAction buildAction() {
setDefaultTextIfNecessary();
final ICommand command = new BeanLinkCreatorCommand<SOURCE_BEAN_TYPE, LINK_BEAN_TYPE, LINKABLE_BEAN_TYPE>(linkCreatorService, source, sourceSelectionAutoRefresh, sourceMultiSelection, sourceModificationPolicy, sourceMessageStatePolicy, sourceExecutableCheckers, linkedModel, linkedCardinality, linkBeanTypeId, linkBeanType, linkBeanForm, linkDefaultFactory, linkBeanPropertyValidators, linkableBeanTypeId, linkableBeanType, linkableBeanForm, linkableTable, linkableBeanPropertyValidators, enabledCheckers, executionInterceptors, exceptionConverter);
final IActionBuilder builder = getBuilder();
builder.setCommand(command);
return builder.build();
}
Aggregations