Examples of revertToLastVersion()


Examples of com.baasbox.dao.ScriptsDao.revertToLastVersion()

        try {
            ScriptResult result = invoke(install);
            status = result.toScriptStatus();
            if (!status.ok){
                updateCacheVersion();
                dao.revertToLastVersion(updated);

            }
        } catch (ScriptEvalException e){
            if (Logger.isDebugEnabled()) Logger.debug("Script installation failed: deleting");
            updateCacheVersion();
View Full Code Here

Examples of com.baasbox.dao.ScriptsDao.revertToLastVersion()

            }
        } catch (ScriptEvalException e){
            if (Logger.isDebugEnabled()) Logger.debug("Script installation failed: deleting");
            updateCacheVersion();
            dao.invalidate(updated);
            dao.revertToLastVersion(updated);
            throw e;
        }
        return status;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.