Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for GetID (0.06 sec)

  1. ProtwordsFile.java

    write a userDict file.", e); L218: } L219: item = newItem; L220: } L221: L222: public ProtwordsItem write(final ProtwordsItem oldItem) { L223: try { L224: if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) { L225: writer.write(oldItem.toLineString()); L226: writer.write(Constants.LINE_SEPARATOR); L227: return oldItem; L228: } L229: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      9.6K bytes
  2. StopwordsFile.java

    write a userDict file.", e); L218: } L219: item = newItem; L220: } L221: L222: public StopwordsItem write(final StopwordsItem oldItem) { L223: try { L224: if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) { L225: writer.write(oldItem.toLineString()); L226: writer.write(Constants.LINE_SEPARATOR); L227: return oldItem; L228: } L229: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      9.6K bytes
  3. ApiAdminDictProtwordsAction.java

    messages.addErrorsCrudFailedToCreateInstance(GLOBAL)); L81: return null; L82: }); L83: protwordsService.store(body.dictId, entity); L84: return asJson( L85: new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result()); L86: } L87: L88: // POST /api/admin/dict/protwords/setting/{dictId} L89: @Execute L90: public JsonResponse<ApiResult> post$setting(final String dictId, final EditBody body) { L91:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      7.2K bytes
  4. ApiAdminDictKuromojiAction.java

    messages.addErrorsCrudFailedToCreateInstance(GLOBAL)); L81: return null; L82: }); L83: kuromojiService.store(body.dictId, entity); L84: return asJson( L85: new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result()); L86: } L87: L88: // POST /api/admin/dict/kuromoji/setting/{dictId} L89: @Execute L90: public JsonResponse<ApiResult> post$setting(final String dictId, final EditBody body) { L91:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      7.3K bytes
  5. GroupService.java

    groupBhv.delete(group, op -> { L83: op.setRefreshPolicy(Constants.TRUE); L84: }); L85: L86: userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> { L87: entity.setGroups( L88: stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n]))); L89: userBhv.insertOrUpdate(entity); L90: }); L91: L92: } L93: L94: protected void setupListCondition(final GroupCB...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      3.6K bytes
  6. RoleService.java

    roleBhv.delete(role, op -> { L80: op.setRefreshPolicy(Constants.TRUE); L81: }); L82: L83: userBhv.selectCursor(cb -> cb.query().setRoles_Equal(role.getId()), entity -> { L84: entity.setRoles( L85: stream(entity.getRoles()).get(stream -> stream.filter(s -> !s.equals(role.getId())).toArray(n -> new String[n]))); L86: userBhv.insertOrUpdate(entity); L87: }); L88: } L89: L90: protected void setupListCondition(final RoleCB cb,...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      3.4K bytes
  7. UserInfo.java

    @author FreeGen L29: */ L30:public class UserInfo extends BsUserInfo implements SearchLogEvent { L31: L32: private static final long serialVersionUID = 1L; L33: L34: private Map<String, Object> fields; L35: L36: @Override L37: public String getId() { L38: return asDocMeta().id(); L39: } L40: L41: public void setId(final String id) { L42: asDocMeta().id(id); L43: } L44: L45: @Override L46: public Long getVersionNo() { L47: return asDocMeta().version(); L48:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.6K bytes
  8. ApiAdminUserAction.java

    logger.warn("Failed to process a request.", e); L81: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); L82: } L83: return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(true).status(ApiResult.Status.OK).result()); L84: } L85: L86: // POST /api/admin/user/setting L87: @Execute L88: public JsonResponse<ApiResult> post$setting(final EditBody body) { L89: validateApi(body, messages -> {});...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      5.8K bytes
  9. SynonymItemTest.java

    L20:public class SynonymItemTest extends UnitFessTestCase { L21: L22: public void test_new1() { L23: final SynonymItem synonymItem = new SynonymItem(1, new String[] { "a", "A" }, new String[] { "b", "B" }); L24: assertEquals(1, synonymItem.getId()); L25: assertEquals(2, synonymItem.getInputs().length); L26: assertEquals("a", synonymItem.getInputs()[0]); L27: assertEquals("A", synonymItem.getInputs()[1]); L28: assertEquals(2, synonymItem.getOutputs().length); L29:...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      5K bytes
  10. ElevateWord.java

    elevateWordToLabelBhv = ComponentUtil.getComponent(ElevateWordToLabelBhv.class); L62: final ListResultBean<ElevateWordToLabel> mappingList = elevateWordToLabelBhv.selectList(cb -> { L63: cb.query().setElevateWordId_Equal(getId()); L64: cb.specify().columnLabelTypeId(); L65: cb.paging(fessConfig.getPageLabeltypeMaxFetchSizeAsInteger(), 1); L66: }); L67: final List<String> labelIdList = new...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      4.3K bytes
Back to top