@Name(value="operationActionBean") @Scope(value=EVENT) public class OperationActionBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected NavigationContext |
navigationContext |
protected ResourcesAccessor |
resourcesAccessor |
Constructor and Description |
---|
OperationActionBean() |
Modifier and Type | Method and Description |
---|---|
String |
doOperation(String chainId) |
protected String |
runOperation(Object chain) |
protected void |
showError(OperationContext ctx,
String chain,
Throwable cause) |
protected void |
showSuccess(OperationContext ctx,
String chain) |
@In(create=true, required=false) protected transient NavigationContext navigationContext
@In(create=true, required=false) protected CoreSession documentManager
@In(create=true, required=false) protected org.jboss.seam.faces.FacesMessages facesMessages
@In(create=true) protected ResourcesAccessor resourcesAccessor
public OperationActionBean()
public String doOperation(String chainId) throws OperationException
OperationException
protected void showError(OperationContext ctx, String chain, Throwable cause)
protected void showSuccess(OperationContext ctx, String chain)
protected String runOperation(Object chain) throws OperationException
OperationException
Copyright © 2016 Nuxeo SA. All rights reserved.