Package com.baasbox.dao

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


            }
        } 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


        ScriptCall uninstall = ScriptCall.uninstall(script);
        try {
            invoke(uninstall);
            return dao.delete(name);
        } catch (ScriptException e){
            dao.invalidate(script);
            throw  e;
        }
    }

    public static boolean forceDelete(String name) throws ScriptException {
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.