Class ContributorsListItemPresenter
- java.lang.Object
-
- org.kie.workbench.common.screens.library.client.screens.organizationalunit.contributors.tab.ContributorsListItemPresenter
-
public class ContributorsListItemPresenter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContributorsListItemPresenter.View
-
Constructor Summary
Constructors Constructor Description ContributorsListItemPresenter(ContributorsListItemPresenter.View view, LibraryPlaces libraryPlaces, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, org.uberfire.client.promise.Promises promises)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()elemental2.promise.Promise<Boolean>canEditContributors()elemental2.promise.Promise<Boolean>canRemoveContributor()voidedit()org.uberfire.security.ContributorgetContributor()List<String>getUserNames()ContributorsListItemPresenter.ViewgetView()voidhideActions()voidremove()voidsave()voidsetup(org.uberfire.security.Contributor contributor, ContributorsListPresenter parentPresenter, ContributorsListService contributorsListService)voidsetupNew(ContributorsListPresenter parentPresenter, ContributorsListService contributorsListService)voidshowActions()
-
-
-
Constructor Detail
-
ContributorsListItemPresenter
@Inject public ContributorsListItemPresenter(ContributorsListItemPresenter.View view, LibraryPlaces libraryPlaces, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, org.uberfire.client.promise.Promises promises)
-
-
Method Detail
-
setupNew
public void setupNew(ContributorsListPresenter parentPresenter, ContributorsListService contributorsListService)
-
setup
public void setup(org.uberfire.security.Contributor contributor, ContributorsListPresenter parentPresenter, ContributorsListService contributorsListService)
-
edit
public void edit()
-
save
public void save()
-
remove
public void remove()
-
cancel
public void cancel()
-
showActions
public void showActions()
-
hideActions
public void hideActions()
-
getContributor
public org.uberfire.security.Contributor getContributor()
-
canRemoveContributor
public elemental2.promise.Promise<Boolean> canRemoveContributor()
-
canEditContributors
public elemental2.promise.Promise<Boolean> canEditContributors()
-
getView
public ContributorsListItemPresenter.View getView()
-
-