use of org.jowidgets.plugin.api.IPluginPropertiesBuilder in project jo-client-platform by jo-source.
the class AbstractSyncCreatorServiceImpl method createUpdateInterceptorPlugins.
@SuppressWarnings({ "rawtypes", "unchecked" })
private Collection<IBeanCreateInterceptorPlugin<BEAN_TYPE>> createUpdateInterceptorPlugins(final Class<?> beanType) {
final IPluginPropertiesBuilder propBuilder = PluginToolkit.pluginPropertiesBuilder();
propBuilder.add(IBeanCreateInterceptorPlugin.BEAN_TYPE_PROPERTY_KEY, beanType);
final List result = PluginProvider.getPlugins(IBeanCreateInterceptorPlugin.ID, propBuilder.build());
return result;
}
use of org.jowidgets.plugin.api.IPluginPropertiesBuilder in project jo-client-platform by jo-source.
the class AbstractCreatorServiceBuilder method createPluginProperties.
private IPluginProperties createPluginProperties() {
final IPluginPropertiesBuilder builder = PluginProperties.builder();
builder.add(ICreatorServiceBuilderPlugin.BEAN_TYPE_PROPERTY_KEY, beanType);
builder.add(ICreatorServiceBuilderPlugin.BEAN_TYPE_ID_PROPERTY_KEY, beanTypeId);
return builder.build();
}
use of org.jowidgets.plugin.api.IPluginPropertiesBuilder in project jo-client-platform by jo-source.
the class BeanTableModelBuilderImpl method modifyFromBeanTableModelPlugins.
@SuppressWarnings({ "rawtypes", "unchecked" })
private void modifyFromBeanTableModelPlugins() {
final IPluginPropertiesBuilder propBuilder = PluginToolkit.pluginPropertiesBuilder();
propBuilder.add(IBeanTableModelBuilderPlugin.ENTITIY_ID_PROPERTY_KEY, getEntityId());
propBuilder.add(IBeanTableModelBuilderPlugin.BEAN_TYPE_PROPERTY_KEY, getBeanType());
final IPluginProperties properties = propBuilder.build();
for (final IBeanTableModelBuilderPlugin plugin : PluginProvider.getPlugins(IBeanTableModelBuilderPlugin.ID, properties)) {
plugin.modify(this);
}
}
use of org.jowidgets.plugin.api.IPluginPropertiesBuilder in project jo-client-platform by jo-source.
the class BeanTableModelBuilderImpl method modifyFromBeanModelPlugins.
@SuppressWarnings({ "rawtypes", "unchecked" })
private void modifyFromBeanModelPlugins() {
final IPluginPropertiesBuilder propBuilder = PluginToolkit.pluginPropertiesBuilder();
propBuilder.add(IBeanModelBuilderPlugin.ENTITIY_ID_PROPERTY_KEY, getEntityId());
propBuilder.add(IBeanModelBuilderPlugin.BEAN_TYPE_PROPERTY_KEY, getBeanType());
final IPluginProperties properties = propBuilder.build();
for (final IBeanModelBuilderPlugin plugin : PluginProvider.getPlugins(IBeanModelBuilderPlugin.ID, properties)) {
plugin.modify(this);
}
}
use of org.jowidgets.plugin.api.IPluginPropertiesBuilder in project jo-client-platform by jo-source.
the class BeanTabFolderModelBuilderImpl method modifyFromBeanModelPlugins.
@SuppressWarnings({ "rawtypes", "unchecked" })
private void modifyFromBeanModelPlugins() {
final IPluginPropertiesBuilder propBuilder = PluginToolkit.pluginPropertiesBuilder();
propBuilder.add(IBeanModelBuilderPlugin.ENTITIY_ID_PROPERTY_KEY, getEntityId());
propBuilder.add(IBeanModelBuilderPlugin.BEAN_TYPE_PROPERTY_KEY, getBeanType());
final IPluginProperties properties = propBuilder.build();
for (final IBeanModelBuilderPlugin plugin : PluginProvider.getPlugins(IBeanModelBuilderPlugin.ID, properties)) {
plugin.modify(this);
}
}
Aggregations