public class ContributorsListItemPresenter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContributorsListItemPresenter.View |
| Constructor and Description |
|---|
ContributorsListItemPresenter(ContributorsListItemPresenter.View view,
LibraryPlaces libraryPlaces,
javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent,
org.uberfire.client.promise.Promises promises) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
elemental2.promise.Promise<Boolean> |
canEditContributors() |
elemental2.promise.Promise<Boolean> |
canRemoveContributor() |
void |
edit() |
org.guvnor.structure.contributors.Contributor |
getContributor() |
List<String> |
getUserNames() |
ContributorsListItemPresenter.View |
getView() |
void |
hideActions() |
void |
remove() |
void |
save() |
void |
setup(org.guvnor.structure.contributors.Contributor contributor,
ContributorsListPresenter parentPresenter,
ContributorsListService contributorsListService) |
void |
setupNew(ContributorsListPresenter parentPresenter,
ContributorsListService contributorsListService) |
void |
showActions() |
@Inject public ContributorsListItemPresenter(ContributorsListItemPresenter.View view, LibraryPlaces libraryPlaces, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, org.uberfire.client.promise.Promises promises)
public void setupNew(ContributorsListPresenter parentPresenter, ContributorsListService contributorsListService)
public void setup(org.guvnor.structure.contributors.Contributor contributor,
ContributorsListPresenter parentPresenter,
ContributorsListService contributorsListService)
public void edit()
public void save()
public void remove()
public void cancel()
public void showActions()
public void hideActions()
public org.guvnor.structure.contributors.Contributor getContributor()
public elemental2.promise.Promise<Boolean> canRemoveContributor()
public elemental2.promise.Promise<Boolean> canEditContributors()
public ContributorsListItemPresenter.View getView()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.