- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for selectByPK (0.07 sec)
-
ScheduledJobBhv.java
(Pattern.quote("fess_config"), name); L43: } L44: return indexName; L45: } L46: L47: @Override L48: public OptionalEntity<ScheduledJob> selectByPK(final String id) { L49: Exception lastException = null; L50: for (int i = 0; i < 30; i++) { L51: try { L52: return super.selectByPK(id); L53: } catch (final Exception e) { L54: if (logger.isDebugEnabled()) { L55: logger.debug("Failed to select a...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.2K bytes -
SearchLogService.java
equalsIgnoreCase(logType)) { L475: return clickLogBhv.selectByPK(id); L476: } L477: if (SearchLogPager.LOG_TYPE_FAVORITE.equalsIgnoreCase(logType)) { L478: return favoriteLogBhv.selectByPK(id); L479: } L480: if (SearchLogPager.LOG_TYPE_USERINFO.equalsIgnoreCase(logType)) { L481: return userInfoBhv.selectByPK(id); L482: } L483: return searchLogBhv.selectByPK(id); L484: } L485: L486: public Map<String, String> getSearchLogMap(final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 28.4K bytes -
FavoriteLogService.java
FavoriteLogBhv favoriteLogBhv; L43: L44: @Resource L45: protected FessConfig fessConfig; L46: L47: public boolean addUrl(final String userCode, final BiConsumer<UserInfo, FavoriteLog> favoriteLogLambda) { L48: return userInfoBhv.selectByPK(userCode).map(userInfo -> { L49: final FavoriteLog favoriteLog = new FavoriteLog(); L50: favoriteLogLambda.accept(userInfo, favoriteLog); L51: favoriteLogBhv.insert(favoriteLog); L52: if (fessConfig.i...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 2.9K bytes -
RelatedContentService.java
op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger())).createPageNumberList()); L53: L54: return relatedContentList; L55: } L56: L57: public OptionalEntity<RelatedContent> getRelatedContent(final String id) { L58: return relatedContentBhv.selectByPK(id); L59: } L60: L61: public void store(final RelatedContent relatedContent) { L62: L63: relatedContentBhv.insertOrUpdate(relatedContent, op -> op.setRefreshPolicy(Constants.TRUE)); L64: ComponentUtil.getRelatedContentHelper().update();...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.6K bytes -
GroupService.java
op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger()); L58: }).createPageNumberList()); L59: L60: return groupList; L61: } L62: L63: public OptionalEntity<Group> getGroup(final String id) { L64: return groupBhv.selectByPK(id).map(g -> { L65: ComponentUtil.getLdapManager().apply(g); L66: return g; L67: }); L68: } L69: L70: public void store(final Group group) { L71: ComponentUtil.getLdapManager().insert(group); L72: L73: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.6K bytes -
RoleService.java
op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger()); L58: }).createPageNumberList()); L59: L60: return roleList; L61: } L62: L63: public OptionalEntity<Role> getRole(final String id) { L64: return roleBhv.selectByPK(id); L65: } L66: L67: public void store(final Role role) { L68: ComponentUtil.getLdapManager().insert(role); L69: L70: roleBhv.insertOrUpdate(role, op -> { L71: op.setRefreshPolicy(Constants.TRUE); L72: });...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.4K bytes -
FailureUrlService.java
op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger()); L63: }).createPageNumberList()); L64: L65: return failureUrlList; L66: } L67: L68: public OptionalEntity<FailureUrl> getFailureUrl(final String id) { L69: return failureUrlBhv.selectByPK(id); L70: } L71: L72: public void store(final FailureUrl failureUrl) { L73: L74: failureUrlBhv.insertOrUpdate(failureUrl, op -> { L75: op.setRefreshPolicy(Constants.TRUE); L76: }); L77: L78: } L79: L80: public...github.com/codelibs/fess/src/main/java/org/code...Mon Jun 24 01:20:42 UTC 2024 6.3K bytes -
BoostDocumentRuleService.java
ngPageRangeSizeAsInteger())).createPageNumberList()); L52: L53: return boostDocumentRuleList; L54: } L55: L56: public OptionalEntity<BoostDocumentRule> getBoostDocumentRule(final String id) { L57: return boostDocumentRuleBhv.selectByPK(id); L58: } L59: L60: public void store(final BoostDocumentRule boostDocumentRule) { L61: L62: boostDocumentRuleBhv.insertOrUpdate(boostDocumentRule, op -> op.setRefreshPolicy(Constants.TRUE)); L63: L64: } L65: L66: public void...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.3K bytes -
RequestHeaderService.java
ingPageRangeSizeAsInteger()); L51: }).createPageNumberList()); L52: L53: return requestHeaderList; L54: } L55: L56: public OptionalEntity<RequestHeader> getRequestHeader(final String id) { L57: return requestHeaderBhv.selectByPK(id); L58: } L59: L60: public void store(final RequestHeader requestHeader) { L61: L62: requestHeaderBhv.insertOrUpdate(requestHeader, op -> { L63: op.setRefreshPolicy(Constants.TRUE); L64: }); L65: L66: } L67: L68:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.2K bytes -
WebAuthenticationService.java
AsInteger()); L52: }).createPageNumberList()); L53: L54: return webAuthenticationList; L55: } L56: L57: public OptionalEntity<WebAuthentication> getWebAuthentication(final String id) { L58: return webAuthenticationBhv.selectByPK(id); L59: } L60: L61: public void store(final WebAuthentication webAuthentication) { L62: webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters())); L63: webAuthenticationBhv.insertOrUpdate(webAuthentication,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.5K bytes