public void startCopyTrans() { identity.checkPermission(getProjectIteration(), "copy-trans"); if (isInProgress()) { return; } else if (getProjectIteration().getDocuments().size() <= 0) { conversationScopeMessages.setMessage( FacesMessage.SEVERITY_INFO, msgs.get("jsf.iteration.CopyTrans.NoDocuments")); return; } HCopyTransOptions options = copyTransOptionsModel.getInstance(); copyTransManager.startCopyTrans(getProjectIteration(), options); conversationScopeMessages.setMessage( FacesMessage.SEVERITY_INFO, msgs.get("jsf.iteration.CopyTrans.Started")); }
public void cancel() { copyTransManager.cancelCopyTrans(getProjectIteration()); conversationScopeMessages.setMessage( FacesMessage.SEVERITY_INFO, msgs.get("jsf.iteration.CopyTrans.Cancelled")); }