Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FavoriteLog (0.07 sec)

  1. src/main/java/org/codelibs/fess/es/log/exentity/FavoriteLog.java

    import java.time.format.DateTimeFormatter;
    import java.util.Map;
    
    import org.codelibs.fess.entity.SearchLogEvent;
    import org.codelibs.fess.es.log.bsentity.BsFavoriteLog;
    
    /**
     * @author FreeGen
     */
    public class FavoriteLog extends BsFavoriteLog implements SearchLogEvent {
    
        private static final long serialVersionUID = 1L;
    
        private Map<String, Object> fields;
    
        @Override
        public String getId() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/FavoriteLogDbm.java

        {
            setupEpg(_epgMap, et -> ((FavoriteLog) et).getCreatedAt(),
                    (et, vl) -> ((FavoriteLog) et).setCreatedAt(DfTypeUtil.toLocalDateTime(vl)), "createdAt");
            setupEpg(_epgMap, et -> ((FavoriteLog) et).getDocId(), (et, vl) -> ((FavoriteLog) et).setDocId(DfTypeUtil.toString(vl)), "docId");
            setupEpg(_epgMap, et -> ((FavoriteLog) et).getQueryId(), (et, vl) -> ((FavoriteLog) et).setQueryId(DfTypeUtil.toString(vl)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

        public boolean addUrl(final String userCode, final BiConsumer<UserInfo, FavoriteLog> favoriteLogLambda) {
            return userInfoBhv.selectByPK(userCode).map(userInfo -> {
                final FavoriteLog favoriteLog = new FavoriteLog();
                favoriteLogLambda.accept(userInfo, favoriteLog);
                favoriteLogBhv.insert(favoriteLog);
                if (fessConfig.isLoggingSearchUseLogfile()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/bsbhv/BsFavoriteLogBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends FavoriteLog> typeOfSelectedEntity() {
            return FavoriteLog.class;
        }
    
        @Override
        protected Class<FavoriteLog> typeOfHandlingEntity() {
            return FavoriteLog.class;
        }
    
        @Override
        protected Class<FavoriteLogCB> typeOfHandlingConditionBean() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                            if (!favoriteLogService.addUrl(userCode, (userInfo, favoriteLog) -> {
                                favoriteLog.setUserInfoId(userInfo.getId());
                                favoriteLog.setUrl(favoriteUrl);
                                favoriteLog.setDocId(docId);
                                favoriteLog.setQueryId(queryId);
                                favoriteLog.setCreatedAt(systemHelper.getCurrentTimeAsLocalDateTime());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                bhv.selectCursor(cb -> {
                    cb.query().matchAll();
                    cb.query().addOrderBy_CreatedAt_Asc();
                }, new LogEntityRowHandler<FavoriteLog>() {
                    @Override
                    public void handle(final FavoriteLog entity) {
                        final StringBuilder buf = new StringBuilder();
                        buf.append('{');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

        public void deleteSearchLog(final Object e) {
            if (e instanceof final ClickLog clickLog) {
                clickLogBhv.delete(clickLog);
            } else if (e instanceof final FavoriteLog favoriteLog) {
                favoriteLogBhv.delete(favoriteLog);
            } else if (e instanceof final UserInfo userInfo) {
                userInfoBhv.delete(userInfo);
            } else if (e instanceof final SearchLog searchLog) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top