- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 101 for SystemHelper (0.11 sec)
-
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/helper/PermissionHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.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/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
} public static OptionalEntity<DataConfig> getDataConfig(final CreateForm form) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final String username = systemHelper.getUsername(); final long currentTime = systemHelper.getCurrentTimeAsLong(); return getEntity(form, username, currentTime).map(entity -> { entity.setUpdatedBy(username);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 17.5K 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) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
final UserInfoService userInfoService = ComponentUtil.getComponent(UserInfoService.class); final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); final StringBuilder resultBuf = new StringBuilder(); // purge crawling sessions try { crawlingInfoService.deleteBefore(systemHelper.getCurrentTimeAsLong()); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
@Override public void setUp() throws Exception { super.setUp(); ComponentUtil.register(new SystemHelper(), "systemHelper"); } public void test_parse() throws IOException { GsaConfigParser parser = new GsaConfigParser(); try (InputStream is = ResourceUtil.getResourceAsStream("data/gsaconfig.xml")) { parser.parse(new InputSource(is)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0)