Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-82001

Categories in @ExtendedObjectClassDefinition should always have a corresponding class in configuration-admin-web

    Details

      Description

      Example:

      @ExtendedObjectClassDefinition(category = "audit")
      public interface PersistentAuditMessageProcessorConfiguration {
      }
      

      Corresponding class with key = "audit"

      package com.liferay.configuration.admin.web.internal.category;
      
      import com.liferay.configuration.admin.category.ConfigurationCategory;
      
      import org.osgi.service.component.annotations.Component;
      
      @Component
      public class AuditConfigurationCategory implements ConfigurationCategory {
      
      	@Override
      	public String getCategoryIcon() {
      		return _CATEGORY_ICON;
      	}
      
      	@Override
      	public String getCategoryKey() {
      		return _CATEGORY_KEY;
      	}
      
      	@Override
      	public String getCategorySection() {
      		return _CATEGORY_SECTION;
      	}
      
      	private static final String _CATEGORY_ICON = "view";
      
      	private static final String _CATEGORY_KEY = "audit";
      
      	private static final String _CATEGORY_SECTION = "security";
      
      }
      

        Attachments

          Activity

            People

            • Assignee:
              support-qa Support QA
              Reporter:
              hugo.huijser Hugo Huijser
              Recent user:
              Enterprise Release HU
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                7.0.X
                7.1.X
                Master