Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for LabelType (0.06 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/LabelType.java

    import java.util.Locale;
    
    import org.codelibs.fess.es.config.bsentity.BsLabelType;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class LabelType extends BsLabelType {
    
        private static final long serialVersionUID = 1L;
        private Locale locale;
    
        public String getId() {
            return asDocMeta().id();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/LabelTypeDbm.java

            setupEpg(_epgMap, et -> ((LabelType) et).getIncludedPaths(), (et, vl) -> ((LabelType) et).setIncludedPaths(DfTypeUtil.toString(vl)),
                    "includedPaths");
            setupEpg(_epgMap, et -> ((LabelType) et).getName(), (et, vl) -> ((LabelType) et).setName(DfTypeUtil.toString(vl)), "name");
            setupEpg(_epgMap, et -> ((LabelType) et).getPermissions(), (et, vl) -> ((LabelType) et).setPermissions((String[]) vl),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

            });
    
            return asJson(new ApiUpdateResponse().id(labelType.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/labeltype/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final LabelType labelType = getLabelType(body).map(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
            }).createPageNumberList());
    
            return labelTypeList;
        }
    
        public void delete(final LabelType labelType) {
    
            labelTypeBhv.delete(labelType, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
            if (labelTypeHelper != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

        protected void buildLabelTypeItems(final List<LabelType> labelTypeList) {
            final List<LabelTypeItem> itemList = new ArrayList<>();
            for (final LabelType labelType : labelTypeList) {
                final LabelTypeItem item = new LabelTypeItem();
                item.setLabel(labelType.getName());
                item.setValue(labelType.getValue());
                item.setPermissions(labelType.getPermissions());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsbhv/BsLabelTypeBhv.java

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

                labelType = new LabelType();
                labelType.setName(name);
                labelType.setValue(name);
                labelType.setPermissions(new String[] { "Rguest" });
                labelType.setCreatedBy(Constants.SYSTEM_USER);
                labelType.setCreatedTime(now);
                labelType.setUpdatedBy(Constants.SYSTEM_USER);
                labelType.setUpdatedTime(now);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/EditBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.labeltype;
    
    import org.codelibs.fess.app.web.admin.labeltype.EditForm;
    
    public class EditBody extends EditForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 781 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

        //                                                                        ============
    
        public static OptionalEntity<LabelType> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new LabelType()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/CreateBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.labeltype;
    
    import org.codelibs.fess.app.web.admin.labeltype.CreateForm;
    
    public class CreateBody extends CreateForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 787 bytes
    - Viewed (0)
Back to top