Class XBEXIconService

  • All Implemented Interfaces:
    java.io.Serializable, org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCXIcon>, org.exbin.xbup.core.catalog.base.service.XBCXIconService, org.exbin.xbup.core.catalog.base.XBCExtension

    @ParametersAreNonnullByDefault
    @Service
    public class XBEXIconService
    extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCXIcon>
    implements org.exbin.xbup.core.catalog.base.service.XBCXIconService, java.io.Serializable
    Interface for XBEXIcon items service.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService

        itemManager
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.exbin.xbup.core.catalog.base.XBCXIcon getDefaultBigIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      byte[] getDefaultBigIconData​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      XBEXIcon getDefaultIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      javax.swing.ImageIcon getDefaultImageIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      org.exbin.xbup.core.catalog.base.XBCXIcon getDefaultSmallIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      byte[] getDefaultSmallIconData​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      java.lang.String getExtensionName()  
      XBEXIconMode getIconMode​(java.lang.Long modeId)  
      java.util.List<org.exbin.xbup.core.catalog.base.XBCXIcon> getItemIcons​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      void init()  
      void initializeExtension()  
      • Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService

        createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.service.XBCService

        createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
    • Constructor Detail

      • XBEXIconService

        public XBEXIconService()
      • XBEXIconService

        public XBEXIconService​(XBECatalog catalog)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getItemIcons

        @Nonnull
        public java.util.List<org.exbin.xbup.core.catalog.base.XBCXIcon> getItemIcons​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getItemIcons in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService
      • getDefaultIcon

        public XBEXIcon getDefaultIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultIcon in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService
      • getDefaultImageIcon

        public javax.swing.ImageIcon getDefaultImageIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultImageIcon in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService
      • getIconMode

        public XBEXIconMode getIconMode​(java.lang.Long modeId)
        Specified by:
        getIconMode in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService
      • getExtensionName

        public java.lang.String getExtensionName()
        Specified by:
        getExtensionName in interface org.exbin.xbup.core.catalog.base.XBCExtension
      • initializeExtension

        public void initializeExtension()
        Specified by:
        initializeExtension in interface org.exbin.xbup.core.catalog.base.XBCExtension
      • getDefaultBigIcon

        public org.exbin.xbup.core.catalog.base.XBCXIcon getDefaultBigIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultBigIcon in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService
      • getDefaultSmallIcon

        public org.exbin.xbup.core.catalog.base.XBCXIcon getDefaultSmallIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultSmallIcon in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService
      • getDefaultBigIconData

        public byte[] getDefaultBigIconData​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultBigIconData in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService
      • getDefaultSmallIconData

        public byte[] getDefaultSmallIconData​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultSmallIconData in interface org.exbin.xbup.core.catalog.base.service.XBCXIconService