- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for Label (0.02 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
import jakarta.annotation.Resource; /** * Admin action for Label Type management. * */ public class AdminLabeltypeAction extends FessAdminAction { /** * Default constructor. */ public AdminLabeltypeAction() { super(); } /** The role name for label type administration. */ public static final String ROLE = "admin-labeltype";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
/** * Default constructor. */ public FessSearchAction() { super(); } /** The field name used for label-based search filtering. */ protected static final String LABEL_FIELD = "label"; /** Helper for performing search operations and managing search requests. */ @Resource protected SearchHelper searchHelper;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
indexUpdateCallback.store(paramMap, dataMap); // Verify labels are merged String[] labels = (String[]) dataMap.get("label"); assertEquals(3, labels.length); Set<String> labelSet = new HashSet<>(); for (String label : labels) { labelSet.add(label); } assertTrue(labelSet.contains("existing")); assertTrue(labelSet.contains("label1"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
} } assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount); assertTrue("Should have many label constants", labelConstantCount > 100); } /** * Test that label constant values match their field names */ public void test_labelConstantValueMatchesName() throws Exception { Field[] fields = FessLabels.class.getDeclaredFields();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
}).orElse(false); } /** * Retrieves the localized label value for the given key from the current request's label map. * * @param value the label key to retrieve * @return the localized label value, or the key itself if not found */ public static String label(final String value) { return LaRequestUtil.getOptionalRequest().map(req -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java
.status(ApiResult.Status.OK) .result()); } /** * Retrieves a specific label type setting by ID. * * @param id the ID of the label type setting to retrieve * @return JSON response containing the label type setting */ // GET /api/admin/labeltype/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
}); } /** * Creates a label/value map item for dropdowns or list displays. * * @param label the display label for the item * @param value the value associated with the item * @return a map containing the label and value entries */ protected Map<String, String> createItem(final String label, final String value) { final Map<String, String> map = new HashMap<>(2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
assertNotNull(result); // The mock returns a fixed count of 3 assertTrue(result.contains("docs")); } // Test with empty label set public void test_execute_withEmptyLabelSet() { // Override mock to return empty label set LabelTypeHelper emptyLabelHelper = new LabelTypeHelper() { @Override public Set<String> getMatchedLabelValueSet(String url) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return OptionalUtil.ofNullable(fileConfig); } /** * Gets all label types (collections) parsed from the GSA configuration. * Each label type represents a collection with its own URL filtering rules. * * @return an array of label types representing the parsed collections */ public LabelType[] getLabelTypes() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.6K bytes - Viewed (0)