As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
QName userVeto = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "UserVeto"); ((TransactionServiceImpl)getTransactionService()).setAllowWrite(true, userVeto); boolean testW = ((TransactionServiceImpl)getTransactionService()).isReadOnly(); boolean testW2 = ((TransactionServiceImpl)getTransactionService()).getAllowWrite(); ((PersonServiceImpl)getPersonService()).setTransactionService((TransactionServiceImpl)getTransactionService()); getPersonService().createPerson(properties);
getTransactionService().getRetryingTransactionHelper().setForceWritable(true); String normalized = getTransactionService().getRetryingTransactionHelper().doInTransaction(
If you need to be reactive based on user login, then you need to apply a transaction watch and fire a post-transaction process to do the read-write work.