static Folder getPlatformLocalClassLoaderFolder(String artifactType, long artifactId) throws IOException { final Folder localFolder = getPlatformLocalClassLoaderFolder(); final Folder artifactTypeFolder = getFolder(localFolder, artifactType); artifactTypeFolder.createIfNotExists(); final Folder artifactIdFolder = getFolder(artifactTypeFolder, Long.toString(artifactId)); artifactIdFolder.createIfNotExists(); return artifactIdFolder; }
static Folder getPlatformLocalClassLoaderFolder(String artifactType, long artifactId) throws IOException { final Folder localFolder = getPlatformLocalClassLoaderFolder(); final Folder artifactTypeFolder = getFolder(localFolder, artifactType); artifactTypeFolder.createIfNotExists(); final Folder artifactIdFolder = getFolder(artifactTypeFolder, Long.toString(artifactId)); artifactIdFolder.createIfNotExists(); return artifactIdFolder; }
static Folder getPlatformGlobalClassLoaderFolder() throws IOException { final Folder globalFolder = getFolder(getPlatformClassLoaderFolder(), "global"); globalFolder.createIfNotExists(); return globalFolder; }
private static Folder getPlatformLocalClassLoaderFolder() throws IOException { final Folder localFolder = getFolder(getPlatformClassLoaderFolder(), "local"); localFolder.createIfNotExists(); return localFolder; }
static Folder getPlatformGlobalClassLoaderFolder() throws IOException { final Folder globalFolder = getFolder(getPlatformClassLoaderFolder(), "global"); globalFolder.createIfNotExists(); return globalFolder; }
private static Folder getPlatformLocalClassLoaderFolder() throws IOException { final Folder localFolder = getFolder(getPlatformClassLoaderFolder(), "local"); localFolder.createIfNotExists(); return localFolder; }
private static Folder getPlatformClassLoaderFolder() throws IOException { return getFolder(getPlatformTempFolder(), "classloaders").createIfNotExists(); }
static Folder getPlatformTempFolder() throws IOException { return getFolder(getTempFolder(), "platform").createIfNotExists(); }
private static Folder getPlatformClassLoaderFolder() throws IOException { return getFolder(getPlatformTempFolder(), "classloaders").createIfNotExists(); }
static Folder getPlatformTempFolder() throws IOException { return getFolder(getTempFolder(), "platform").createIfNotExists(); }
public File getSecurityScriptsFolder(long tenantId) throws BonitaHomeNotSetException, IOException { final Folder localFolder = getFolder(getPlatformTempFolder(), "security-scripts").createIfNotExists(); final Folder tenantSecurityScriptsFolder = getFolder(localFolder, String.valueOf(tenantId)).createIfNotExists(); List<BonitaConfiguration> tenantSecurityScripts = getConfigurationService().getTenantSecurityScripts(tenantId); writeBonitaConfiguration(tenantSecurityScriptsFolder.getFile(), tenantSecurityScripts); return tenantSecurityScriptsFolder.getFile(); }
public File getSecurityScriptsFolder(long tenantId) throws BonitaHomeNotSetException, IOException { final Folder localFolder = getFolder(getPlatformTempFolder(), "security-scripts").createIfNotExists(); final Folder tenantSecurityScriptsFolder = getFolder(localFolder, String.valueOf(tenantId)).createIfNotExists(); List<BonitaConfiguration> tenantSecurityScripts = getConfigurationService().getTenantSecurityScripts(tenantId); writeBonitaConfiguration(tenantSecurityScriptsFolder.getFile(), tenantSecurityScripts); return tenantSecurityScriptsFolder.getFile(); }