- getAttachmentsRelativePath(File) - Method in AppResourceLoader
-
returns the path relative to the the attachments directory
- getClassLoader() - Method in AppResourceLoader
-
- getClassLoader() - Method in ConfigKeyAppResourceLoader
-
- getClassLoader() - Method in ViewResourceLocator
-
- getControllerName() - Method in GrailsWebEnvironment
-
- getCurrentTenant() - Method in AppResourceLoader
-
- getFile(String) - Method in AppResourceLoader
-
Shorthand way to get the attachment file with nothing but the location column contents.
- getLocation(String, Map, boolean) - Method in AppResourceLoader
-
Get a configured directory location from a nine.resources key.
- getMonthDirectory(String, boolean) - Method in AppResourceLoader
-
Gets a month directory for a configuration key.
- getPathWithinContext() - Method in ViewResourceLocator.FileSystemContextResource
-
- getPathWithinContext() - Method in ViewResourceLocator.ViewContextResource
-
- getPluginViewPathInfo(String) - Method in ViewResourceLocator
-
- getProperFile(String, String, boolean) - Method in AppResourceLoader
-
getProperFile builds a File from a name and ensures it exists, or throws an error.
- getRelativePath(File, File) - Method in AppResourceLoader
-
gets the relative path of the child with respect to the parent
The child must be inside of the parent or the resulting string is null.
- getRelativeTempPath(File) - Method in AppResourceLoader
-
returns the path relative to the the temporary resource directory
- getResource(String) - Method in AppResourceLoader
-
if location starts with a / then it realtive to the war (web-app).
- getResource(String) - Method in ConfigKeyAppResourceLoader
-
- getResource(String) - Method in SandboxResourceLoader
-
- getResource(String) - Method in ViewResourceLocator
-
- getResourceByPath(String) - Method in SandboxResourceLoader
-
- getResourceConfig(String) - Method in AppResourceLoader
-
- getResourceDirFromKey(String) - Method in AppResourceLoader
-
get resource dir relative to the config key
if key is null then it return the root location
- getResourceRelative(String, String) - Method in AppResourceLoader
-
gets a resource with a locationBase and a relative location
- if relative location starts with "/" just pass it to getResource() and ignore locationBase (will look in war (web-app in dev))
- if locationBase is null then we will use a default getLocation('attachments.location')
- if relative location starts with URL like classpath:,file:, http: it be passed directly to resourceLoader
- if locationBase starts with config: then it will use whatever key comes after
to find the location (ex- config:reports.location)
- getRootLocation() - Method in AppResourceLoader
-
Gets the rootLocation which is the base for all the app-related directories.
- getScripts(Map) - Method in AppResourceLoader
-
Get a list of script locations as absolute files.
- getSubDirectory(String, String, boolean, Map) - Method in AppResourceLoader
-
- getTempDir() - Method in AppResourceLoader
-
- getTenantUniqueKey() - Method in AppResourceLoader
-
- GrailsWebEnvironment - Class in grails.plugin.viewtools
based on the RenderEnvironment in grails-rendering and private class in grails-mail
All this does is bind a mock request and mock response is one doesn't exist
deals with setting the WrappedResponseHolder.wrappedResponse as well
- GrailsWebEnvironment(ApplicationContext, Writer, Locale) - Constructor in GrailsWebEnvironment
-