Class ApplicationCategoryPlugin

java.lang.Object
io.meeds.appcenter.plugin.ApplicationCategoryPlugin
All Implemented Interfaces:
io.meeds.social.category.plugin.CategoryPlugin

@Service public class ApplicationCategoryPlugin extends Object implements io.meeds.social.category.plugin.CategoryPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canAccess(String applicationId, String username)
     
    boolean
    canEdit(String applicationId, String username)
    An administrator links any application to a category, and whoever manages the applications of a Shortcuts portlet window links those it created.
     
     
    void
    Registers this plugin, without which every category read of applications falls back to the default plugin

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.meeds.social.category.plugin.CategoryPlugin

    getCategoryIds, getCategoryIds, getEntryItem, getObject
  • Field Details

  • Constructor Details

    • ApplicationCategoryPlugin

      public ApplicationCategoryPlugin()
  • Method Details

    • init

      @PostConstruct public void init()
      Registers this plugin, without which every category read of applications falls back to the default plugin
    • getType

      public String getType()
      Specified by:
      getType in interface io.meeds.social.category.plugin.CategoryPlugin
    • canAccess

      public boolean canAccess(String applicationId, String username)
      Specified by:
      canAccess in interface io.meeds.social.category.plugin.CategoryPlugin
    • canEdit

      public boolean canEdit(String applicationId, String username)
      An administrator links any application to a category, and whoever manages the applications of a Shortcuts portlet window links those it created.
      Specified by:
      canEdit in interface io.meeds.social.category.plugin.CategoryPlugin
    • getCategoryIds

      public List<Long> getCategoryIds()
      Specified by:
      getCategoryIds in interface io.meeds.social.category.plugin.CategoryPlugin