@Test public void canMakeChangesTest() { presenter.canMakeChanges(); verify(organizationalUnitController).canUpdateOrgUnit(organizationalUnit); }
@Override public boolean canMakeChanges() { return organizationalUnitController.canUpdateOrgUnit(getOrganizationalUnit()); }
SpaceArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public boolean canMakeChanges() { return organizationalUnitController.canUpdateOrgUnit(getOrganizationalUnit()); } }
SpaceArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public boolean canMakeChanges() { return organizationalUnitController.canUpdateOrgUnit(getOrganizationalUnit()); } @Inject  SpaceArchetypeTablePresenter(final View view,
                                        final ArchetypeListPresenter archetypeListPresenter,
                                        final BusyIndicatorView busyIndicatorView,
                                        final TranslationService ts,
                                        final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                        final ArchetypePreferences archetypePreferences,
                                        final Caller<ArchetypeService> archetypeService,
                                        final PreferenceScopeFactory preferenceScopeFactory,
                                        final Promises promises,
                                        final SpaceScopedResolutionStrategySupplier spaceScopedResolutionStrategySupplier,
                                        final WorkspaceProjectContext projectContext,
                                        final OrganizationalUnitController organizationalUnitController); }
SpaceArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public boolean canMakeChanges() { return organizationalUnitController.canUpdateOrgUnit(getOrganizationalUnit()); } @Inject  SpaceArchetypeTablePresenter(final View view,
                                        final ArchetypeListPresenter archetypeListPresenter,
                                        final BusyIndicatorView busyIndicatorView,
                                        final TranslationService ts,
                                        final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                        final ArchetypePreferences archetypePreferences,
                                        final Caller<ArchetypeService> archetypeService,
                                        final PreferenceScopeFactory preferenceScopeFactory,
                                        final Promises promises,
                                        final SpaceScopedResolutionStrategySupplier spaceScopedResolutionStrategySupplier,
                                        final WorkspaceProjectContext projectContext,
                                        final OrganizationalUnitController organizationalUnitController); @Override Promise<Void> loadPreferences(final PaginatedArchetypeList paginatedList); @Override Promise<Void> makeDefaultValue(final String alias,
                                          final boolean updateList); @Override ArchetypeTableConfiguration initConfiguration(); @Override boolean canMakeChanges(); @Override Promise<Void> savePreferences(final boolean updateList); }
SpaceArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public boolean canMakeChanges() { return organizationalUnitController.canUpdateOrgUnit(getOrganizationalUnit()); } @Inject  SpaceArchetypeTablePresenter(final View view,
                                        final ArchetypeListPresenter archetypeListPresenter,
                                        final BusyIndicatorView busyIndicatorView,
                                        final TranslationService ts,
                                        final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                        final ArchetypePreferences archetypePreferences,
                                        final Caller<ArchetypeService> archetypeService,
                                        final PreferenceScopeFactory preferenceScopeFactory,
                                        final Promises promises,
                                        final SpaceScopedResolutionStrategySupplier spaceScopedResolutionStrategySupplier,
                                        final WorkspaceProjectContext projectContext,
                                        final OrganizationalUnitController organizationalUnitController); @Override Promise<Void> loadPreferences(final PaginatedArchetypeList paginatedList); @Override Promise<Void> makeDefaultValue(final String alias,
                                          final boolean updateList); @Override ArchetypeTableConfiguration initConfiguration(); @Override boolean canMakeChanges(); @Override Promise<Void> savePreferences(final boolean updateList);  }