public class StandaloneDeploymentPresenter extends com.gwtplatform.mvp.client.Presenter<StandaloneDeploymentPresenter.MyView,StandaloneDeploymentPresenter.MyProxy> implements DeployCommandExecutor
| Modifier and Type | Class and Description |
|---|---|
static interface |
StandaloneDeploymentPresenter.MyProxy |
static interface |
StandaloneDeploymentPresenter.MyView |
| Constructor and Description |
|---|
StandaloneDeploymentPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
StandaloneDeploymentPresenter.MyView view,
StandaloneDeploymentPresenter.MyProxy proxy,
DeploymentStore deploymentStore,
DispatchAsync dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableDisableDeployment(DeploymentRecord record)
Toggle the enabled/disabled flag on the deployment.
|
List<ServerGroupRecord> |
getPossibleGroupAssignments(DeploymentRecord record)
Get the server groups that a deployment might be assigned to.
|
void |
launchGroupSelectionWizard(DeploymentRecord record)
Display a dialog for selecting server groups that the deployment could be assigned to.
|
void |
launchNewDeploymentDialoge(DeploymentRecord record,
boolean isUpdate) |
void |
onAssignToServerGroup(DeploymentRecord record,
boolean enable,
Set<ServerGroupSelection> selectedGroups)
Add the deployment to a server group.
|
protected void |
onBind() |
void |
onCreateUnmanaged(DeploymentRecord entity) |
void |
onRemoveContent(DeploymentRecord record)
Remove a deployment from the server.
|
protected void |
onReset() |
void |
prepareFromRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest request) |
void |
refreshDeployments() |
void |
removeDeploymentFromGroup(DeploymentRecord record)
Remove a deployment form its server group.
|
protected void |
revealInParent() |
void |
updateDeployment(DeploymentRecord record)
Update the deployment.
|
bind, forceReveal, getProxy, getRevealType, getSlot, setRevealType, setSlot, unbind, useManualRevealaddHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, fireEvent, getEventBus, getView, getWidget, isVisible, onHide, onReveal, removeFromPopupSlot, removeFromSlot, setInSlot, setInSlot@Inject
public StandaloneDeploymentPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
StandaloneDeploymentPresenter.MyView view,
StandaloneDeploymentPresenter.MyProxy proxy,
DeploymentStore deploymentStore,
DispatchAsync dispatcher)
protected void onBind()
onBind in class com.gwtplatform.mvp.client.HandlerContainerImplpublic void prepareFromRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest request)
prepareFromRequest in class com.gwtplatform.mvp.client.Presenter<StandaloneDeploymentPresenter.MyView,StandaloneDeploymentPresenter.MyProxy>protected void onReset()
onReset in class com.gwtplatform.mvp.client.PresenterWidget<StandaloneDeploymentPresenter.MyView>public void refreshDeployments()
refreshDeployments in interface DeployCommandExecutorprotected void revealInParent()
revealInParent in class com.gwtplatform.mvp.client.Presenter<StandaloneDeploymentPresenter.MyView,StandaloneDeploymentPresenter.MyProxy>public void onRemoveContent(DeploymentRecord record)
DeployCommandExecutoronRemoveContent in interface DeployCommandExecutorrecord - The deployment.public void enableDisableDeployment(DeploymentRecord record)
DeployCommandExecutorenableDisableDeployment in interface DeployCommandExecutorrecord - The deployment.public void onAssignToServerGroup(DeploymentRecord record, boolean enable, Set<ServerGroupSelection> selectedGroups)
DeployCommandExecutoronAssignToServerGroup in interface DeployCommandExecutorrecord - The deployment.enable - Enable after adding to group.selectedGroups - The selected server groups.public List<ServerGroupRecord> getPossibleGroupAssignments(DeploymentRecord record)
DeployCommandExecutorgetPossibleGroupAssignments in interface DeployCommandExecutorrecord - The deployment.public void launchGroupSelectionWizard(DeploymentRecord record)
DeployCommandExecutorlaunchGroupSelectionWizard in interface DeployCommandExecutorrecord - The deployment record.public void removeDeploymentFromGroup(DeploymentRecord record)
DeployCommandExecutorremoveDeploymentFromGroup in interface DeployCommandExecutorrecord - The deployment.public void updateDeployment(DeploymentRecord record)
DeployCommandExecutorupdateDeployment in interface DeployCommandExecutorrecord - The deployment.public void launchNewDeploymentDialoge(DeploymentRecord record, boolean isUpdate)
public void onCreateUnmanaged(DeploymentRecord entity)
onCreateUnmanaged in interface DeployCommandExecutorCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.