Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for selectEntity (0.23 sec)

  1. src/main/java/org/codelibs/fess/app/service/UserService.java

            return userBhv.selectByPK(id).map(u -> ComponentUtil.getAuthenticationManager().load(u));
        }
    
        public OptionalEntity<User> getUserByName(final String username) {
            return userBhv.selectEntity(cb -> {
                cb.query().setName_Equal(username);
            });
        }
    
        public void store(final User user) {
            if (StringUtil.isBlank(user.getSurname())) {
                user.setSurname(user.getName());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                                .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
                        ElevateWord elevateWord = elevateWordBhv.selectEntity(cb -> {
                            cb.query().setSuggestWord_Equal(suggestWord);
                            if (permissions.length > 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            throw new UnsupportedOperationException("checkCredential is not supported.");
        }
    
        @Override
        protected OptionalEntity<FessUser> doFindLoginUser(final String username) {
            return userBhv.selectEntity(cb -> {
                cb.query().setName_Equal(username);
            }).map(user -> (FessUser) user);
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfoParam.java

            if (crawlingInfo != null) {
                final CrawlingInfoBhv crawlingInfoBhv = ComponentUtil.getComponent(CrawlingInfoBhv.class);
                crawlingInfo = crawlingInfoBhv.selectEntity(cb -> {
                    cb.query().docMeta().setId_Equal(getCrawlingInfoId());
                });
            }
            return crawlingInfo;
        }
    
        public String getKeyMsg() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

                return null;
            }
    
            final FailureUrlBhv bhv = ComponentUtil.getComponent(FailureUrlBhv.class);
            final FailureUrl failureUrl = bhv.selectEntity(cb -> {
                cb.query().setUrl_Equal(url);
                if (crawlingConfig != null) {
                    cb.query().setConfigId_Equal(crawlingConfig.getConfigId());
                }
            }).map(entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 24 01:20:42 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

            final String token = ComponentUtil.getAccessTokenHelper().getAccessTokenFromRequest(request);
            if (StringUtil.isNotBlank(token)) {
                return accessTokenBhv.selectEntity(cb -> {
                    cb.query().setToken_Term(token);
                }).map(accessToken -> {
                    final Set<String> permissionSet = new HashSet<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. dbflute_fess/_readme.txt

    exentity  : extended entities
    - - - - - - - - - -/
    
    For example, if a table called "MEMBER" exists,
    you can use these classes like this:
    /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    memberBhv.selectEntity(cb -> {
        cb.query().setMemberId_Equal(3);
    }).alwaysPresent(member -> {
        ... = member.getMemberName();
    });
    // memberBhv      : Behavior (instance)
    // MemberCB(cb)   : ConditionBean
    // Member(member) : Entity
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoBhv.java

        public int selectCount(CBCall<CrawlingInfoCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<CrawlingInfo> selectEntity(CBCall<CrawlingInfoCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<CrawlingInfo> facadeSelectEntity(CrawlingInfoCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsElevateWordToLabelBhv.java

        public int selectCount(CBCall<ElevateWordToLabelCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<ElevateWordToLabel> selectEntity(CBCall<ElevateWordToLabelCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<ElevateWordToLabel> facadeSelectEntity(ElevateWordToLabelCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

        public int selectCount(CBCall<JobLogCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
        public OptionalEntity<JobLog> selectEntity(CBCall<JobLogCB> cbLambda) {
            return facadeSelectEntity(createCB(cbLambda));
        }
    
        protected OptionalEntity<JobLog> facadeSelectEntity(JobLogCB cb) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top