Class XBEXIconManager

  • All Implemented Interfaces:
    java.io.Serializable, org.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXIcon>, org.exbin.xbup.core.catalog.base.manager.XBCXIconManager, org.exbin.xbup.core.catalog.base.XBCExtension

    @ParametersAreNonnullByDefault
    @Repository
    public class XBEXIconManager
    extends XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCXIcon>
    implements org.exbin.xbup.core.catalog.base.manager.XBCXIconManager, java.io.Serializable
    XBUP catalog icon manager.
    See Also:
    Serialized Form
    • Constructor Detail

      • XBEXIconManager

        public XBEXIconManager()
      • XBEXIconManager

        public XBEXIconManager​(XBECatalog catalog)
    • Method Detail

      • getEntityClass

        @Nonnull
        public java.lang.Class getEntityClass()
        Description copied from class: XBEDefaultManager
        Returns entity class.
        Specified by:
        getEntityClass in class XBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXIcon>
        Returns:
        entity class
      • getAllIconsCount

        public java.lang.Long getAllIconsCount()
      • findById

        public XBEXIcon findById​(java.lang.Long id)
      • initializeExtension

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

        public XBEXIcon getDefaultIcon​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultIcon in interface org.exbin.xbup.core.catalog.base.manager.XBCXIconManager
      • 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.manager.XBCXIconManager
      • getExtensionName

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

        public XBEXIconMode getIconMode​(java.lang.Long modeId)
        Specified by:
        getIconMode in interface org.exbin.xbup.core.catalog.base.manager.XBCXIconManager
      • 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.manager.XBCXIconManager
      • 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.manager.XBCXIconManager
      • 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.manager.XBCXIconManager
      • getDefaultBigIconData

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

        public byte[] getDefaultSmallIconData​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultSmallIconData in interface org.exbin.xbup.core.catalog.base.manager.XBCXIconManager
      • initCatalog

        public boolean initCatalog()
        Specified by:
        initCatalog in interface org.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXIcon>
        Overrides:
        initCatalog in class XBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXIcon>