/** * Method to register a system resource (or collection) path. * * @param absolutePath the absolute path of the system resource (or collection) */ public void registerSystemResourcePath(String absolutePath) { systemResourcePaths.add(CurrentSession.getTenantId() + ":" + absolutePath); }
/** * Method to determine whether a system resource (or collection) path has been registered. * * @param absolutePath the absolute path of the system resource (or collection) * @return true if the system resource (or collection) path is registered or false if not. */ public boolean isSystemResourcePathRegistered(String absolutePath) { return systemResourcePaths.contains(CurrentSession.getTenantId() + ":" + absolutePath); }