- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for systemHelper (0.12 sec)
-
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
if (permissions == null) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final Set<String> permissionSet = new HashSet<>(); permissionSet.add(systemHelper.getSearchRoleByUser(name)); stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s))));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
return redirect(getClass()); // no-op } public static List<Map<String, Object>> getLogFileItems() { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final List<Map<String, Object>> logFileItems = new ArrayList<>(); final String logFilePath = systemHelper.getLogFilePath(); if (StringUtil.isNotBlank(logFilePath)) { final Path logDirPath = Paths.get(logFilePath);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java
} }; ComponentUtil.setFessConfig(fessConfig); SystemHelper systemHelper = new SystemHelper() { @Override public String getProductVersion() { return "98.76"; } }; ComponentUtil.register(systemHelper, "systemHelper"); WebAuthenticationService webAuthenticationService = new WebAuthenticationService() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu May 09 09:48:04 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final StringBuilder resultBuf = new StringBuilder(); final PingResponse ping = searchEngineClient.ping(); final int status = ping.getStatus(); if (systemHelper.isChangedClusterState(status)) { if (fessConfig.hasNotification()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
permissionSet.add(systemHelper.getSearchRoleByUser(values[0])); } } stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s)))); stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s))));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
logger.warn("{} is empty.", Constants.SCHEDULED_JOB); return; } runtime.stopIfNeeds(); final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final JobManager jobManager = ComponentUtil.getJobManager(); final ScheduledJob scheduledJob = (ScheduledJob) runtime.getParameterMap().get(Constants.SCHEDULED_JOB);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FailureUrlService.java
} private String getStackTrace(final Throwable t) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) { t.printStackTrace(pw); pw.flush(); return systemHelper.abbreviateLongText(sw.toString()); } catch (final IOException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 24 01:20:42 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/UserInfoService.java
import org.codelibs.fess.helper.SystemHelper; import jakarta.annotation.Resource; public class UserInfoService { @Resource private UserInfoBhv userInfoBhv; @Resource private SystemHelper systemHelper; public void deleteBefore(final int days) { userInfoBhv.queryDelete(cb -> { cb.query().setUpdatedAt_LessEqual(systemHelper.getCurrentTimeAsLocalDateTime().minusDays(days));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; public class LdapManagerTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); ComponentUtil.register(new SystemHelper(), "systemHelper"); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java
@Resource private SystemHelper systemHelper; @Resource private JobHelper jobHelper; protected Class<? extends LaJob> jobClass = ScriptExecutorJob.class; protected long schedulerTime; @Override public void schedule(final LaCron cron) { schedulerTime = systemHelper.getCurrentTimeAsLong(); scheduledJobService.start(cron);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.8K bytes - Viewed (0)